- 博客(12)
- 收藏
- 关注
原创 centos 7 搭建wordpress 网站
一.安装apacheyum -y install httpd注意:该方法安装完毕后,Apache配置文件路径为 /etc/httpd/conf/httpd.conf可使用命令查看Apache服务状态service httpd status开启服务systemctl start httpd.service关闭服务systemctl stop httpd.service重启服务systemctl restart httpd.service设置开机启动sys.
2022-05-20 14:19:33
749
原创 centos7 安装Cacti
安装环境:3.10.0-123.el7.x86_641、关闭防火墙和SElinux# systemctl stop iptables.servce# systemctl disable iptables.sercice# setenforce 02:yum设置具体见更换centos7的yum源文档3:安装cacti依赖的软件(mysql可能会安装不成功,后面在另行安装)#yum -y install mysql mysql-server mysql-devel httpd p
2022-05-20 13:56:46
241
原创 linux安装zabbix4
一、linux系统配置1、临时关闭seLinux。setenforce 02、永久关闭selinux 需编辑配置文件/etc/selinux/config,设置SELINUX=disabled,重启系统后生效。vi /etc/selinux/config或firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --reloadfirewall-cmd --query-port=80/tcp...
2022-05-10 14:15:00
175
原创 lnmp架构搭建wordpress开源博客
一、搭建nginx1、配置nginx源rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.yum search nginx2、安装nginxyum install -y pcre-devel openssl-devel 安装nginx依赖包yum install -y nginx3、实现PHP联动配置nginx的/etc/nginx...
2022-05-10 13:30:00
138
原创 在linux系统中安装jdk
在官方下载linux环境的jdk使用xftp将jdk源码包,上传到/usr/local解压文件tar -zxvf jdk-8u321-linux-x64.tar.gz
2022-05-10 10:22:00
101
原创 部署并安装Discuz
一、安装Apache1、查看是否安装过Apache。rpm -qa | grep httpd2、有就卸载httpdyum remove -y "httpd*"3、重新安装httpd。yum install -y httpd4、查看启动状态。systemctl status httpd5、启动httpd。systemctl start httpd6、添加开机启动。systemctl enable httpd7、设置防火墙开放tcp80端口。firewal
2022-05-10 09:16:16
183
原创 apache的安装与配置
yum install httpf-y ##apache软件yum install httpd -manual ##apache的手册systemctl start httpdsystemctl enable httpdfirewall-cmd- --list-all ##列出火墙信息firewall-cmd --permanent --add-service=http ##永久允许httpfirewall-cmd --reload ##火墙重新加载策略/var/www/html
2022-05-10 08:50:44
84
原创 【无标题】
1.在/tmp目录下,新建目录director,新建3个txt文件,名为file1,file2,file3,用vi编辑器分别在三个文件中输入内容2.将file1、file2、file3三个文件内容合并到一个文件中命名为filetest.txt3.在director目录下新建一个open目录,并在open目录下创建open file目录, 所有目录权限为r-xr--r--4.就filetest.txt文件备份/su下,并将/tmp/director目录移动到/use...
2022-03-27 18:38:11
341
原创 周测作业三
1.在/usr目录新建目录名称为mytest,并在mytest目录中新建文件net.txt,设置文件属性为文 件属组(u)增加执行权限,文件属组同组用户(g)增加写入权限,其他用户(o)删除读写权限 2.将mytest目录归档,并将其压缩成gz格式,列出归档文件里面的内容 3.查找/et...
2022-03-14 11:27:24
102
原创 【无标题】
找到etc/ppp/ipup文件,写出操作过程.1.输入cd/etc进入目录etc,输入ls-a查看目录的信息2.输入cd ppp进入到该目录,再输入ls-a可看到ipup文件,输入ls-a查看其信息3.shutdown -t 30 三十秒后关机
2022-02-27 21:23:21
248
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人