全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 29958|回复: 103

简单写了个我发的那个Ss前端安装指南

  [复制链接]
发表于 2014-11-10 22:19:50 | 显示全部楼层 |阅读模式
今天发的那个 好像大家都不是很清楚怎么安装
http://www.hostloc.com/thread-259711-1-1.html


首先新建数据库,获取必要的信息这个不用说了吧。。
然后导入 https://github.com/orvice/ss-panel  我这个里面的 sql/user.sql

然后开始安装SS
Debian下安装相关组件
apt-get install python-pip python-m2crypto  git
pip install cymysql

安装Shadowsocks-py
git clone -b manyuser https://github.com/mengskysama/shadowsocks.git
cd /shadowsocks/shadowsocks
vim Config.py
修改数据库信息

然后 python server.py  
然后访问我那个前端就可以了- -

评分

参与人数 1威望 +25 收起 理由
欧阳逍遥 + 25 很给力!

查看全部评分

 楼主| 发表于 2014-11-11 19:38:28 | 显示全部楼层
opear2008 发表于 2014-11-11 08:43
是不是我要先装一个AMH或者是LNMP。再按贴子里的进行安装。

你需要一个php+mysql环境
发表于 2014-11-11 09:08:17 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2014-11-10 23:00:04 | 显示全部楼层
你是个好人
发表于 2014-11-10 23:02:24 | 显示全部楼层
  1. 错误
  2. SQL 查询:




  3. --
  4. -- Dumping data for table `user`
  5. --

  6. INSERT INTO `user` (`uid`, `user_name`, `email`, `pass`, `passwd`, `t`, `u`, `d`, `plan`, `transfer_enable`, `port`, `switch`, `enable`, `type`, `last_get_gitf_time`, `last_rest_pass_time`, `reg_date`) VALUES
  7. (1, 'user', 'test@test.com', '9003d1df22eb4d3820015070385194c8', '0000000', 1410609560, 3, 4, 'A', 30000000000, 50000, 1, 1, 7, 0, 0, '2014-11-07 00:00:00'),

  8. --
  9. -- Indexes for dumped tables
  10. --

  11. --
  12. -- Indexes for table `user`
  13. --
  14. ALTER TABLE `user`
  15. ADD PRIMARY KEY (`uid`,`port`);
  16. MySQL 返回: 文档

  17. #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `user`
  18. ADD PRIMARY KEY (`uid`,`port`)' at line 15
复制代码


楼主这怎么办,导入数据库。

点评

同  发表于 2014-11-10 23:27
同样遇到了这错误  发表于 2014-11-10 23:13
 楼主| 发表于 2014-11-10 23:16:06 | 显示全部楼层
lvyao 发表于 2014-11-10 23:02
楼主这怎么办,导入数据库。

数据库结构应该有出来了吧?
发表于 2014-11-10 23:21:11 | 显示全部楼层
你这个需要InnoDB?
 楼主| 发表于 2014-11-10 23:24:36 | 显示全部楼层
mojave 发表于 2014-11-10 23:21
你这个需要InnoDB?

不用
发表于 2014-11-11 08:43:14 | 显示全部楼层
是不是我要先装一个AMH或者是LNMP。再按贴子里的进行安装。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-26 04:26 , Processed in 0.082619 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表