Set up & Configurate& 4000 nbsp;Server -cen…
2015-04-17 20:04
232 查看
1.First : can’t fine vim
You can use vi or install vim
2.See what have bee installed
a.rqm –qa >>
tt.txt
b.tt.txt shows the software and service that you
server has been installed
c.after you see the tt.txt ,you will decide what
software and service you need ,then install them
3.The purpose of looking tt.txt
a. Whether the server has been
install something you want
if not, you
prepare the source file and install them yourself
b. Whether the version of the
software or service is correct for you
if not,
uninstall them ,and install them yourself
4.The installation of apache
a../configure --prefix=/usr/local/apache2
--enable-so --enable-proxy --enable-openssl -enable-vhost-alias
--enable-mods-shared=most --enable-dav
--enable-maintainer-mode-with-mpm=worker
b.make
c.make install
5.Start apache
The Solution of this error:
a.stop
apache
b.cd
apache’s conf directory
c.modify the
http.conf
d.remove
the “#” before ServerName
e.restart
apache
6.The installation of BerkeyDB
a.cd db-4.8.XX/build_unix
b. ../dist/configure
–prefix=/usr/local/bdb
c.make
d.make install
e. vim /etc/ld.so.conf加入一行:/usr/local/bdb/lib
,並保存
f.ldconfig
7.The installation of openldap
a.cd openldap.XX
b../configure –prefix=/usr/local/openldap
–with-bdb
c.make
d.make install
e.modify the file
slapd.conf
8.The installation of PHP
a../configure --with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs
--with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/png
--with-zlib --with-GD --with-freetype-dir=/usr/local/freetype
--with-libxml-dir=/usr/local/libxml
–with-gettext=/usr/local/gettext
--with-ldap=/usr/local/openldap
b. make
c.make test
d.make install
e.cp php.ini-dist /usr/local/lib/php.ini
f.modifty the http.conf
g.Add php to apache
9.Restart apache
a.After add the php configure in http.config,you
should restart the apache to reload the http.configure.
b.When you restart the apache,you may meet the
error:
httpd: Syntax error on line 53
of /usr/local/apache/conf/httpd.conf: Cannot load
/usr/local/apache/modules/libphp5.so into server:
/usr/local/apache/modules/libphp5.so: cannot restore segment prot
after reloc: Permission denied
Reason:linux have a protect mode named
SELInux.
Resolution:1.close the SELinux:vi
/etc/selinux/configure;Change SELinux=enforing
to SELinux=disable;restart the
apache2
You can use vi or install vim
2.See what have bee installed
a.rqm –qa >>
tt.txt
b.tt.txt shows the software and service that you
server has been installed
c.after you see the tt.txt ,you will decide what
software and service you need ,then install them
3.The purpose of looking tt.txt
a. Whether the server has been
install something you want
if not, you
prepare the source file and install them yourself
b. Whether the version of the
software or service is correct for you
if not,
uninstall them ,and install them yourself
4.The installation of apache
a../configure --prefix=/usr/local/apache2
--enable-so --enable-proxy --enable-openssl -enable-vhost-alias
--enable-mods-shared=most --enable-dav
--enable-maintainer-mode-with-mpm=worker
b.make
c.make install
5.Start apache
The Solution of this error:
a.stop
apache
b.cd
apache’s conf directory
c.modify the
http.conf
d.remove
the “#” before ServerName
e.restart
apache
6.The installation of BerkeyDB
a.cd db-4.8.XX/build_unix
b. ../dist/configure
–prefix=/usr/local/bdb
c.make
d.make install
e. vim /etc/ld.so.conf加入一行:/usr/local/bdb/lib
,並保存
f.ldconfig
7.The installation of openldap
a.cd openldap.XX
b../configure –prefix=/usr/local/openldap
–with-bdb
c.make
d.make install
e.modify the file
slapd.conf
8.The installation of PHP
a../configure --with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs
--with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/png
--with-zlib --with-GD --with-freetype-dir=/usr/local/freetype
--with-libxml-dir=/usr/local/libxml
–with-gettext=/usr/local/gettext
--with-ldap=/usr/local/openldap
b. make
c.make test
d.make install
e.cp php.ini-dist /usr/local/lib/php.ini
f.modifty the http.conf
g.Add php to apache
9.Restart apache
a.After add the php configure in http.config,you
should restart the apache to reload the http.configure.
b.When you restart the apache,you may meet the
error:
httpd: Syntax error on line 53
of /usr/local/apache/conf/httpd.conf: Cannot load
/usr/local/apache/modules/libphp5.so into server:
/usr/local/apache/modules/libphp5.so: cannot restore segment prot
after reloc: Permission denied
Reason:linux have a protect mode named
SELInux.
Resolution:1.close the SELinux:vi
/etc/selinux/configure;Change SELinux=enforing
to SELinux=disable;restart the
apache2
相关文章推荐
- sql server中的 SET&nbs…
- How to set up and test a simple OLEDB Linked Server in Microsoft® SQL Server to allow retrieval of d
- LoadRunner 的 web_set_user 函数
- 在Ubuntu Server 11上安装GNOME中…
- 监控MSSQL(SQL Server)
- 配置centos 7 ntp server
- SQL SERVER存储过程批量插入数据库…
- 区别: vector list deque set map(…
- How To: Set Up SSL on a Web Server
- setsockopt 设置socket 详细用法
- SQL SERVER DMO 简介
- JDBC 连接SQL Server报…
- How to set up your own private RTMP server using nginx
- ArcGis Server开发入门(转载)
- 有关SQL Server 2008安装中重新启…
- Server Application Error
- set up pxe server in uefi mode
- 时间段查询 sqlserver o…