日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢(xún)
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
CentOS服務(wù)器部署流程

我所有的服務(wù)器基本都是最小化安裝,版本為centos 6.x  64位系列。

 1、配置內(nèi)網(wǎng)IP    (如果是外網(wǎng)IP,linux要修改遠(yuǎn)程端口)

 2、配置自己的yum源     

1 2 3 4 yum  install  wget rm  -f  /etc/yum .repos.d /CentOS-Base .repo wget http: //mirrors .163.com/.help /CentOS6-Base-163 .repo -O  /etc/yum .repo.d/ wget -P  /etc/yum .repos.d/ http: //mirrors .aliyun.com /repo/epel-6 .repo

 或者

1 2 curl http: //mirrors .163.com/.help /CentOS6-Base-163 .repo > /etc/yum .repos.d /comratings .repo curl http: //mirrors .aliyun.com /repo/epel-6 .repo >  /etc/yum .repos.d /epel-6 .repo

 3、關(guān)閉SELinux      

1 2 sed  -i  's#SELINUX=enforcing#SELINUX=disabled#g'  /etc/selinux/config setenforce 0

 4、添加zabbix監(jiān)控

 5、配置防火墻

 

1 2 3 service iptables stop iptables -L service iptables save

 6、安裝軟件包 

1 yum  install  -y vim openssh-clients ntpdate  man  lrzsz

 

 7、配置定時(shí)任務(wù)

1 echo  "10 6 * * * root (/usr/sbin/ntpdate time.nist.gov && /sbin/hwclock -w) &> /dev/null"  >>  /etc/crontab

 8、配置主機(jī)名

 9、修改文件句柄數(shù)  

1 2 3 4 5 6 #臨時(shí)修改,立刻生效 ulimit  -n 65535             #永久修改 echo  "* soft nofile 65536"  >>  /etc/security/limits .conf echo  "* hard nofile 65536"  >>  /etc/security/limits .conf

 10、可以禁用ipv6    

1 2 3 4 cat  >>  /etc/modprobe .d /ipv6 .conf < alias  net-pf-10 off alias  ipv6 off EOF

網(wǎng)頁(yè)題目:CentOS服務(wù)器部署流程
本文網(wǎng)址:http://m.5511xx.com/article/cdipegi.html