🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

sojs-script

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sojs-script

use node script for setupping the system

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

#sojs-script

##systemSetup命令

自动执行以下操作(注: 只支持centos):

  • 关闭iptables
  • 关闭selinux
  • 修改ssh端口号
  • 根据操作系统版本号, 自动设置并更新repo源为阿里云的源
  • 安装docker
  • 设置docker加速器为阿里云加速器
  • 设置docker开机启动
  • 启动docker服务

配置文件地址:

src/sos/common/config.js

执行如下命令即可:

node ./bin/systemSetup

FAQs

Package last updated on 23 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts