[CENTOS] 新装机器需要的安装包

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

 

转载于:https://my.oschina.net/activehealth/blog/720786

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值