1. yum groupinstall Fonds * -y
2. yum install wxGTK* –y
3. yum install showmount * -y
4. yum install vnc-server -y
5. yum install dhcp* -y
6. yum install tftp* -y
7. yum install openssh-clients -y
8. yum install firefox –y
9. yum install gvim -y
10. yum install wireshark* -y
11. yum install mercurial-2.2* -y
安装VNC server:
#yum install tigervnc tigervnc-server -y
#vncserver
关闭防火墙:
#service iptables stop
#service ip6tables stop
如何新建DPOE repo mercurial 环境:
1. 安装mercurail
#yum install mercurail
2. copy .ssh(有已经认证的id_rsa.pub和id_rsa文件,是一对公钥和私钥)到指定目录
2.1 如果是qihz用户, copy到/home/qihz/.ssh
2.2 如果是root用户,copy到/root/.ssh
3. hg clone
cd /repo/your_account
hg clone ssh://remoteuser@135.249.31.114//repo/isamtestserver/atc
hg clone ssh://remoteuser@135.249.31.114//repo/isamtestserver/robot
hg clone ssh://remoteuser@135.249.31.114//repo/TEST_PACKAGES
更新来自于82的最新的changeset。
hg pull ssh://atxuser@135.252.240.82//repo/atxuser/robot
hg pull ssh://root@135.251.200.171//repo/root/robot
hg pull ssh://root@135.249.31.114//repo/root/atc
配置tftp:
# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /home/qihz/image -c
disable = no
per_source = 11
cps = 100 2
flags = IPv6
}
#service xinetd restart
#chmod 777 /home/qihz/image/
关闭selinux:
'tftp 135.251.200.171 -c put isc_dhcp.tar'
return: Transfer timed out.
root@ATCDPOE4 auto]# vi /etc/selinux/config (SELINUX=disabled)
[root@ATCDPOE4 auto]#
[root@ATCDPOE4 auto]#
[root@ATCDPOE4 auto]# /usr/sbin/setenforce 0