摘要: cd /soft/git 下载最新版本git: wget https://github.com/git/git/archive/v2.26.2.tar.gz tar -zxvf v2.26.2.tar.gz 编译安装之前,需要安装所需的依赖,命令如下: yum -y install curl-dev 阅读全文
posted @ 2020-04-23 16:37 离岸少年 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 检查是否安装了SVN: rpm -aq subversion 使用yum安装: yum -y install subversion 查看是否启动成功 ps -ef|grep svn 则安装成功。 创建版本库: https://www.cnblogs.com/jackzhuo/p/11888042.h 阅读全文
posted @ 2020-04-23 15:50 离岸少年 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 我已经安装了php7.4,现在想再安装一个7.1,则 mkdir -p /lnmp/php71 wget https://www.php.net/distributions/php-7.1.18.tar.gz tar -zxvf php-7.1.18.tar.gz cd php-7.1.18 ./c 阅读全文
posted @ 2020-04-23 15:23 离岸少年 阅读(4212) 评论(0) 推荐(0) 编辑
摘要: #查看启动情况 ps -ef|grep nginx #查看是否启动成功 curl 192.168.0.177 #查看端口情况 netstat -ano|grep 80 修改nginx配置(我的nginx是安装在/lnmp/nginx上的): vim /lnmp/nginx/conf/nginx.co 阅读全文
posted @ 2020-04-23 14:16 离岸少年 阅读(2046) 评论(0) 推荐(0) 编辑
摘要: 和设置nginx的步骤差不多。 vim /etc/init.d/php-fpm 添加以下命令行: #!/bin/sh # chkconfig: 2345 15 95 # description: PHP-FPM (FastCGI Process Manager) is an alternative 阅读全文
posted @ 2020-04-23 11:14 离岸少年 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: 在linux系统的/etc/init.d/目录下创建nginx文件 vim /etc/init.d/nginx 在脚本中添加以下命令(内容主要参考官方文档) #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # 阅读全文
posted @ 2020-04-23 09:53 离岸少年 阅读(1594) 评论(0) 推荐(0) 编辑