apache 安装:http://blog.csdn.net/wplblog/article/details/52172128 编译安装 php
mysql安装:http://www.centoscn.com/CentosServer/www/2014/1023/3990.html yum安装 html
php安装:http://www.centoscn.com/CentosServer/www/2014/1023/3990.html 编译安装mysql
/softwire/php-5.6.30/configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-apxs2=/usr/local/httpd-2.2.32/bin/apxs --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config --with-iconv-dir=/usr/local --with-jpeg-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr/bin --enable-xml --disable-rpath --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-ftp --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-zlib --enable-pdo --with-pdo-mysql
记录 php安装扩展redis
phpize安装mongo扩展sql
一、解压扩展包并进入 apache
二、执行 phpizevim
三、./configure --with-php-config=/usr/local/php/bin/php-configcentos
四、makeapp
make testcurl
php -m查看php扩展模块,报错信息:
可是,这样作的话,咱们并无使用etc的下的配置文件进行启动(图中红线部分)。
若是但愿经过指定的配置文件启动,须要在启动时指定配置文件:
这里咱们先用ctrl+C来终止服务,而后查看redis服务是否终止干净了,以后经过设置配置文件来启动服务:
七、按下ctrl+c后(^C):
八、运行:pstree -p | grep redis 发现redis服务已经被终止干净
如今咱们带上配置文件 /usr/local/etc/redis.conf 运行redis
九、./redis-server /usr/local/redis/etc/redis.conf启动成功
十、将redis改成后台启动(Redis的后台启动并运行须要经过配置文件中的参数设置)
vim /usr/local/redis/etc/redis.conf 把daemonize配置项改成yes
十一、以后咱们再次使用配置文件启动redis-server。
./redis-server /usr/local/redis/etc/redis.conf
十二、能够看到,redis是后台启动了,而且经过ps命令能够查看到redis正在运行。
ps -ef | grep redis
注意:
redis默认端口为6379,查看端口是否被占用netstat -tunpl | grep 6379
客户端登陆:/usr/local/redis/bin/redis-cli
cenos 7 安装svn
来源:http://blog.csdn.net/tjcyjd/article/details/41673705
注意:在某个路径下执行 svn co svn:186.xxx.xxx.xxx/文件名 (拷贝一份线上项目到此路径)