- 博客(9)
- 收藏
- 关注
原创 Linux源码安装Nginx服务(详解)
8、最后可以在浏览器输IP访问一下查看nginx是否正常,前提要关闭防火墙,暂时关闭防火墙命令是“systemctl stop firewalld”3,切换到/usr/local/nginx-1.20.2此目录下,添加不能登录的用户,并下载依赖包。7、确认80端口无占用,如果被占用可以用“kill -9”命令来强制杀死进程;2、解压包到指定路径,这边我是解压到了/usr/local。4、预编译,确认在解压包目录下。最后如果有什么问题留在评论区。
2023-04-17 20:44:33
202
原创 Centos7配置使用iscsi(详解)
开始之前需要打开两个虚拟机,一个当Server端,一个当Client端。一、首先在SERVER端操作。1、[root@localhost /]# yum -y install targetd targetcli2、重启target服务。[root@localhost /]# systemctl start target3、启用target服务。[root@localhost /]# systemctl enable targetCreated symlink from /
2022-04-28 21:13:05
9089
4
原创 Centos7最小化 图形化界面来回切换
处于图形化界面打开终端输入:[root@localhost /]# init 3就可以进入最小化界面了;处于最小化界面进入图形化界面的命令是:[root@localhost /]# init 5
2022-04-27 14:55:17
728
原创 raid配置(详解)
1、首先添加一块磁盘,步骤如下:点击虚拟机,选择设置直接下一步下一步,到这里选择“将虚拟磁盘存储为单个文件”,最后点击完成。2、
2022-04-21 20:49:53
6601
原创 一学就会的Linux基础命令
1、rm 删除 (remove)rm 文件 删除文件[root@localhost home]# touch 456[root@localhost home]# ls456 user[root@localhost home]# rm 456rm:是否删除普通空文件 "456"?y[root@localhost home]# lsuser[root@localhost home]# rm -rf 删除目录[root@localhost home]# mkdir rty[
2022-03-28 20:55:20
100
原创 CentOs7源码安装Nginx(详解)
[root@localhost home]# yum install -y gcc openall-develpcre-develzlib-devel pcre-devel openssl openssl-devel[root@localhost home]# useradd -M -s /sbin/nologin nginx[root@localhost home]# wget -c https://nginx.org/download/nginx-1.9.9.tar.gz[ro.
2022-03-26 09:04:22
382
原创 看了就会的Linux基础命令
一、Linux中的命令严格区分大小写,Tab键可以补齐命令,上下键可以查看命令历史并且可以执行。分号可以分隔命令,\可以断开命令1. pwd:查看当前所在的目录2.cd:切换到当前用户的家目录下3、cd 目录名 :切换目录[root@localhost ~]# cd /home[root@localhost home]# 4、cd -:切换到上次所在的目录[root@localhost ~]# cd -/home[root@localhost home]# ..
2022-03-24 19:29:12
1567
原创 Linux配置网卡
Linux配置网卡:1.先进去图形化界面,然后打开终端切换到root用户,命令是:suroot ,然后输入ifconfig查看网卡,再输入nmcliconnectionaddcon-nameens33ifnameens33typeethernet添加,再输入cd /etc/sysconfig/network-scripts目录文件下。yui'输入vimifcfg-ens33网卡编辑界面。输入i进入插入模式,第四行等号后面是dhcp,最后一行等号后面把n...
2022-03-21 20:45:12
19073
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人