Ubuntu:APT-GET,国内源及其配置
在Ubuntu里面,配置软件包管理的方法和CentOS不一样,是通过【APT】实现的;
具体的配置文件位于:【/etc/apt/sources.list】
众所周知,默认的系统源指向的是国外的软件包服务器,当然是很慢的;
所以,为了提速,你需要将默认的软件包的源改成国内的源;
国内的[……]
Adamhuan's Data Center - 【逻辑驱动数据】
数据玩物、代码屋、1/0游戏:(零和博弈)/ 禅宗意志 / 规则战争 / 解放数据力量 / 技术的飞速发展并没有改变这个世界,因为,这个世界从没有变,它只是越来越趋近于它本来的模样。
在Ubuntu里面,配置软件包管理的方法和CentOS不一样,是通过【APT】实现的;
具体的配置文件位于:【/etc/apt/sources.list】
众所周知,默认的系统源指向的是国外的软件包服务器,当然是很慢的;
所以,为了提速,你需要将默认的软件包的源改成国内的源;
国内的[……]
具体方法如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
root@AdamhuanUbuntu:~# hostname AdamhuanUbuntu root@AdamhuanUbuntu:~# root@AdamhuanUbuntu:~# uname -a Linux AdamhuanUbuntu 5.4.0-9-generic #12-Ubuntu SMP Mon Dec 16 22:34:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux root@AdamhuanUbuntu:~# root@AdamhuanUbuntu:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Focal Fossa (development branch) Release: 20.04 Codename: focal root@AdamhuanUbuntu:~# |
[……]
Ubuntu Daily可以获取到Server版本的非Live的ISO:
http://cdimage.ubuntu.com/ubuntu-server/daily/current/
[……]
URL:https://www.nomachine.com/download/download&id=7
上传服务器,并安装:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
root@trystack-VirtualBox:~# mkdir /software root@trystack-VirtualBox:~# cd /software root@trystack-VirtualBox:/software# ls root@trystack-VirtualBox:/software# ls -ltr total 42360 -rw-r--r-- 1 root root 43373694 8月 16 13:20 nomachine_5.3.10_6_amd64.deb root@trystack-VirtualBox:/software# root@trystack-VirtualBox:/software# root@trystack-VirtualBox:/software# dpkg -i nomachine_5.3.10_6_amd64.deb Selecting previously unselected package nomachine. (Reading database ... 181798 files and directories currently installed.) Preparing to unpack nomachine_5.3.10_6_amd64.deb ... Unpacking nomachine (5.3.10-6) ... Setting up nomachine (5.3.10-6) ... NX> 700 Starting install at: 三 8月 16 13:22:19 2017. NX> 700 Installing: nxclient version: 5.3.10. NX> 700 Using installation profile: Ubuntu. NX> 700 Install log is: /usr/NX/var/log/nxinstall.log. NX> 700 Compiling the USB module. NX> 700 Installing: nxplayer version: 5.3.10. NX> 700 Using installation profile: Ubuntu. NX> 700 Install log is: /usr/NX/var/log/nxinstall.log. NX> 700 To connect the remote printer to the local desktop, NX> 700 the user account must be a member of the CUPS System Group: lpadmin. NX> 700 Installing: nxnode version: 5.3.10. NX> 700 Using installation profile: Ubuntu. NX> 700 Install log is: /usr/NX/var/log/nxinstall.log. NX> 700 Creating configuration in: /usr/NX/etc/node.cfg. NX> 700 Installing: nxserver version: 5.3.10. NX> 700 Using installation profile: Ubuntu. NX> 700 Install log is: /usr/NX/var/log/nxinstall.log. NX> 700 Creating configuration in: /usr/NX/etc/server.cfg. NX> 700 Install completed at: 三 8月 16 13:22:54 2017. NX> 700 NoMachine was configured to run the following services: NX> 700 NX service on port: 4000 root@trystack-VirtualBox:/software# |
安装完成后,会自动启动服务:
[crayon-63d55ce77a9bf80532672[……]