Centos7 使用总结
来源:互联网 发布:ubuntu trusty xenial 编辑:程序博客网 时间:2024/05/17 06:35
1、防火墙
centos7 默认用firewall管理iptables,改为iptables的方法
停用firewall,安装iptables-service
systemctl stop firewalld.servicesystemctl disable firewalld.serviceyum -y install iptables-services systemctl start iptablessystemctl enable iptables
2、net-tools
centos7 最小化安装完,ifconfig,route等命令均不能用,安装net-tools,问题解决
yum -y install net-tools
Net-tools的内容:
3、设置字符编码文件
系统默认编码设置文件,由/etc/sysconfig/i18n 更改为 /etc/locale.conf
4、开启路由转发功能
echo "net.ipv4.conf.all.forwarding = 1" >> /etc/sysctl.conf sysctl -p
0 0
- Centos7 使用总结
- 总结centos7 安装google-chrome后,chrome不能正常使用
- Linux&&Centos7使用总结--ntfs移动硬盘挂载
- 阿里云CentOS7中Git和GitHub使用总结
- Centos7 firewall常用命令总结
- CentOS7 常用命令总结
- CentOS7安装Mysql总结
- Centos7命令总结
- CentOS7基本命令总结
- centos7上装lnmp总结
- CentOS7 使用的定制
- CentOS7 安装 使用 Docker
- centos7使用docker1.8.2
- centos7防火墙使用(firewalld)
- CentOS7使用Git
- CentOS7 安装使用pypy5
- CentOS7下使用iptables
- centos7使用规则
- 什么是守护线程?
- 如何高效学习
- hdu 5425 Rikka with Tree II
- 购物结算功能
- 读书笔记之UNIX环境高级编程(16)
- Centos7 使用总结
- Android学习之自定义view——TopBar
- 阶段性总结(一)
- SQL Server SA 最佳实践(也许不仅仅是翻译)
- IT公司笔试题细节
- SVM支持向量机(一)---简介
- about kvm
- 各种杂项组件(4)之----SearchView(搜索框)、TabHost(选项卡)、ScrollView(滚动视图)
- IOS之Objective-C学习笔记(七)