通信更新 for wordpres 外部访问, 即使更新加密
- Wordpress建设
- 2018-09-27
- 83热度
- 0评论
数据库备份1
192.168.11.1_100_wordpress.sql.remove-zip
数据备份2
202.182.111.50_100_wordpress--2018备份.sql
跟新域名方法
wordpress 更换域名、数据库批量替换域名过程记录-魏艾斯博客
UPDATE wp_posts SET post_content = replace( post_content, ‘http://webdav2.com:100/press/’, ‘http://192.168.11.1:100/press/’ ) ;
UPDATE wp_posts SET post_content=replace(post_content,'http://192.168.11.1:100/press/','http://10.10.10.10/press/');
UPDATE wp_posts SET guid=replace(guid,'http://192.168.11.1:100/press/','http://10.10.10.10/press/');
升级webdav外链 // paa 到 paa.cf
http://paa.com:100 --http://paa.ssl-encrypted.cf:100
UPDATE wp_posts SET post_content=replace(post_content,'http://paa.com:100/','https://paa.ssl-encrypted.cf/');
UPDATE wp_posts SET guid=replace(guid,'http://paa.com:100/','https://paa.ssl-encrypted.cf/');
升级CDN网页// pan 到 pan cf
http://pan.com:100/ ====> http://pan.ssl-encrypted.cf:100
UPDATE wp_posts SET post_content=replace(post_content,'http://pan.com:100/','http://pan.ssl-encrypted.cf:100/');
UPDATE wp_posts SET guid=replace(guid,'http://pan.com:100/','http://pan.ssl-encrypted.cf:100/');
Listen 6688
Listen 80
ServerName www.example.com:80
<VirtualHost *:80>
DocumentRoot "/Users/yinghui/workspace/WebSite"
</VirtualHost>
<VirtualHost *:6688>
DocumentRoot "/Users/yinghui/workspace/WebSite"
</VirtualHost>
001----------
listen 100
servername 192.168.11.1:100
<vhost 100>
<vhost 200>
1, webdav zai qianmian
2, php zai houmian
the same ip, diff domain
// 常用操作和修改命令
frpc -c /opt/etc/frpc_full.ini
vim /opt/etc/frpc_full.ini
apachectl -k stop && apachectl -k start
/opt/etc/init.d/S79php7-fpm stop && /opt/etc/init.d/S79php7-fpm start
vim /opt/etc/apache/httpd.conf
/opt/etc/init.d/S80lighttpd stop && /opt/etc/init.d/S80lighttpd start
netstat -apn | grep httpd
/opt/etc/init.d/S84frpc start
// 域名配置地址
https://my.freenom.com/clientarea.php?managedns=ssl-encrypted.cf&domainid=1032764461
账户 wangzhen1091@gmail.com 直接授权登录!
wordpress 更换域名、数据库批量替换域名过程记录
// 参考
doub.io/dbwz-3/
教你申请.tk_.ml_.cf_.gq_.ga
lighttpd 指定用户 3)用什么权限来运行lighttpd
server.username = "nobody"
server.groupname = "nobody"
https://blog.csdn.net/bytxl/article/details/7728592
https://httpd.apache.org/docs/2.4/vhosts/examples.html
VirtualHost Examples - Apache HTTP Server Version 2.4.html
Binding to Addresses and Ports
https://httpd.apache.org/docs/2.4/bind.html
mod_dav - Apache HTTP Server Version 2.4.html
https://httpd.apache.org/docs/2.4/mod/mod_dav.html
PHP-FPM - Httpd Wiki.html
https://wiki.apache.org/httpd/PHP-FPM
内网穿透,Frp服务端和客户端设置详细教程-维简网.html
推荐一款很好用的内网穿透工具 FRP - 运维之美.html
https://www.hi-linux.com/posts/25686.html#%E9%80%9A%E8%BF%87-udp-%E8%AE%BF%E9%97%AE%E5%86%85%E7%BD%91%E6%9C%BA%E5%99%A8
https://github.com/fatedier/frp/blob/master/README_zh.md#%E6%8F%92%E4%BB%B6
README | 中文文档
https://www.howtoing.com/apache-with-php-fpm-on-ubuntu-16-04
在Ubuntu 16.04上使用PHP-FPM和Apache.html
https://webcache.googleusercontent.com/search?q=cache:MjGgnw5RbuUJ:https://zhaoyongtao.github.io/posts/667f3f35/+&cd=3&hl=zh-CN&ct=clnk&gl=us
Apache配置虚拟主机的三种方式 一、基于IP 二、基于主机名 三、基于端口
apache虚拟主机三种设置-滴水石穿-51CTO博客.html
http://blog.51cto.com/lzysg172/1175662
https://github.com/Entware/Entware/wiki/Using-Owncloud
Using Owncloud · Entware_Entware Wiki · GitHub.html
---------------------------------------------------+
Check your server setting, please wait...
+---------------------------------------------------------+
| frps for Linux Server, Written by Clang |
+---------------------------------------------------------+
| A tool to auto-compile & install frps on Linux |
+---------------------------------------------------------+
| Intro: http://koolshare.cn/thread-65379-1-1.html |
+---------------------------------------------------------+Please select frps download url:
[1].aliyun (default)
[2].github
Enter your choice (1, 2 or exit. default [aliyun]): 2
---------------------------------------
Your select: 2
---------------------------------------
Loading network version for frps, please wait...
frps Latest release file frp_0.20.0_linux_amd64.tar.gz
Loading You Server IP, please wait...
You Server IP:202.182.111.50
Please input your server setting:Please input frps bind_port [1-65535](Default Server Port: 5443):41997
frps bind_port: 41997Please input frps vhost_http_port [1-65535](Default vhost_http_port: 80):100
frps vhost_http_port: 100Please input frps vhost_https_port [1-65535](Default vhost_https_port: 443):443
frps vhost_https_port: 443Please input frps dashboard_port [1-65535](Default dashboard_port: 6443):46443
frps dashboard_port: 46443Please input dashboard_user (Default: admin):press_frp
frps dashboard_user: press_frpPlease input dashboard_pwd (Default: gqZyX2Y4):workpress_frp
frps dashboard_pwd: workpress_frpPlease input token (Default: s6IJoa42sYWGnFlj):tokenworkpress_frp
frps token: tokenworkpress_frpPlease input frps max_pool_count [1-200]
(Default max_pool_count: 50):
frps max_pool_count: 50##### Please select log_level #####
1: info (default)
2: warn
3: error
4: debug
#####################################################
Enter your choice (1, 2, 3, 4 or exit. default [1]): 1
log_level: infoPlease input frps log_max_days [1-30]
(Default log_max_days: 3 day):30
frps log_max_days: 30##### Please select log_file #####
1: enable (default)
2: disable
#####################################################
Enter your choice (1, 2 or exit. default [1]): 1
log_file: enable##### Please select tcp_mux #####
1: enable (default)
2: disable
#####################################################
Enter your choice (1, 2 or exit. default [1]):
tcp_mux: true##### Please select kcp support #####
1: enable (default)
2: disable
#####################################################
Enter your choice (1, 2 or exit. default [1]):
kcp support: true============== Check your input ==============
You Server IP : 202.182.111.50
Bind port : 41997
kcp support : true
vhost http port : 100
vhost https port : 443
Dashboard port : 46443
Dashboard user : press_frp
Dashboard password : workpress_frp
token : tokenworkpress_frp
tcp_mux : true
Max Pool count : 50
Log level : info
Log max days : 30
Log file : enable
==============================================Press any key to start...or Press Ctrl+c to cancel
frps install path:/usr/local/frps
config file for frps ... done
download frps ... done
download /etc/init.d/frps... done
setting frps boot... done+--------------------------------------------------+
| Manager for Frps, Written by Clang |
+--------------------------------------------------+
| Intro: http://koolshare.cn/thread-65379-1-1.html |
+--------------------------------------------------+Starting Frps(0.20.0)... done
Frps (pid 24656)is running.+---------------------------------------------------------+
| frps for Linux Server, Written by Clang |
+---------------------------------------------------------+
| A tool to auto-compile & install frps on Linux |
+---------------------------------------------------------+
| Intro: http://koolshare.cn/thread-65379-1-1.html |
+---------------------------------------------------------+Congratulations, frps install completed!
==============================================
You Server IP : 202.182.111.50
Bind port : 41997
KCP support : true
vhost http port : 100
vhost https port : 443
Dashboard port : 46443
token : tokenworkpress_frp
tcp_mux : true
Max Pool count : 50
Log level : info
Log max days : 30
Log file : enable
==============================================
frps Dashboard : http://202.182.111.50:46443/
Dashboard user : press_frp
Dashboard password : workpress_frp
==============================================frps status manage : frps {start|stop|restart|status|config|version}
Example:
start: frps start
stop: frps stop
restart: frps restart
