您查看的文章来源于http://www.oklinux.cn
4,取得ROOT权限
重启后你可以用之前创建的用户名登录,因为本手册中每步我们都必须用root权限,我们可以使用sudo前置每个命令,或者现在就变成root:
sudo su
(你也以启动root登录)
sudo passwd root
给定root密码,但这不是推荐做法原因可以看这里: http://Ubuntuforums.org/showthread.php?t=765414
5,安装SSH Server (可选)
如果你在系统安装里没有安装,你现在可以:
aptitude install ssh openssh-server
现在你可以用SSH客户端比如PUTTY从你的工作站上继续安装进程
6,安装 vim-nox(可选)
我将使用vi作为编辑器,DEBIAN和Ubuntu上默认的vi有些古怪的行为,所以我安装vim-nox
aptitude install vim-nox
(你不一定要做这一步,如果你有另一个文本编辑器,比如joe或者nano)
7,设置网络
因为Ubuntu安装器已经通过DHCP服务器设置了网络,所以你必须改变它,因为一个服务器应该有一个静态的网络设置。编辑 /etc/network/interfaces 然后把它设置成你需要的地址(本例中我将使用192.168.0.100作为IP地址)
vi /etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo iface lo inet loopback
# The primary network interface auto eth0 iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1
共15页: 上一页 [1] [2] [3] 4 [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] 下一页 |