摘要:
##在/etc/init.d/nginx,并将一下内容添加至该文件中 vim /etc/init.d/nginx #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # 阅读全文
摘要:
在任意一个路径中创建startup.sh # 创建startup.sh vim /usr/local/project/startup.sh # 将环境配置写进去 不清楚自己配置的可以用 more /etc/profile查看 export JAVA_HOME=/usr/local/install/j 阅读全文
摘要:
##下载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 阅读全文
摘要:
安装vsftp ## 安装vsftpd yum -y install vsftpd ## 设置开机启动 chkconfig vsftd on ## 查看服务是否改为开机启动 chkconfig --list vsftpd ## 查看vsftpd的服务状态 vsftpd启停相关命令 ## 启动vsft 阅读全文