目录
LLL的数据库培训—第一部分—Linux基础知识—第2讲—Linux 7 使用——SSH环境使用配置、网络配置
一、熟悉环境
1、系统使用SSH
常使用的工具:SecureCRT、XShell、putty
2、系统安装完后的首要关闭的服务
(1)防火墙关闭
systemctl stop firewalld.service systemctl disable firewalld.service systemctl status firewalld.service
如果要启动:
systemctl start firewalld.service systemctl enable firewalld.service systemctl status firewalld.service
(2)禁用SELINUX
查看当前是否启动:
getenforce
永久生效:
vi /etc/selinux/config SELINUX=disabled
立即生效:
#setenforce 0
二、linux的网络配置
1、网络查看命令
#ifconfig
#ip -a
![]()
2、IP地址配置
(1)图形界面
(2)命令行界面
3、DNS配置
(1)图形界面
(2)命令行界面
#cat /etc/resolv.conf