- 博客(10)
- 收藏
- 关注
原创 安装zabbix.检测客户机
一、搭建之前的操作 升级系统组件至最新版本 yum -y update 临时关闭seLinux setenforce 0 永久关闭selinux 需编辑配置文件/etc/selinux/config,设置SELINUX=disabled,重启系统后生效。 vi /etc/selinux/config 设置防火墙开放80端口。 firewall-cmd --zone=public --add-port=80/tcp --permanent ...
2022-05-20 21:42:16
179
原创 linux安装论坛
1、查看是否安装apache rpm -qa | grep httpd 2、有的话可以卸载 yum remove -y "httpd*" 3、没有的话安装就用yum安装这样更不会出错 yum install -y httpd 4、启动httpd systemctl start httpd 5、添加开机启动 systemctl enable httpd 6、设置防火墙开放tcp80端口。 firewall-cmd --zo...
2022-05-20 21:38:59
168
原创 linux系统中不同颜色的文件
白色:表示普通文件 浅蓝色:表示链接文件; 灰色:表示其他文件; 绿色:表示可执行文件; 红色:表示压缩文件; 蓝色:表示目录; 红色闪烁:表示链接的文件有问题了; 黄色:表示设备文件。 ...
2022-05-20 21:24:31
190
原创 找到/etc/ppp/ipup文件,写出操作命令过程,并显示详细信息
1、cd / 进入根目录 2、cd etc 进入etc文件 3、cd ppp 进入etc文件里的ppp文件 4、ls 列出ppp文件里面的内容找到ipup 5、ls -l ipup查看文件里面的内容
2022-05-20 21:23:37
240
原创 创建指定用户
添加用户 useradd:用于创建新的系统用户 语法:useradd {选项} 用户名 选项: -d 指定用户的家目录 -g指定用户属组 -m 不自动建立用户登录的目录 -u 指定用户ID 1、创建一个指定在root文件下的 admin 6666 的指定用户 useradd -u/root/admin 6666 2、passwd 用于设置/修改用户密码 passwd+用...
2022-05-20 21:20:22
196
原创 查看开启关闭centos7防火墙
firewall-cmd --state #查看防火墙 systemctl status firewalld #查看防火墙 systemctl stop firewalld #临时关闭防火墙 systemctl start firewalld #临时打开防火墙 systemctl disable firewalld #开机禁止启动防火墙 systemctl enable firewalld #开机启动防火墙 ...
2022-05-20 21:19:28
112
原创 【无标题】创建指定目录txt文件
在/tmp目录下,新建目录director新建三个txt文件,分别命名为filel、file2、file3,用vi编辑器分别在三个文件中输入内容。 cd /tmp mkdir director cd director touch file1.txt file2.txt file3.txt vi file1.txti this one txt!!! Esc:wq 回车 cat -n file1.txt 回车 vi file2.txtith...
2022-05-20 21:17:18
602
原创 【无标题】安装apache服务器,并配置访问端口
1、安装命令 yum install httpd -y ##apache软件 yum install httpd-manual ##apache的手册 systemctl start httpd 开启httpd systemctl enable httpd firewall-cmd --list-all ##列出火墙信息 firewall-cmd --permanent --add-service=http ##永久允许http firewall-cm...
2022-05-20 20:59:26
369
原创 【无标题】部署并安装biacuz
一、安装Apache 1、查看是否安装过Apache。 rpm -qa | grep httpd 2、有就卸载httpd yum remove -y "httpd*" 3、重新安装httpd。 yum install -y httpd 4、查看启动状态。 systemctl status http 5、启动httpd。 systemctl start httpd 6、添加开机启动。 systemctl enabl httpd 7、设置防火墙开放tcp8...
2022-05-20 20:57:42
225
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅