- 博客(10)
- 收藏
- 关注
原创 win11安全中心打不开
Win11安全中心打不开Windows图标右键打开电脑的管理终端(管理员)(windows PowerShell(管理员))如果无法打开管理终端(管理员)(windows PowerShell(管理员)搜索输入windows PowerShell右键以管理员运行然后在命令窗口输入:Set-ExecutionPolicy Unrestricted回车执行。(注意:执行后会弹出输入选项,直接输入“A”(必须是大写)回车即可 )继续执行:Get-AppXPackage -AllUse
2022-05-20 00:00:45
785
原创 ansible源码安装nginx
ansible源码安装nginxyum search ansible #检查ansibleyum -y install centos-release-ansible-29 #安装centos-release-ansible-29安装ansibleyum –y install ansible #安装ansibleansible --version #查看版本密钥ssh-keygen #生成密钥ssh-copy-id root@192.168.126.1
2021-04-19 15:55:13
278
1
原创 ansible的安装及简单使用
ansible的安装及简单使用安装ansible的yum源yum search ansible #检查ansibleyum -y install centos-release-ansible-29 #安装centos-release-ansible-29安装ansibleyum –y install ansible #安装ansibleansible --version #查看版本密钥ssh-keygen #生成密钥ssh-copy-id ro.
2021-04-17 12:08:35
163
原创 haproxy动静分离
第一台yum –y install haproxycd /etc/haproxyrm -f haproxy.cfgVim haproxy.cfg #输入下面内容globallog 127.0.0.1 local2 infochroot /var/lib/haproxypidfile /var/run/haproxy.pidmaxconn 455350user haproxygroup haproxydaemon
2021-04-07 17:01:30
132
原创 haproxy负载
haproxy负载第一台yum –y install haproxy.x86_64mv haproxy.cfg haproxy.cfg.backvim haproxy.cfggloballog 127.0.0.1 local2 infochroot /var/lib/haproxypidfile /var/run/haproxy.pidmaxconn 455350user haproxygroup haproxyda
2021-04-02 15:39:16
114
原创 Nginx+keelplivs高可用
Nginx+keelplivs先准备4台虚拟机第一台虚拟机yum -y install keepalived.x86_64 ipvsadm.x86_64sysctl -a | grep ip_forward #开启内核IP转发echo “net.ipv4.ip_forward = 1” #输出net.ipv4.ip_forward = 1echo “net.ipv4.ip_forward = 1” >> /etc/sysctl.conf ; sysctl -p#验证net
2021-04-01 15:56:36
317
原创 redis2.2.8主从
Redis2.2.8版yum -y install redis.x86_64vim /etc/redis.conf61:bind 0.0.0.0 #允许任何连接84:port 6379 #端口号128:daemonize yes #把no改成yessystemctl restart redis.serveryum -y install nginx.x86_64 php php-fpm php-mysql php-cli ph...
2021-03-31 17:06:12
191
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人