博文

目前显示的是 三月, 2018的博文

Linux安装httpd及php、PHP探针

安装Apahce及php 安装 yum -y install httpd php 启动httpd service httpd start 修改端口号 vi /etc/httpd/conf/httpd.conf 修改 Listen 80 iptables打开对应端口 iptables -I INPUT -p tcp --dport 端口 -j ACCEPT service iptables save service iptables restart 如果启动httpd时,报错 Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName 则需要修改 httpd.conf ServerName 127.0.0.1:976 大概在第276行. 参考:快速搭建一个网站 https://wxlzmt.github.io/pages/simple/md_trans.html?url=https://raw.githubusercontent.com/wxlzmt/wxlzmt.github.io/master/resource/script/quick-start-httpd.md robots.txt https://raw.githubusercontent.com/wxlzmt/wxlzmt.github.io/master/resource/script/robots.txt 生成伪装站点 wget https://raw.githubusercontent.com/wxlzmt/bigfiles/master/jdk1.8-api.zip unzip -n jdk1.8-api.zip -d /var/www/html 下载探针 wget http://www.yahei.net/tz/tz.zip 其实就是一个php文件,备用下载: wget https://wxlzmt.github.io/resource/script/tz.php 放到 /var/www/html/tz.php 就可以了 访问 http://ip:port/tz.php 即可. 小内存优化 先查看ap...

搭建GoFlyway

系统要求 CentOS 6+ / Debian 6+ / Ubuntu 14.04 + 推荐 Debian 7 x64 实际使用centos6 x64也可以 脚本 参考:《『原创』Go语言轻量化 HTTP Tunnel 代理工具 —— GoFlyway 一键安装管理脚本》 https://doub.io/goflyway-jc2/ wget -N --no-check-certificate https://softs.fun/Bash/goflyway.sh && chmod +x goflyway.sh && bash goflyway.sh # 如果上面这个脚本无法下载,尝试使用备用下载: wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/goflyway.sh && chmod +x goflyway.sh && bash goflyway.sh 《Goflyway 进阶教程:免费域名+免费CDN+HTTP伪装=被墙的IP继续做代理》 https://doub.io/goflyway-jc3/ 《一个由Go语言编写的轻量化 HTTP Tunnel 代理工具 —— GoFlyway》 https://doub.io/goflyway-jc1/ 快速搭建一个伪装网站,参考 https://wxlzmt.github.io/pages/simple/md_trans.html?url=https://raw.githubusercontent.com/wxlzmt/wxlzmt.github.io/master/resource/script/quick-start-httpd.md

Linux定时重启

定时任务 crontab 一、编辑cron 命令行 crontab -e 进入编辑模式. 每天6点自动重启,文件内容如下: 0 6 * * * reboot :wq 保存 , q! 退出不保存 二、重启cron和服务器 /etc/init.d/crond restart 创建自启动任务 chkconfig --levels 35 crond on service crond status 查看 cron服务状态, 如果没有启动则 service crond start 启动它, cron服务是一个定时执行的服务,可以通过 crontab 命令添加或者编辑需要定时执行的任务 补充说明 usage: crontab [-u user] file crontab [-u user] [ -e | -l | -r ] (default operation is replace, per 1003.2) -e (edit user's crontab) -l (list user's crontab) -r (delete user's crontab) -i (prompt before deleting user's crontab) -s (selinux context)

搭建ssr

本文所述命令行只适用于centos6 详细说明 step1.安装ssr 参考 https://github.com/getlantern/forum/issues/5620 wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh 混淆使用http_simple,协议使用auth_aes128_sha1 配置文件在 cat /etc/shadowsocksr/user-config.json step2.安装锐速 参考 https://www.vultrcn.com/dajian-ssr.html 降核 wget --no-check-certificate https://cdn.xiazaio.win/bash/centoskernel.sh && bash centoskernel.sh 安装锐速 wget --no-check-certificate https://cdn.xiazaio.win/bash/serverspeeder.sh && bash serverspeeder.sh install 三项依次选择: n , y , y . step3.伪装http 把SSR端口开于80,混淆使用http_simple,协议使用auth_sha1_v4 修改配置文件 /etc/shadowsocksr/user-config.json "redirect": ["*:80#127.0.0.1:976"] 其中 976 端口部署了apache的httpd服务. Linux安装httpd及php、PHP探针 快速搭建一个伪装网站,参考 https://wxlzmt.github.io/pages/simple/md_trans.html?url=https://raw.githubusercontent.com/wxlzmt/wxlzmt.github.io/master/resource/...

tools

markdown转html参考 [荐] https://dillinger.io markdown转html参考 https://daringfireball.net/projects/markdown/dingus

搭建ss

搭建 依据 Vultr VPS搭建5hadowsocks教程 https://www.vultr.net.cn/dajian-ss.html 服务器系统 必须是CentOS 6 x64 ,CentOS7试了不行 精简说明 wget --no-check-certificate https://dl.banwagou.com/shell/5hadowsocks-libev.sh && bash 5hadowsocks-libev.sh 按引导进行 , 加密方式选择7 修改密码 /etc/shadowsocks-libev/config.json IP貌似不需要修改 卸载ss bash 5hadowsocks-libev.sh uninstall 安装破解版锐速 wget --no-check-certificate https://raw.githubusercontent.com/uxh/shell/master/serverspeeder.sh && bash serverspeeder.sh install "2.6.32-573.1.1.el6.x86_64" 依次选择 n y y Accelerate VPN n Auto load ServerSpeeder y Run ServerSpeeder now y 来自 https://github.com/uxh/shell 锐速serverspeeder常用命令 service serverSpeeder start #启动 service serverSpeeder stop #停止 service serverSpeeder reload #重新加载配置 service serverSpeeder restart #重启 service serverSpeeder status #状态 service serverSpeeder stats #统计 service serverSpeeder renewLic #更新许可文件 service serverSpeeder update #更新 chattr -i /serverspeeder/etc/apx* && /serverspeede...