logo头像
Snippet 博客主题

Openwrt KodExplorer 搭建私有云存储

Openwrt KodExplorer 搭建私有云存储

1
2
3
设备
NETGEAR 6100
系统 openwrt

1 刷系统

这个简单 不解释

2 设置密码 开启ssh

Alt text
之后就可以通过ssh连接路由器

1
ssh root@192.168.1.1 -p 22

如果还是无法ssh连接
参考配置防火墙设置

2 设置语言

1.语言设置的位置在:
System -> System -> System Properties -> Language and Style > Language
通过下拉菜单选择。

2.刚刷完固件只有英语可以选。
3.System -> Software -> opkg update
4.下载中文语言包的方法:System -> Software –> Software -> Actions,
在Download and install package右边的文本框里输入:luci-i18n-chinese,点击OK,系统即会自动下载并安装。
5.安装完后到语言设置的位置选择chinese,然后刷新页面即可。

如果以上 方法 不成功 可以使用命令

1
2
opkg update
opkg install luci-i18n-base-zh-cn

安装完成 到语言设置的位置选择chinese,然后刷新页面即可。

3 安装 php5

opkg install php5

1
2
3
4
5
6
7
8
9
10
opkg install php5
opkg install php5-fpm
opkg install php5-mod-curl
opkg install php5-mod-gd
opkg install php5-mod-iconv
opkg install php5-mod-json
opkg install php5-mod-mbstring
opkg install php5-mod-opcache
opkg install php5-mod-session
opkg install php5-mod-zip

FileZilla 上传文件连接 上传文件
Alt text

4 翻墙配置

参考大神配置
1 opkg opkg install

1
2
opkg update
opkg opkg install ip ipset iptables-mod-tproxy libev libpthread libpcre

2 下载需要的包
接下来下载软件,注意需要根据自己的CPU型号来进行选择。
下载地址: http://openwrt-dist.sourceforge.net/packages/OpenWrt/

1
2
3
4
5
6
7
8
9
10
libcares_x.xx-x_xxxx.ipk
libmbedtls_x.x.x-x_xxxx.ipk
libsodium_x.x.xx-x_xxxx.ipk
shadowsocks-libev_x.x.x-x_xxxx.ipk
dns-forwarder_x.x.x-x_xxxx.ipk
ChinaDNS_x.x.x-x_xxxx.ipk

luci-app-shadowsocks_x.x.x-x_all.ipk
luci-app-chinadns_x.x.x-x_all.ipk
luci-app-dns-forwarder_x.x.x-x_all.ipk

使用 FTP上传文件
将下载的包通过WinSCP之类的工具上传至路由器的/tmp目录。
安装shadowsocks, ChinaDNS以及dns-forwarder:

1
2
3
4
5
cd /tmp
opkg install libsodium*.ipk libmbedtls*.ipk libcares*.ipk
opkg install shadowsocks-libev*.ipk luci-app-shadowsocks*.ipk
opkg install ChinaDNS*.ipk luci-app-chinadns*.ipk
opkg install dns-forwarder*.ipk luci-app-dns-forwarder*.ipk

shadowsocks 配置

需要截图太多了 参考大神的

支付宝打赏 微信打赏

打赏