原因

在路由器上搭建好了网站,只能局域网内访问,想要外部网络也能访问到该怎么做呢?ddns,然而没有公网ip,这时Frp内网穿透就派上用场了。

作用

下面我说下我理解的frp,有错请指正:
frp有服务端和客户端,把服务端安装在有公网ip的服务器上(中转作用),客户端安装在路由器上。当我们访问路由器内容的时候,先访问公网ip的服务器,这台服务器通过和客户端通信,把内容返给我们。

服务器安装

1.有公网ip的服务器,腾讯云vps 学生机,之前申请的,月付1元。
2.安装命令

wget --no-check-certificate https://raw.githubusercontent.com/clangcn/onekey-install-shell/master/frps/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install

3.基本上默认的就行,需要修改的地方

Please input frps vhost_http_port [1-65535](Default vhost_http_port: 8080):  #输入frp进行http穿透的http服务端口
Please input frps vhost_https_port [1-65535](Default vhost_https_port: 4433): #输入frp进行https穿透的https服务端口

4.安装成功后记下自己的信息,通过frps Dashboard http://ip:端口/ 可以查看连接情况
image

5.服务器端命令

更新命令
./install-frps.sh update
卸载命令
./install-frps.sh uninstall
服务器端管理命令
/etc/init.d/frps start
/etc/init.d/frps stop
/etc/init.d/frps restart
/etc/init.d/frps status
/etc/init.d/frps config
/etc/init.d/frps version

路由器设置

1.Misstar Tools 插件管理里面安装frp
2.填入之前服务器端的信息
image

域名解析

1.解析添加a记录指向服务器
image
2.小米路由器后台=>Misstar Tools=>Frp内网穿透=>穿透列表=>添加
image

验证是否成功

1.http://ip:端口/ 查看
image
2.域名:端口 访问能打开页面
image

参考链接:内网穿透利器Frp一键安装脚本及设置教程

前言

1.什么是LLMP(Linux + Lighttpd + MySQL + PHP )类似于lamp或lnmp,建站神器

2.路由器已经开启ssh

工具

1.putty或同类型软件

2.llmp插件 来自:http://www.miui.com/thread-1842334-1-1.html
下载链接: https://pan.baidu.com/s/1hr9KD04 密码: 7pxu

安装LLMP

1.将 llmp_install.bin in 复制到小米路由器硬盘根目录

2.putty登陆并执行以下命令
chmod +x /userdisk/data/llmp_install.bin&&/userdisk/data/llmp_install.bin in
putty

3.等待安装完成,打开http://192.168.31.1:8080/测试
image

4.网页正常显示即安装成功
image

5.添加开机启动 putty或winscp修改/etc/rc.local文件,在exit 0之前添加一行
sh /userdisk/llmp/manager/start_llmp.sh

其他事项

1.网站目录在小米路由器硬盘的根目录下的wwwroot文件夹

2.默认数据库用户名 root,密码 admin

3.系统运行于沙盒系统中,沙盒SSH端口为3333,用户有root、www、admin,密码默认都为admin

4.修改数据库密码,newpasswd为新密码,请自行替换mysqladmin -u root -p password newpasswd
执行命令后要求输入旧密码(admin)即可

5.创建数据库,blog是创建的数据库名称,请自行替换mysqladmin -u root -p create blog
要求输入密码,请输入修改之后的密码

6.如果需要修复:SSH到路由器22端口,执行sh /userdisk/llmp/manager/llmp_fix.sh

安装typecho

1.typecho下载 稳定版为 1.0 (14.10.10),并解压到wwwroot内
https://github.com/typecho/typecho/releases/download/v1.0-14.10.10-release/1.0.14.10.10.-release.tar.gz

2.访问192.168.31.1:8080安装,注意 数据库地址:127.0.0.1 ,不出意外提示安装完成
image

3.只能访问主页,f12可以看出是端口的原因。https://segmentfault.com/q/1010000008401554
修改var/typecho/request.php文件218行开始

    public static function getUrlPrefix()
    {
        if (empty(self::$_urlPrefix)) {
            self::$_urlPrefix = (self::isSecure() ? 'https' : 'http') 
                . '://' . (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'])
               // . (in_array($_SERVER['SERVER_PORT'], array(80, 443)) ? '' : ':' . $_SERVER['SERVER_PORT']);
                ;
        }

        return self::$_urlPrefix;
    }

前言

重装系统后重新安装64位wamp:链接: https://pan.baidu.com/s/1o8JcWkU 密码: fe9q
刚装的时候报错,有了上次的经验,先安装了vc_redist.x64.exe后卸载重装继续报错msvcr110.dll 丢失,继续vc_redist.x86.exe装上,卸载重装继续报错msvcr110.dll。查了下还是微软运行库的锅。恰巧有个微软常用运行库合集,完美解决

解决办法

安装 微软常用运行库合集,一次性都解决了
微软常用运行库合集
链接: https://pan.baidu.com/s/1qXQznru 密码: sb3m

前言

win7用了几天,今天安装系统更新后就蓝屏了,安全模式也进入不了。可能是gho镜像的锅,懒得折腾了,准备官方镜像装win10

准备工作

1.pe
U盘启动pe,我用的几年前的通用pe,简单够用,不流氓。
链接: https://pan.baidu.com/s/1pKB8mD1 密码: quh8

2.win10镜像
msdn.itellyou.cn 这个地址用了几年了
17年7月updated的版本 链接: https://pan.baidu.com/s/1cbbmhg 密码: 7rb2
镜像下载后只需要install.wim即可,注意如果是存进U盘的话,务必ntfs格式,因为文件大于4g了。
install.wim

安装

1.U盘启动进入pe系统

2.点击桌面左下方的“Windows安装器大全”,选择“2.快捷安装器(快捷方便)”,主要原因是win10是nt6
2.快捷安装器(快捷方便)

3.选取之前解压出来的install.wim文件,提示框选择“是”
install.wim

4.确认安装
安装win10

总结

安装过程会自动重启几次,之后按照需要简单设置即可。驱动基本上不需要另外安装。下期准备记录下激活系统

重庆 联通

万州三峡移民,http://123.146.162.24:8013/tslslive/PU2vzMI/hls/live_sd.m3u8
万州综合,http://123.146.162.24:8013/tslslive/noEX9SG/hls/live_sd.m3u8
万州影视文艺,http://123.146.162.24:8013/tslslive/vWlnEzU/hls/live_sd.m3u8
万州科教频道,http://123.146.162.24:8013/tslslive/URetCnP/hls/live_sd.m3u8
直播源收集自网络,具有时效性,无效或者有补充的请在文章下方留言

CCTV1综合,http://120.221.2.42:8089/PLTV/88888888/224/3221225640/index.m3u8
CCTV2财经,http://120.221.2.42:8089/PLTV/88888888/224/3221225559/index.m3u8
CCTV3综艺,http://120.221.2.42:8089/PLTV/88888888/224/3221225560/index.m3u8
CCTV4中文国际,http://120.221.2.42:8089/PLTV/88888888/224/3221225561/index.m3u8
CCTV5体育,http://120.221.2.42:8089/PLTV/88888888/224/3221225646/index.m3u8
CCTV5体育,http://120.221.2.42:8089/PLTV/88888888/224/3221225722/index.m3u8
CCTV7军事 农业,http://120.221.2.42:8089/PLTV/88888888/224/3221225650/index.m3u8
CCTV8电视剧,http://120.221.2.42:8089/PLTV/88888888/224/3221225565/index.m3u8
CCTV10科教,http://120.221.2.42:8089/PLTV/88888888/224/3221225567/index.m3u8
CCTV11戏曲,http://120.221.2.42:8089/PLTV/88888888/224/3221225568/index.m3u8
CCTV12社会与法,http://120.221.2.42:8089/PLTV/88888888/224/3221225569/index.m3u8
CCTV13新闻,http://120.221.2.42:8089/PLTV/88888888/224/3221225570/index.m3u8
CCTV14少儿,http://120.221.2.42:8089/PLTV/88888888/224/3221225659/index.m3u8
CCTV15音乐,http://120.221.2.42:8089/PLTV/88888888/224/3221225572/index.m3u8
CGTN,http://120.221.2.42:8089/PLTV/88888888/224/3221225566/index.m3u8
东方卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225579/index.m3u8
临沂农科,http://120.221.2.42:8089/PLTV/88888888/224/3221225689/index.m3u8
临沂综合,http://120.221.2.42:8089/PLTV/88888888/224/3221225688/index.m3u8
云南卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225596/index.m3u8
优漫卡通,http://120.221.2.42:8089/PLTV/88888888/224/3221225606/index.m3u8
北京卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225576/index.m3u8
北京卫视高清,http://120.221.2.42:8089/PLTV/88888888/224/3221225626/index.m3u8
卡酷少儿,http://120.221.2.42:8089/PLTV/88888888/224/3221225605/index.m3u8
吉林卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225593/index.m3u8
天津卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225578/index.m3u8
安徽卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225649/index.m3u8
山东体育,http://120.221.2.42:8089/PLTV/88888888/224/3221225614/index.m3u8
山东公共,http://120.221.2.42:8089/PLTV/88888888/224/3221225645/index.m3u8
山东农科,http://120.221.2.42:8089/PLTV/88888888/224/3221225615/index.m3u8
山东卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225608/index.m3u8
山东卫视高清,http://120.221.2.42:8089/PLTV/88888888/224/3221225625/index.m3u8
山东国际,http://120.221.2.42:8089/PLTV/88888888/224/3221225617/index.m3u8
山东少儿,http://120.221.2.42:8089/PLTV/88888888/224/3221225616/index.m3u8
山东影视,http://120.221.2.42:8089/PLTV/88888888/224/3221225613/index.m3u8
山东生活,http://120.221.2.42:8089/PLTV/88888888/224/3221225612/index.m3u8
山东综艺,http://120.221.2.42:8089/PLTV/88888888/224/3221225611/index.m3u8
山东齐鲁,http://120.221.2.42:8089/PLTV/88888888/224/3221225609/index.m3u8
广东卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225582/index.m3u8
广东卫视高清,http://120.221.2.42:8089/PLTV/88888888/224/3221225662/index.m3u8
广西卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225595/index.m3u8
德州公共,http://120.221.2.42:8089/PLTV/88888888/224/3221225684/index.m3u8
新疆卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225601/index.m3u8
江苏卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225643/index.m3u8
江苏卫视高清,http://120.221.2.42:8089/PLTV/88888888/224/3221225627/index.m3u8
江西卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225592/index.m3u8
河南卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225594/index.m3u8
济南商务,http://120.221.2.42:8089/PLTV/88888888/224/3221225623/index.m3u8
济南娱乐,http://120.221.2.42:8089/PLTV/88888888/224/3221225661/index.m3u8
济南少儿,http://120.221.2.42:8089/PLTV/88888888/224/3221225624/index.m3u8
济南影视,http://120.221.2.42:8089/PLTV/88888888/224/3221225621/index.m3u8
济南新闻综合,http://120.221.2.42:8089/PLTV/88888888/224/3221225618/index.m3u8
济南新闻综合高清,http://120.221.2.42:8089/PLTV/88888888/224/3221225663/index.m3u8
济南生活,http://120.221.2.42:8089/PLTV/88888888/224/3221225620/index.m3u8
济南都市,http://120.221.2.42:8089/PLTV/88888888/224/3221225619/index.m3u8
浙江卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225573/index.m3u8
海看教育,http://120.221.2.42:8089/PLTV/88888888/224/3221225682/index.m3u8
海看生活,http://120.221.2.42:8089/PLTV/88888888/224/3221225681/index.m3u8
深圳卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225581/index.m3u8
深圳卫视高清,http://120.221.2.42:8089/PLTV/88888888/224/3221225631/index.m3u8
湖南卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225574/index.m3u8
炫动卡通,http://120.221.2.42:8089/PLTV/88888888/224/3221225607/index.m3u8
辽宁卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225583/index.m3u8
重庆卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225580/index.m3u8
金鹰卡通,http://120.221.2.42:8089/PLTV/88888888/224/3221225604/index.m3u8
青海卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225657/index.m3u8
黑龙江卫视,http://120.221.2.42:8089/PLTV/88888888/224/3221225584/index.m3u8
黑龙江卫视高清,http://120.221.2.42:8089/PLTV/88888888/224/3221225629/index.m3u8
直播源收集自网络,具有时效性,无效或者有补充的请在文章下方留言

卡得没法看
sixu=121.140.181.215:9981

?? ?? ? HD,http://sixu/stream/channelid/920558085
?? ??,http://sixu/stream/channelid/91612531
?? ??? ??,http://sixu/stream/channelid/2045786928
?? ???? TV,http://sixu/stream/channelid/868211851
?? ????,http://sixu/stream/channelid/2049198976
?? ???T,http://sixu/stream/channelid/990314530
?? ??A,http://sixu/stream/channelid/566191205
?? Arte HD,http://sixu/stream/channelid/908661244
?? BBC,http://sixu/stream/channelid/1337498368
?? C??,http://sixu/stream/channelid/997053113
?? CMC HD,http://sixu/stream/channelid/1376626713
?? EBS1,http://sixu/stream/channelid/1424108962
?? GTV HD,http://sixu/stream/channelid/110260636
?? JTBC,http://sixu/stream/channelid/25751828
?? KBS1,http://sixu/stream/channelid/624923121
?? KBS2,http://sixu/stream/channelid/1929672019
?? Korea TV,http://sixu/stream/channelid/1349869566
?? MBC,http://sixu/stream/channelid/201662697
?? MBN,http://sixu/stream/channelid/155520742
?? POLARIS,http://sixu/stream/channelid/329523887
?? REAL TV,http://sixu/stream/channelid/682350834
?? SBS,http://sixu/stream/channelid/203485414
?? SPOTV GAMES,http://sixu/stream/channelid/122059159
?? TOMATO TV,http://sixu/stream/channelid/153428430
?? TRENDY,http://sixu/stream/channelid/1481822718
?? TV ??,http://sixu/stream/channelid/235249417
?? TV,http://sixu/stream/channelid/229240105
?? YTN,http://sixu/stream/channelid/826891306
????,http://sixu/stream/channelid/47423425
????TV,http://sixu/stream/channelid/1959769371
ANI PLUS HD,http://sixu/stream/channelid/262970129
DISNEY,http://sixu/stream/channelid/1647108021
EBS U,http://sixu/stream/channelid/1693964153
FTV HD,http://sixu/stream/channelid/2055186790
HEOR,http://sixu/stream/channelid/1230482614
KBSN SPORTS,http://sixu/stream/channelid/1205711406
M net,http://sixu/stream/channelid/326830374
MBC MUSIC,http://sixu/stream/channelid/1941504723
MBC SPORTS+,http://sixu/stream/channelid/263588633
MBC every,http://sixu/stream/channelid/559995548
MTN,http://sixu/stream/channelid/1797059421
OBS W,http://sixu/stream/channelid/1298881540
OBS,http://sixu/stream/channelid/2092663514
OGN,http://sixu/stream/channelid/438734215
ONSTYLE,http://sixu/stream/channelid/1948277880
OTVN,http://sixu/stream/channelid/1760319951
SKY CNT,http://sixu/stream/channelid/1425059254
SPO TV,http://sixu/stream/channelid/868124087
X TV,http://sixu/stream/channelid/695816056
eve nt TV,http://sixu/stream/channelid/1355140472
sky UHD,http://sixu/stream/channelid/1417852030
sky UHD,http://sixu/stream/channelid/415378706
sky sports,http://sixu/stream/channelid/776362414
直播源收集自网络,具有时效性,无效或者有补充的请在文章下方留言