1 如何手动修改时区?
tzconfig
2 在Debian中设置启动服务
在/etc/init.d/bootmisc.sh的末尾,添加你要启动服务。
例如:
: exit 0
/usr/local/ssh3291/sbin/sshd2
/usr/local/mysql-4.1.12/share/mysql/mysql.server start
/usr/local/apache-1.3.33/bin/apachectl start
3 如何给同一块网卡绑定多个IP地址
vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.25
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
auto eth0:0
iface eth0:0 inet static
address 192.168.0.26
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
tzconfig
2 在Debian中设置启动服务
在/etc/init.d/bootmisc.sh的末尾,添加你要启动服务。
例如:
: exit 0
/usr/local/ssh3291/sbin/sshd2
/usr/local/mysql-4.1.12/share/mysql/mysql.server start
/usr/local/apache-1.3.33/bin/apachectl start
3 如何给同一块网卡绑定多个IP地址
vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.25
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
auto eth0:0
iface eth0:0 inet static
address 192.168.0.26
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1