用户工具

站点工具


jaysnote:ubuntu_first_run

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

jaysnote:ubuntu_first_run [2020/02/07 20:33]
lijie
jaysnote:ubuntu_first_run [2021/06/22 23:14]
行 1: 行 1:
-<markdown> 
  
-# ubuntu first install 
- 
-* http://mirrors.aliyun.com/ubuntu/ 
-* https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/ 
- 
-## vmware 
- 
-*  vmware15.02 key 
- 
-    ```bash 
-    ZC10K-8EF57-084QZ-VXYXE-ZF2XF 
-    UF71K-2TW5J-M88QZ-8WMNT-WKUY4 
-    AZ7MK-44Y1J-H819Z-WMYNC-N7ATF 
-    CU702-DRD1M-H89GP-JFW5E-YL8X6 
-    YY5EA-00XDJ-480RP-35QQV-XY8F6 
-    VA510-23F57-M85PY-7FN7C-MCRG0 
-    ``` 
- 
-* 设置使能网络 
- 
-## install 
- 
-* 直接通过ultraiso刻录镜像,并且烧写引导文件; 
- 
-    启动->写入硬盘文件 
- 
-    便捷启动->写入新的驱动器引导扇区->Syslinux 
- 
-* 可能需要更改bios(t470p) 
- 
-    boot->禁止使能 boot order 
- 
-* [选择关闭盖子功能](https://imcn.me/html/y2018/33145.html) 
- 
-    ```bash 
-    sudo vi /etc/systemd/logind.conf  
-    #HandleLidSwitch=poweroff, 关闭盖子时关闭电源。 
-    #HandleLidSwitch=hibernate, 关闭lid时需要休眠(需要测试hibernate是否工作)。 
-    HandleLidSwitch=ignore, 什么都不做。 
-    #HandleLidSwitch=suspend,当盖子关闭时暂停笔记本电脑。 
-    systemctl restart systemd-logind.service 
-    ``` 
- 
-* secure boot 
- 
-  如果启用了该功能,modprobe  ko 可能会失败。 
- 
-  http://3ctipsmemo.blogspot.com/2018/06/ubuntu-linux-secure-boot.html 
- 
-  https://open-cells.com/index.php/2017/06/08/kernel-module-uefi-secure-boot/ 
- 
-## init 
- 
-* 修改source 阿里云源 
- 
-    ```bash 
-    #modify for aliyun support 
-    # 18.04 LTS 
-    deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse 
-    deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse 
-    deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse 
-    deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse 
-    deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse 
-    deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse 
-    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse 
-    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse 
-    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse 
-    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse 
-    ``` 
- 
-* 安装ssh、ifconfig、vim、tree、htop 
- 
-    ```bash 
-    sudo apt-get -y install ssh net-tools vim tree htop 
-    ``` 
- 
-* bashrc 
- 
-    [bashrc notes](http://docs.leconiot.com/doku.php?id=jaysnote:bashrc) 
-     
-* ss 
- 
-    ```bash 
-    sudo apt-get install libsodium23 
-    sudo apt-get install libsodium-dev 
-     
-    sudo apt-get install software-properties-common -y 
-    sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y 
-    sudo apt-get update 
-    sudo apt install shadowsocks-libev 
-    sudo cp /lib/systemd/system/shadowsocks-libev-local@.service /lib/systemd/system/shadowsocks-libev-local.service 
-     
-    #local 
-    sudo systemctl enable shadowsocks-libev-local.service 
-    sudo systemctl start shadowsocks-libev-local.service 
-    #edit  
-    #cat /etc/shadowsocks-libev/config.json   
-     
-    systemctl status shadowsocks-libev-local.service 
-     
-    #server 
-    sudo systemctl enable shadowsocks-libev.service 
-    sudo systemctl start shadowsocks-libev.service 
-    ``` 
- 
-* timezon 
- 
-    ```bash 
-    date -R 
-    tzselect 
-    #Asia->China->Beijing 
-    cp /usr/share/zoneinfo/Asia/Shanghai  /etc/localtime 
-    ``` 
- 
-* sogou 
- 
-  https://blog.csdn.net/lupengCSDN/article/details/80279177 
- 
-</markdown> 
jaysnote/ubuntu_first_run.txt · 最后更改: 2021/06/22 23:14 (外部编辑)