Linux服务器系统常用服务器配置手册
一、综述
此手册主要通过大家日常实际维护过程中整理补充,为了规范配置要求,提高大家效率,手册主要内容为Linux系统中的各种服务安装以及常用配置,相关服务以及更多的配置说明可以以提供WEB连接或者附属文档的形式提现。
二、系统约定
为便于大家沟通协作,对日常维护中的系统操作进行规范要求:
软件源码包放置位置:/opt/software
源码包编译安装位置:/usr/local/software_name
脚本以及维护程序存放位置:/usr/local/sbin
MYSQL 安装路径:/usr/local/mysql
Apache 虚拟主机根目录:/home/httpd/html/ 可根据实际情况
三、系统环境部署及调整
3.1.检查系统是否正常
#more /var/log/messages (检查无系统级错误信息)
#dmesg (检查硬件设备是否有错误信息)
# ifconfig (检查内外网卡设置是否正常)
# vi /etc/resolv.conf (检查DNS是否设置正确)
3.2.关闭不需要服务
atd
crond
irqbalance
network
sshd
syslog
sysstat
3.3.配置sshd服务
#vi /etc/ssh/sshd_config
修改#Protocol 2,1 为Protocol 2 (禁用 SSH V1 协议)
修改#UseDNS YES 为UseDNS no
3.4.修改主机名
#hostname 主机名
# vi /etc/hosts #添加主机名
127.0.0.1 localhost.localdomain localhost 主机名
# vi /etc/sysconfig/network #修改主机名
HOSTNAME=主机名
重启服务器
更新了linux.doc文档,增加了memcache的安装
THANK YOU VERY MUCH FOR YOUR ENCOURAGING WORDS ,FULL OF INSPIRATION
Well written!
I love this humour…:)
….interesting….
I have a personal passion for writing and spend a vast amount of time as an avid reader of other people’s work.
Ahhhhh! a very smart Heart!
The presentation is so unusual. I like that
these words made me stronger. i really loves this a lot!
Just wish to thank you for all the lights that you put on my path via your quotes, your themes, your issues, your works.
Bless:) Happy day!!
Ahhhhh! a very smart Heart!
HeHe, Love it! Thanks.
I was wondering the same thing.
All the very best