原标题:ss5安装教程

1.首先,编译安装SS5需要先安装一些依赖组件

yum -y install gcc gcc-c++ automake make pam-devel openldap-devel cyrus-sasl-devel

yum -y install openssl-devel

yum install libssl-dev

2.下载SS5

wget ss5-3.8.9-8.tar.gz

操作开始:

1 yum install wget vim automake make gcc openldap-devel pam-devel openssl-devel

2 mv /etc/dowan/CentOS-Base.repo /etc/dowan/CentOS-Base.repo.backup

3 cd /etc/dowan/

4 wget http://域名/.help/CentOS7-Base-163.repo

5 ls

6 wget -O /etc/dowan/CentOS-Base.repo http://域名/repo/Centos-7.repo

7 yum install wget vim

8 yum install wget

9 cd /etc

10 ls

11 vi rc.local

12 cat resolv.conf

13 vi resolv.conf

14 yum install wget

15 yum -y install gcc automake make

16 yum install wget vim automake make gcc openldap-devel pam-devel openssl-devel

17 Loading mirror speeds from cached hostfile

18 vi /etc/resov.conf

19 ls

20 vi resolv.conf

21 cd /etc

22 cd sysocnfig

23 ls

24 cd sysconfig

25 ls

26 cd network-sq

27 cd network-scripts/

28 ls

29 vi ifcfg-eth0

30 service network restart

31 yum install wget vim automake make gcc openldap-devel pam-devel openssl-devel

32 Loading mirror speeds from cached hostfileyum -y update

33 yum -y update

34 yum search vim

35 Loading mirror speeds from cached hostfilecd /etc/dowan/

36 cd /etc/dowan/

37 ls

38 yum clean all

39 rm -f /var/lib/rpm/__db*

40 rpm –rebuilddb

41 yum update

42 vi /etc/yum/pluginconf.d/fastestmirror.conf

43 yum install wget vim automake make gcc openldap-devel pam-devel openssl-devel

44 cd /etc/dowan/

45 wget http://域名/.help/CentOS7-Base-163.repo

46 yum install wget

47 yum -y install pam-devel openldap-devel cyrus-sasl-devel gcc automake make openssl openssl-devel

48 Setting up Install Processwget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

49 wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

50 ls

51 cp CentOS-Base.repo.backup CentOS-Base.r

52 cp CentOS-Base.repo.backup CentOS-Base.repo

53 ls

54 yum -y install pam-devel openldap-devel cyrus-sasl-devel gcc automake make openssl openssl-devel

55 wget -c http://sourceforge.net/projects/ss5/files/ss5/3.8.9-2/ss5-3.8.9-2.tar.gz/download

56 yum install wget

57 wget -c http://sourceforge.net/projects/ss5/files/ss5/3.8.9-2/ss5-3.8.9-2.tar.gz/download

58 ls

59 cd /

60 ls

61 wget -c http://sourceforge.net/projects/ss5/files/ss5/3.8.9-2/ss5-3.8.9-2.tar.gz/download

62 wget http://jaist.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz

63 ls

64 tar vzxf ss5-3.8.9-8.tar.gz

65 ls

66 tar vzxf ss5-3.8.9-8.tar.gz

67 tar vzxf ss5-3.8.9-8.tar.gz

68 ls

69 cd ss5-3.8.9

70 cd ss5-3.8.9

71 ls

72 ./configure

73 ls

74 ./configure

75 make

76 make install

77 make install

78 ls

79 vi ip.sh

80 ifconfig

81 ls

82 chmod ipsh

83 chmod 750 ip.sh

84 ./ip.sh

85 ifconfig

86 ip addr

87 ls

88 vi ip.sh

89 ./ip.sh

90 ip addr

91 cd /etc

92 cd sysconfig

93 ls

94 cd network-scripts/

95 ls

96 vi ifcfg-eth0

97 service netwokr restart

98 service network restart

99 ifconfig

100 ping 61.139.2.69

101 service netwokr restart

102 service network restart

103 cd /etc

104 ip addr

105 service network restart

106 ip addr

107 ls

108 cd sysconfig

109 ls

110 cd network-scripts/

111 ;ls

112 ping 61.13

113 ping 61.139.2.69

114 lks

115 ls

116 cat ifcfg-eth0

117 ifconfig

118 ping 125.65.112.129

119 ping 125.65.112.1

120 ls

121 route print

122 oute

123 route

124 ls

125 cat ifcfg-eth0

126 reboot

127 ls

128 vi ip.sh

129 ./ip.sh

130 ifconfig

131 ip addr

132 ls

133 vi user.sh

134 ls

135 chmod 750 usersh

136 chmod 750 user.sh

137 ./user.sh

138 cat /etc/passwd

139 clear

140 cat /etc/passwd

141 root:x:0:0:root:/root:/bin/bash

142 bin:x:1:1:bin:/bin:/sbin/nologin

143 daemon:x:2:2:daemon:/sbin:/sbin/nologin

144 adm:x:3:4:adm:/var/adm:/sbin/nologin

145 lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin

146 sync:x:5:0:sync:/sbin:/bin/sync

147 shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown

148 halt:x:7:0:halt:/sbin:/sbin/halt

149 mail:x:8:12:mail:/var/spool/mail:/sbin/nologin

150 uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin

151 operator:x:11:0:operator:/root:/sbin/nologin

152 games:x:12:100:games:/usr/games:/sbin/nologin

153 gopher:x:13:30:gopher:/var/gopher:/sbin/nologin

154 ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin

155 nobody:x:99:99:Nobody:/:/sbin/nologin

156 vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin

157 saslauth:x:499:76:"Saslauthd user":/var/empty/saslauth:/sbin/nologin

158 postfix:x:89:89::/var/spool/postfix:/sbin/nologin

159 sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

160 socks1002:x:1002:1002::/home/socks1002:/dev/null

161 socks1003:x:1003:1003::/home/socks1003:/dev/null

162 socks1004:x:1004:1004::/home/socks1004:/dev/null

163 socks1005:x:1005:1005::/home/socks1005:/dev/null

164 socks1006:x:1006:1006::/home/socks1006:/dev/null

165 clear

166 vi nat-mangle.sh

167 chmod 750 nat-mangle.sh

168 ./nat-mangle.sh

169 iptables -nvL -t mangle

170 vi snat.sh

171 chmod 750 snat.sh

172 ./snat.sh

173 ls

174 cat snat.sh

175 iptables -nvL -t nat

176 vi /etc/opt/ss5/ss5.conf

177 vi /etc/opt/ss5/ss5.passwd

178 vi ss5.sh

179 chmod 750 ss5.sh

180 ./ss5.sh

181 ps -ef | grep ss5

182 iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 5555 -j ACCEPT

183 ulimit -SHn 10240

184 ulimit -SHs unlimited

185 echo 500000 >/proc/sys/net/nf_conntrack_max

186 service ss5 start

187 service ss5 restart

188 env: /etc/init.d/ss5: Permission denied

189 chown root:root /etc/opt/ss5/ss5.passwd

190 chmod 755 /etc/opt/ss5/ss5.passwd

191 chmod 755 /etc/opt/ss5

192 service ss5 restart

193 cd /etc/init.d/

194 ls

195 cat ss5

196 ls

197 chmod 755 ss5

198 service ss5 restart

199 cat /etc/opt/ss5/ss5.passwd

200 cat /etc/opt/ss5/ss5

201 ps -ef | grep ss5

202 ip addr

203 ps -ef | grep ss5

204 iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 5555 -j ACCEPT

205 service ss5 restart

206 ps –ef | grep ss5

207 ps -ef | grep ss5

208 ip addr

209 iptables -nvL -t nat

210 vi /etc/opt/ss5/ss5.conf

211 service ss5 restart

212 vi /etc/opt/ss5/ss5.conf

213 service ss5 restart

214 awk -F: '/^user1:/{print $1,$4}' /etc/passwd

215 iptables -nvL -t mangle

216 iptables -nvL -t nat

217 route

218 iptables -nvL -t mangle

219 netstat -tnlp | grep 1080 netstat -tnlp | grep 1080

220 netstat -tnlp | grep 1080

221 netstat -tnlp | grep 5555

222 iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 1080 -j ACCEPT

223 ip aadr

224 ip addr

225 route print

226 route

227 route print

228 ifconfig

229 if addr;

230 ip addr

231 service ss5 start

232 service ss5 restart

233 ip addr

234 route routem

235 netstat -anplut

236 netstat -anplutiptables --list

237 iptables --list

238 iptables -L -n --line-number

239 cat /etc/passwd

240 service iptables status

241 iptables -nvL -t mangle

242 iptables -nvL -t nat

243 ps –ef | grep ss5

244 ps –ef | grep ss5 ps -ef | grep ss5

245 ps -ef | grep ss5

246 clear

247 ps -ef | grep ss5

248 ps -ef | grep ss5 cat ss5.sh

249 cat ss5.sh

250 ls

251 vi ss5.sh

252 ./ss5.sh h

253 ss5 restart

254 service ss5 restart

255 service ss5 restart

256 ps -ef | grep ss5

257 cat ss5.sh

258 ps -ef | grep ss5

259 cat /etc/opt/ss5/ss5.conf cat /etc/opt/ss5/ss5.conf

260 cat /etc/opt/ss5/ss5.conf

261 clear

262 cat /etc/opt/ss5/ss5.conf

263 ./ss5.sh

264 ps -ef | grep ss5

265 cat passwd

266 cat /etc/opt/ss5/ss5.passwd

267 service ss5 restart

268 ping 125.65.112.205

269 ping 125.65.112.203

270 ls

271 /etc/opt/ss5/ss5.passwd

272 cat /etc/opt/ss5/ss5.passwd

273 cat /etc/opt/ss5/ss5.conf

274 iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 1080 -j ACCEPT

275 chown root:root /etc/opt/ss5/ss5.passwd

276 chmod 755 /etc/opt/ss5/ss5.passwd

277 chmod 755 /etc/opt/ss5

278 service ss5 restart

279 iptables -nvL -t mangle

280 iptables -nvL -t nat

281 ls

282 vi /etc/opt/ss5/ss5.conf

283 service ss5 restart

284 vi /etc/opt/ss5/ss5.conf

285 service ss5 restart

286 vi /etc/opt/ss5/ss5.conf

287 service ss5 restart

288 service iptables status

289 iptables -nvL -t mangle

290 ps –ef | grep ss5

291 ps -ef | grep ss5

292 ip addr

293 cat ss5.sh

294 ./ss5.sh

295 service iptables status

296 service ss5 restart

297 reboot

298 service ss5 restart

299 service iptables status

300 cat ss5.sh

301 ps -ef | grep ss5

302 iptables -nvL -t mangle

303 vi /etc/opt/ss5/ss5.conf

304 cat ss5.sh

305 service ss5 restart

306 cat /etc/opt/ss5/ss5.conf

307 cd /etc/opt/ss5/

308 ls

309 cat ss5.passwd

310 ls

311 vi /etc/opt/ss5/ss5.conf

312 service ss5 restart

313 vi /etc/opt/ss5/ss5.conf

314 service ss5 restart

315 cat /etc/opt/ss5/ss5.conf

316 service ss5 restart

317 ls

318 cat vi /etc/opt/ss5/ss5.conf

319 vi /etc/opt/ss5/ss5.conf

320 service ss5 restart

321 ip add

322 ip addr

323 ip addr add

324 ip addr ip

325 ls

326 ip addr add

327 service ss5 restart

328 vi /etc/opt/ss5/ss5.conf

329 service ss5 restart

330 vi /etc/opt/ss5/ss5.conf

331 service ss5 restart

332 iptables -I INPUT 1 -m state --state NEW -m tcp -p tcp --dport 1080 -j ACCEPT

333 ps -ef | grep ss5

334 cat /etc/opt/ss5/ss5.conf

335 iptables -nvL -t nat

336 cat /etc/passwd

337 cat /etc/passwd

338 vi /etc/opt/ss5/ss5.conf

339 service ss5 restart

340 ls

341 cat cat /etc/opt/ss5/ss5.passwd

342 cat /etc/opt/ss5/ss5.passwd

343 service ss5 restart

344 chown root:root /etc/opt/ss5/ss5.passwd

345 chmod 755 /etc/opt/ss5/ss5.passwd

346 chmod 755 /etc/opt/ss5

347 vi /etc/opt/ss5/ss5.conf

348 service ss5 restart

349 VnPy02

350 cat /etc/opt/ss5/ss5.passwd

351 VnPy01 pass@wd01

352 VnPy02 pass@wd02

353 VnPy03 pass@wd03

354 VnPy04 pass@wd04

355 VnPy05 pass@wd05

356 history

357 service ss5 restart

358 ssh -V

359 list

360 history

361 service ss5 restart

362 cat /etc/opt/ss5/ss5.passwd

363 vi /etc/opt/ss5/ss5.conf

364 service ss5 restart

365 ls

366 vi /etc/opt/ss5/ss5.conf

367 service ss5 restart

368 vi /etc/sysconfig/ss5

369 service ss5 restart

370 vi /etc/sysconfig/ss5

371 cat ss5.passwd

372 cat /etc/opt/ss5/ss5.passwd

373 vi /etc/opt/ss5/ss5.passwd

374 service ss5 restart

375 /etc/rc.d/init.d/ss5 restart

376 cat /etc/opt/ss5/ss5.passwd

377 ip addr

378 ip addr addr返回搜狐,查看更多

责任编辑:

linux65安装教程,ss5安装教程相关推荐

  1. Qemu下安装Sun Solairs8简明教程 转

    http://blog.csdn.net/stonesharp/article/details/8928393Qemu下安装Sun Solairs8简明教程(Centos6.1 / Win7) 作者: ...

  2. Qemu下安装Sun Solairs8简明教程

    Qemu下安装Sun Solairs8简明教程(Centos6.1 / Win7) 作者:as_hunter  前言:我使用的是centos6.1和win7环境,其他环境没有测试,且win7下不能全新 ...

  3. jumpserver 使用教程_jumpserver安装及使用教程

    我自己是jumpserver的新手,以下两个链接是比较好的教程: 安装教程:http://blog.csdn.net/wanglei_storage/article/details/51001810 ...

  4. python3.6.2怎样安装,python 3.6.2 安装配置方法图文教程

    python 3.6.2 安装配置方法图文教程 Windows下Python(pip)环境搭建(3.6)图解,供大家参考,具体内容如下 1.下载最新的Python安装:3.6.2 2.安装时不要选择默 ...

  5. ios cocopods 安装使用及高级教程

    CocoaPods简介 每种语言发展到一个阶段,就会出现相应的依赖管理工具,例如Java语言的Maven,nodejs的npm.随着iOS开发者的增多,业界也出现了为iOS程序提供依赖管理的工具,它的 ...

  6. python3里的pillow怎么安装_“python安装pillow教程“python3.4怎么安装pil

    "python安装pillow教程"python3.4怎么安装pil python安装pillow教程2020-10-09 03:37:02人已围观 如何在python3.6中装p ...

  7. ubuntu16.04安装opencv3.4.1教程

    最近opencv3.4.1发布了,想换个新的试试鲜,于是把配置的过程通过博文的方式记录下来,方便查阅.  本教程原为3.3.0,但经过博主亲测,3.4.0.3.4.1皆适用 1.去官网下载opencv ...

  8. openpyxl安装_自拍教程76Python 一键批量安装第三方包

    案例故事: 在测试环境搭建环节,尤其是需要在新的电脑上搭建Python测试环境时, 可以考虑把日常自动化测试所需要用到的第三方Python包(非自带内置包), 一次性批量安装上. 准备阶段 1.确保p ...

  9. mysql windows 管道连接,科技常识:Windows Server 2016 MySQL数据库安装配置详细安装教程...

    今天小编跟大家讲解下有关Windows Server 2016 MySQL数据库安装配置详细安装教程 ,相信小伙伴们对这个话题应该也很关注吧,小编也收集到了有关Windows Server 2016 ...

最新文章

  1. no.8 C控制语句:循环 01
  2. tf.nn.dropout和tf.keras.layers.Dropout的区别(TensorFlow2.3)与实验
  3. devise tree_Devise如何确保您的Rails应用密码安全
  4. SharePoint关于publish page, WiKi page, Web part page区别
  5. Android生命周期函数执行顺序
  6. 史上最全基于vue的图片裁剪vue-cropper使用
  7. markdown的第一次使用
  8. MSSQL2005:“超时时间已到。在操作完成之前超时时间已过或服务器未响应”
  9. 初学者python编辑器用geany可以吗_面向初学者的Python编辑器Mu
  10. chromium 安装flash player
  11. 微信 公众号 网页授权登录(静默授权)
  12. web前端基础——媒体查询
  13. 公众号bmob_newgd.js
  14. 头条校招(今日头条2017秋招真题)
  15. VUE DEMO 之模拟登录 个人中心页面之间数据传值
  16. 互联网时代结束了吗?
  17. POJO 与javaBean(普通bean和EJB)
  18. 类似腾讯手机管家应用源码完整版
  19. python解压文件中哪个是安装包_python解压文件格式的基本方法
  20. 【傅里叶级数】-----向量/三角函数的正交性

热门文章

  1. 微信小程序云开发学习(一)/ 设置云开发 与 数据查询
  2. 基于snooplog分析蓝牙连接过程,进一步学习蓝牙协议栈
  3. android 去掉通话功能,android-如何删除通话记录
  4. M3U8格式文件比较稳妥的下载方法
  5. 网工IPsec配置实例笔记
  6. java毕业设计iMeli在线彩妆店铺mybatis+源码+调试部署+系统+数据库+lw
  7. c语言recive的用法,receive的用法总结大全
  8. 省市区js(可以得到省、市、区的行政代码和名称)
  9. android armv8 手机,智能手机已经将Arm的Armv8架构用于其处理器
  10. Goolge的含义是1的后面有100个零。