- 博客(10)
- 收藏
- 关注
原创 搭建wordpress
第一步:检查是否安装nginx mysql php ps -ef |grep nginx ps -ef |grep mysql ps -ef |grep php 2、配置nginx支持PHP程序 修改php的配置文件 cd /usr/local/php/etc/php-fpm.d 修改内容: user = nginx group = nginx listen.owner = nginx listen.group = nginx cd /usr/local/nginx/...
2022-05-27 11:18:24 59
原创 centos安装zabbin.o
1. 环境搭建LAMP 前提Centos系统安装完成: 确认一下: cat /etc/redhat-release # 查看CentOS版本 cat /proc/version #查看存放与内核相关的文件 1.1 搭建之前的操作 1.1.1 升级系统组件到最新的版本 yum -y update 1.1.2 关闭selinux vi /etc/selinux/config #将SELINUX=enforcing改为SELINUX=disabled 设置后需要重启才能生效 se...
2022-05-27 11:14:24 99
原创 安装DZ论坛
rpm -qa | grep httpd 查看是否安装过Apache yum remove -y "httpd*" 有就卸载httpd yum install -y httpd 重新安装httpd systemctl status httpd 查看启动状态 systemctl start httpd 启动httpd systemctl enable httpd 添加开机启动 firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-.
2022-05-27 11:09:25 199
原创 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 ~]# firewal.
2022-05-27 11:04:54 75
原创 第三次周测
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-27 10:52:45 43
原创 【无标题】
1:在/tmp目录下,新建目录director新建三个txt文件,分别命名为file1、file2、file3. 用vi编辑器分别在三个文件中输入内容。 [root@localhost ~]# cd /tmp [root@localhost tmp]# cd direvtor/ [root@localhost director]# touch file1.txt file2.txt file3.txt [root@localhost director]# ls file1.txt ...
2022-05-27 10:47:48 55
原创 【无标题】
root@localhost ~]# useradd -d /root/admin -u 6666 admin [root@localhost ~]# ls admin anaconda-ks.cfg [root@localhost ~]# passwd admin changing password for user admin. new passwd:admin@123 BAD PASSWORD: The password contains the user name in some form Bety
2022-05-27 10:41:31 37
原创 查询Linux系统中文件颜色分别代表什么?
蓝色——目录 绿色——可执行文件 红色——压缩文件或者包文件 浅蓝色——链接文件(主要是使用IN命令建立的文件) 灰色——其他文件 红色闪烁——链接的文件有问题 黄色——设备文件 白色——一般性文件(如文本文件,配置文件,源码文件等) ...
2022-05-27 10:40:02 136
原创 【无标题】
1.〔root@localhost ~〕# cd/etc/ppp 〔root@localhost ppp〕# 1s -1 2. 〔root@loca1host ppp〕# shutdown -t +30
2022-05-27 10:35:17 40
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人