服务器—软件安装操作(一)

服务器操作系统是CentOS 7.4 64位(安装软件通过oneinstack安装)

1、yum install -y net-tools  相当于在本地OSX操作系统中的 brew install wget 命令行

   (安装wget)

2、curl -L -O http://mirrors.linuxeye.com/oneinstack-full.tar.gz

     和wget安装一样  (wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz)

3、删除空间的文件包  rm -f 名称   或者  rm -rf / (!慎用,有可能删除你的系统文件)

4、ssh 创建密钥 (1、)ssh-keygen   (2、)cat .ssh/id_rsa.pub  s

5、解压下载的包文件 tar -zxvf (文件名称)

6、cd oneinstack   #如果需要修改目录(安装、数据存储、Nginx日志),请修改options.conf文件

7、./install.sh #注:请勿sh install.sh或者bash install.sh这样执行

8、./ss.sh install 运行脚步 或者  sh ss.sh install

9、netstat -tlnup 查询自己已经用的端口 或者netstat -tnulp

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2018年11月11日
下一篇 2018年11月11日

相关推荐