自定义博客皮肤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)
  • 收藏
  • 关注

原创 搭建cati

搭建lampyum -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 install

2022-05-26 08:28:10 67

原创 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-26 08:26:35 58

原创 搭建cati

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 ins

2022-05-25 09:45:47 143

原创 搭建 wordpress

第一步:检查是否安装nginx mysql phpps -ef |grep nginxps -ef |grep mysqlps -ef |grep php2、配置nginx支持PHP程序修改php的配置文件cd /usr/local/php/etc/php-fpm.d修改内容:user = nginxgroup = nginxlisten.owner = nginxlisten.group = nginxcd /usr/local/ng...

2022-05-25 09:44:20 44

原创 centos安装zabbix.o

1. 环境搭建LAMP前提Centos系统安装完成: 确认一下:cat /etc/redhat-release # 查看CentOS版本cat /proc/version #查看存放与内核相关的文件1.1 搭建之前的操作1.1.1 升级系统组件到最新的版本yum-y update1.1.2 关闭selinuxvi /etc/selinux/config #将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启...

2022-05-25 09:42:36 83

原创 【无标题】

rpm -qa |grephttpd 查看是否安装过Apacheyumremove -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-05-25 09:39:16 35

原创 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.

2022-05-25 09:37:58 48

原创 安装jdk

2022-05-25 09:35:58 48

原创 第三次周测

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-05-25 09:34:53 35

原创 【无标题】内容

[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-05-25 09:30:05 135

原创 查询linux文件中的颜色分别代表什么

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

2022-05-25 09:28:42 222

原创 第一次作业

.〔root@localhost ~〕# cd/etc/ppp〔root@localhost ppp〕# 1s -12.〔root@loca1host ppp〕# shutdown -t +30

2022-05-25 09:26:41 36

空空如也

空空如也

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

TA关注的人

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