You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
824 B

12 months ago
## 安装$Rocky$ $Linx$ $9$
#### 最终安装的服务器$IP$与端口
```
IP
10.10.14.210
端口
22
用户名与密码
root
DsideaL4r5t6y7u
SSH
```
### 注意以下几点
- $Rocky$ $Linux$在安装界面时,可以选择$GUI$界面,还是$Mini$安装无$GUI$界面,需要动手选择好!
- 安装界面上输入密码时有允许Rocky Linux 9 root用户通过ssh登录的选项注意选择
- 分区时,先$Auto$,然后删除掉 /和 /$home$,然后再进行一遍所有剩余空间到 / 的操作。
### 常用命令
```
# 临时关闭selinux
setenforce 0
# 永久关闭selinux
vi /etc/sysconfig/selinux
SELINUX=disabled
# 临时关闭防火墙:
systemctl stop firewalld
# 永久关闭防火墙:
systemctl disable firewalld
```