
liunx
文章平均质量分 60
廖振飞 ——3
这个作者很懒,什么都没留下…
展开
-
nginx负载均衡
安装nginx启动nginx./nginxvim /usr/local/nginx/conf/nginx.confupstream web-server{ip_hash;server 192.168.134.133;server 192.168.134.134;server{listen 80;server_name localhost;location /{proxy_pass http://web-server;root html;index index.html原创 2022-05-22 21:44:07 · 276 阅读 · 0 评论 -
centos 7安装zabbix4
升级系统组件到最新的版本 1 yum-y update 2 关闭selinux vi/etc/selinux/config 把SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效setenforce 0 #临时关闭命令getenforce #检测selinux是否关闭,Disabled 为关闭firewall-cmd--statesystemctl...原创 2022-05-09 11:10:51 · 192 阅读 · 0 评论 -
liunx配置虚拟主机
第一步:创建发布目录和发布文件。mkdir -p /www/{web/,blog/}[root@localhost www]# echo "welcome to xfalge's web-server">>web/index.html[root@localhost www]# echo "welcome to xfalge's blog-server">>blog/index.html第二步:修改主配置文件:cd /usr/local/nginx/conf/vim n.原创 2022-05-09 10:52:19 · 127 阅读 · 0 评论 -
liunx centos7 搭建wordpress 网站
1:安装apacheyum install httpd -y开启服务systemctl start httpd.service重启服务systemctl restart httpd.service设置开机启动systemctl enable httpd.service开启80端口firewall-cmd --add-service=http --permanentfirewall-cmd --add-service=https --permanentfirewall.原创 2022-05-09 10:38:28 · 204 阅读 · 0 评论 -
liunx论坛安装
先安装apache和mysql,在安装php,安装完后安装论坛1;下载安装包wget http://download.comsenz.com/DiscuzX/3.2/Discuz_X3.2_SC_UTF8.zip2、解压 Discuz! X3.2软件包unzip Discuz_X3.2_SC_UTF8.zip3、解压缩得到如下三个文件:upload 这个目录下面的所有文件是我们需要上传到服务器上的可用程序文件;readme 目录为产品介绍、授权、安装、升级、转换以及版本更新日志说明;原创 2022-04-25 10:34:31 · 130 阅读 · 0 评论