摘要: ##在/etc/init.d/nginx,并将一下内容添加至该文件中 vim /etc/init.d/nginx #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # 阅读全文
posted @ 2020-09-30 16:46 张震-Miles 阅读(1061) 评论(0) 推荐(0) 编辑
摘要: 在任意一个路径中创建startup.sh # 创建startup.sh vim /usr/local/project/startup.sh # 将环境配置写进去 不清楚自己配置的可以用 more /etc/profile查看 export JAVA_HOME=/usr/local/install/j 阅读全文
posted @ 2020-09-30 16:30 张震-Miles 阅读(4273) 评论(0) 推荐(0) 编辑
摘要: ##下载yum并解压 1. wget http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz 2. tar zxvf yum-3.4.3.tar.gz ##进入目录运行安装 1. cd /usr/local/yum-3.4.3 2. ./yummai 阅读全文
posted @ 2020-09-30 15:16 张震-Miles 阅读(22825) 评论(0) 推荐(0) 编辑
摘要: 安装vsftp ## 安装vsftpd yum -y install vsftpd ## 设置开机启动 chkconfig vsftd on ## 查看服务是否改为开机启动 chkconfig --list vsftpd ## 查看vsftpd的服务状态 vsftpd启停相关命令 ## 启动vsft 阅读全文
posted @ 2020-09-30 11:19 张震-Miles 阅读(224) 评论(0) 推荐(0) 编辑