- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
centos 5.5搭建php环境安装笔记(Hundreds 5.5搭建php环境安装笔记)
centos 5.5搭建php环境安装笔记(Hundreds 5.5搭建php环境安装笔记)
1 、 installation system
With minimal installation, no additional components are installed except for the VI editor and Chinese support.
PS: partition scheme ~ ~!
Root partition 5000MB
/boot generally divides 100MB into mandatory primary partitions
/swap is typically 2 times more physical memory
/home user directory 50000MB
/usr program directory, allocation of residual space
/var generally divides 20000MB
/tmp generally divides 1000MB
2, set the static IP and DNS
VI /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR= MAC address, this is generally recognized, do not change
IPADDR= IP address
NETMASK= subnet mask
GATEWAY= gateway
Restart network configuration
Service network restart
VI /etc/resolv.conf
Nameserver first DNS
Nameserver standby DNS
Restart network configuration
Service network restart
B. modifies the name inside the /etc/hosts
# VI /etc/hosts
localhost.localdomain localhost
21 yourname / / in this modified hostname
Sometimes only a / /
yourname localhost.localdomain localhost
4, install wget/ntsysv/patch/make
Yum install WGet
Yum install ntsysv
Yum install patch
Yum install make
5, turn off unnecessary services
# ntsysv
The following list only services that need to be started, and services that are not listed are recommended to be closed:
ATD
Crond
Irqbalance
Microcode_ctl
Network
Sendmail
Sshd
Syslog
Close SElinux: modify the SELINUX= in the /etc/selinux/config file as disabled
6, change Yum domestic source
# CD /etc/yum.repos.d
# MV CentOS-Base.repo CentOS-Base.repo.save
# WGet /CentOS-Base.repo.5
# MV CentOS-Base.repo.5 CentOS-Base.repo
# Yum clean all
7, server time check and settings
#date (check the time is correct, whether it is China time CST)
#cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime (if the time zone is wrong, then execute, time normal skip)
#yum install NTP (install NTP time tool)
#ntpdate
#chkconfig ntpd on (let the service start on time)
#clock -w # t
您可能关注的文档
- 2010会计从业资格考试冲刺复习资料(2010, accounting qualification exam sprint review information).doc
- 2010学年第一学期温州八校期末联考历史试卷(2010 year first semester final exam papers of history of eight schools in Wenzhou).doc
- 2010十大实用汽车营销案例(20 thousand and 100 practical automobile marketing cases).doc
- 2010届高三数学专题(理科b)(The 2010 high school mathematics program (Science B)).doc
- 2010山东省考必考时政常识(2010 Shandong province compulsory examination of political common sense).doc
- 2010年10月山西煤价(Shanxi coal prices in October 2010).doc
- 2010年5月北京学位英语考试真题解析(May 2010 Beijing degree English exam analysis).doc
- 2010年4月份资产评估试卷及答案(Assets assessment papers and answers in 2010 April).doc
- 2010年三会一课、党日活动安排表(In 2010 three class, the schedule for the day).doc
- 2010年6月大学生党课培训班思想汇报5篇(June 2010 college students training lectures thought report 5).doc
- c++语言计算精度的问题(The problem of computational accuracy in c++ language).doc
- centos6.2搭建lamp(Centos6.2搭建lamp).doc
- ceo的宝马良驹(CEO BMW horse).doc
- cg-2209.81-mx点火及运行分析(Cg-2209.81-mx ignition and operation analysis).doc
- checkbox选中算法(Checkbox selection algorithm).doc
- cisco路由器配置-桥接dlsw+与桌面协议目录(Cisco router configuration - bridging dlsw+ and desktop protocol directories).doc
- cis应用(CIS applications).doc
- class.forname()介绍(Class.forname () Introduction).doc
- cail(考尔).doc
- cmd下导入mysql数据(Importing MySQL data under CMD).doc
最近下载
- 信息化建设与智能实训平台搭建方案.docx
- 2024-2025年度下期期末凉山州中等职业学校教学质量监测高二语文真题解析.pptx
- 知识地图:查理·芒格的100个思维模型.pdf VIP
- 新能源仿真建模及模型验证-20231007(1).pdf VIP
- 颈肩腰腿疼解析.ppt VIP
- 2024年NX省生态环境监测专业技术人员大比武模拟试卷及答案-3应急监测.pdf VIP
- 311_华为员工贷款管理规定.pdf VIP
- 2023医疗机构信息系统等级保护定级工作指南.docx VIP
- 2017年国考行测真题及答案解析(省级与地市级合卷) .pdf VIP
- GB50991-2014 埋地钢质管道直流干扰防护技术标准.pdf VIP
文档评论(0)