/images/avatar.png

Mulinux运维

容器化部署Wordpress

安装docker和docker-compose 1 2 3 4 5 6 wget http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo yum install docker-ce -y systemctl start docker systemctl enable docker curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose 使用官方示例部署wordpres

Kvm Windows时间异常问题

KVM xml配置 1 2 3 4 5 6 7 8 9 <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup' track='guest'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> or <clock offset='timezone' timezone='Asia/Shanghai'/> Windows服务器配置 1 2 3 bcdedit /set USEPLATFORMCLOCK on #设置 bcdedit /enum #查看是否生效 bcdedit / deletevalue useplatformclock #取消

Nginx 代理示例

stream代理 本地80代理到192.168.0.111:8081 1 2 3 4 5 6 7 8 9 10 11 stream { server { listen 80; proxy_pass shterm; } upstream shterm { server 192.168.0.111:8081; } } https ssl 代理示例 将本地4

驱动

人生的道路都是由心来描绘的,所以,无论自己处于多么严酷的境遇之中,心头都不应为悲观的思想所萦绕。 三环理论 实现跨越 邓宁-克鲁格心理效应

Frp 内网穿透配置

frpserver.conf https://github.com/fatedier/frp/blob/master/conf/frps_full.ini 1 添加token 其他默认即可 windows frpc.ini https://github.com/fatedier/frp/blob/master/conf/frpc_full.ini 1 2 3 4 5 6 7 8 9 10 [common] server_addr = FrpServerIp server_port = 7000 token = token [RDP] type = tcp local_ip = 0.0.0.0 local_port = 3389 remote_port = 3389 Windows将FRP设置为服务并开