自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 nginx负载均衡

在配置文件vim /usr/local/nginx/conf/nginx.conf中添加以下内容。upstream web-server{ ip_hash; server 192.168.15.136 fail_timeout=60s weight=3; server 192.168.15.135 weight=7; }server{ listen 80; server_name localhos...

2022-05-23 10:33:16 132

原创 搭建cacti

1、搭建lamp环境yum -y install httpd mariadb mariadb-server mariadb-devel php php-mysql php-gd php-pear gd gd-develsystemctl start httpd && systemctl enable httpdsystemctl start mariadb && systemctl enable mariadb2、安装绘图工具和snmp组件yum -y i

2022-05-22 15:33:29 122

原创 创建wordpress

安装nginx过程:第一步:下载、上传到服务器后第二步:安装依赖包:yum install pcre-devel automake make zlib zlib-devel gcc-c++ libtool openssl openssl-devel -y第三步:解压到指定位置tar -zxvf nginx-1.20.2.tar.gz -C /usr/local/第四步:新建用户名nginxuseradd nginx -s /sbin/nologin -M第五步:...

2022-05-22 15:22:30 98

原创 Centos安装zabbix.0

1. 环境搭建LAMP前提Centos系统安装完成: 确认一下: 1 2 cat/etc/redhat-release# 查看CentOS版本 cat/proc/version#查看存放与内核相关的文件 1.1 搭建之前的操作1.1.1 升级系统组件到最新的版本 1 yum-y update 1.1.2 关闭selinux 1 ...

2022-05-09 13:06:36 94

原创 安装DZ论坛

rpm -qa | grep httpd 查看是否安装过Apacheyum remove -y "httpd*" 有就卸载httpdyum install -y httpd 重新安装httpdsystemctl status httpd 查看启动状态systemctl start httpd 启动httpdsystemctl enable httpd 添加开机启动firewall-cmd --zone=public --add-port=80/tcp --permanentfir.

2022-04-19 19:47:34 1204

原创 Apache

1、安装Apache服务器,并配置访问端口为9999[root@bogon ~]# yum install httpd -y[root@bogon ~]# yum install httpd-manual[ root@bogon ~]# systemctl start httpd[root@bogon ~]# systemctl enable httpd[rootalocalhost ~]# rpm -ga lgrep httpd[root@localhost ~]# firewall-cmd

2022-04-11 19:52:52 58

原创 安装jdk

虚拟机安装jdk

2022-03-26 21:27:24 395

原创 第三次周测

1:在/usr目录中新建一个目录名称为:mytest。并在mytest目录中新建文件net.txt。 设置文件的属性为文件属主(u)增加执行权限,文件属主同组用户(g)增加写入权限, 其他用户(o)删除读权限[root@dd /]# cd /usr[root@dd usr]# mkdir mytest[root@dd usr]# touch net.txt[root@dd mytest]# chmod u+x net.txt[root@dd mytest]# chmod g+w net...

2022-03-13 19:47:54 436

原创 第二次周测

1.在/tmp目录下,新建目录director新建三个txt文件,分别命名为file1.txt,file2.txt,file3.txt,用vi编辑器分别在三个文件中输入内容。cd /cd tmpmkdir directorcd directortouch file1.txt file2.txt file3.txtvi file1.txt2.将file1/file2/file3三个文件中内容合并到一个文件中命名为filetest.txtcat file1.txt fil..

2022-03-06 23:04:05 97

原创 新建一个新用户admin,指定/root家目录下,并指定用户ID为4个6,并设置密码,写出命令过程。

[root@localhost ~]# useradd -d /root/admin -u 6666 admin[root@localhost ~]# lsadmin anaconda-ks.cfg[root@localhost ~]# passwd adminchanging password for user admin.new passwd:admin@123BAD PASSWORD: The password contains the user name in some fo

2022-02-28 22:22:31 262

原创 查询Linux系统中文件颜色分别代表什么?

蓝色——目录绿色——可执行文件红色——压缩文件或者包文件浅蓝色——链接文件(主要是使用IN命令建立的文件)灰色——其他文件红色闪烁——链接的文件有问题黄色——设备文件白色——一般性文件(如文本文件,配置文件,源码文件等)...

2022-02-28 21:30:02 181

原创 【无标题】

1.找到cd /etc/ppp文件,写出操作命令过程,并显示详细信息。[root@localhost~]#cd /etc/ppp2.写出延迟30秒关机。[root@localhost ppp] # shutdown -t +30

2022-02-28 08:50:52 41

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除