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

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

浅蓝色 :链接文件,主要是使用ln命令建 立的文件 蓝色 : 表示目录文件 白色 : 表示普通文件 红色 :表示压缩文件或者包文件 桃红色 :套接字文件 黄色 :表示字符设备文件, 土黄色 :管道文件 绿色 : 表示可执行文件,可执行的程序 灰色 :表示文件 红色闪烁 :表示链接的文件有问题...

2022-05-26 22:11:20 305

原创 Nginx的负载均衡配置

条件:三台虚拟主机(其中一台虚拟机需要安装nginx)在配置文件vim /usr/local/nginx/conf/nginx.conf中添加以下内容upstream web-server{ ip_hash; server 192.168.226.145 fail_timeout=60s weight=3 ; server 192.168.226.168 weight=7 ;}server{l...

2022-05-22 23:14:01 181

原创 Linux中安装cacti(Centos7)

2022-05-22 16:14:39 530

原创 用LAMP搭建Discuz论坛(Centos7)

一、安装apache1、查看是否安装过Apacherpm -qa | grep httpd如果安装了就卸载httpd:yum remove -y "httpd*"2、安装httpdyum install -y httpd3、启动httpdsystemctl start httpd添加开机启动:systemctl enable httpd4、设置防火墙开发tcp80端口firewall-cmd --zone=public --add-port=80/tcp --perma

2022-05-11 12:08:00 858

原创 LNMP架构搭建workpress开源博客(Centos7)

安装Nginx第一步:下载nginx安装包并上传到服务器并关闭防火墙和selinux第二步:安装依赖包[root@localhost home]# yum install pcre-devel automake make zlib zlib-devel gcc-c++ libtool openssl openssl-devel -y第三步:新建用户名nginx和解压...

2022-05-10 22:39:11 537

原创 LAMP搭建zabbix开源博客(Centos 7)

apacheyum install httpd -y #apache软件yum install httpd-manual #apache手册systemctl start httpdsystemctl enable httpdfirewall-cmd --list-all #列出防火墙信息firewall-cmd --permanent --add-service=http #永久允许httpfirewa...

2022-05-10 20:07:43 261

原创 安装apache服务器,并配置访问端口为:9999。添加新的默认页面sorry.html,在默认页面下不能访问的情况下显示“很抱歉...“,并配置三台虚拟主机,用基于ip的方式配置

1、安装Apache服务器,并配置访问端口为:9999[root@localhost ~]# yum install httpd -y (apache软件)[root@localhost ~]# yum install httpd-manual (apache的手册)[root@localhost ~]# systemctl start httpd[root@localhost ~]# systemctl enable httpd[root@localhost ~]# fire.

2022-04-07 21:53:41 1373

原创 安装JDK

2022-03-27 23:15:46 573

原创 在/usr目录中新建一个目录名称为:mytest,并在mytest目录中新建文件net.txt。设置文件的属性为文件属主(u)增加执行权限,文件属主同组用户(g)增加写入权限其他用户(o)删除读权限

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

2022-03-13 22:34:21 299

原创 新建一个新用户admin,指定/root目录下,并指定用户id为,设置密码为xxx,写出操作命令过程

[roor@juan ~]# useradd -d/root/admin -u 6666 admin[root@juan ~]# lsadmin anaconda-ks.cfg[root@juan ~]# passwd adminChanging password for user adminNew password:admin@123BAD PASSWORD :The password contains the user name in some formRetypc n...

2022-03-09 14:54:56 804

原创 在/tmp目录下,新建目录director新建三个txt文件,分别命名为file1、file2、file3,用vi编辑器分别在三个文件中输入内容

1、在/tmp目录下,新建目录director新建三个txt文件,分别命名为file1、file2、file3,用vi编辑器分别在三个文件中输入内容。[root@juan ~]# cd /tmp[root@juan tmp]# mkdir director[root@juan tmp]# cd director[root@juan director]# touch file1.txt file2.txt file3.txt[root@juan director]#vi file1

2022-03-06 16:44:02 663

原创 找到/etc/ppp/ipup文件,写出推迟30s的关机

1、找到 /etc/ppp/ipup 文件,写出操作命令过程?2、写出推迟30秒的关机

2022-02-27 21:49:55 88

空空如也

空空如也

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

TA关注的人

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