摘要: shell脚本编写自动启动服务方法 前言 ln :创建连接文件 默认创建的是硬连接,好比复制 ,但是两个文件会同步命令:ln ./java/android/aa.txt aaa s :创建的是软连接变为指向(类似于windows的快捷方式:In -s 软链接: 1.软链接,以路径的形式存在。类似于W 阅读全文
posted @ 2020-09-03 13:53 study_goup 阅读(2996) 评论(0) 推荐(0)
摘要: linux 下面启动nginx 和关闭nginx, 查看linux 开放的所有端口netstat -ntpl,重启服务命令 :service network restart 1 进入到安装的目录里面 whereis nginx 2. 进入该路径:cd /usr/local/nginx/sbin 3 阅读全文
posted @ 2020-09-03 13:40 study_goup 阅读(1930) 评论(0) 推荐(0)
摘要: 编译安装在执行./configure步骤报错,是因为缺少环境变量 checking for C compiler … not found ./configure: error: C compiler cc is not found 解决办法 yum -y install gcc yum -y ins 阅读全文
posted @ 2020-09-03 13:27 study_goup 阅读(1761) 评论(0) 推荐(0)