大数据系列教程_Linux系统配置
2014-12-06 17:38
232 查看
2、Linux系统配置
备注:此处系统配置这是配置了必须选项,没有从系统方面做优化2.1、修改主机名称、主机名IP映射
vim /etc/sysconfig/network(永久修改) hostname(临时修改) vim /etc/hosts |
cd /home/hadoop/.ssh/ ssh-keygen-t rsa –P ‘’ cat id_rsa.pub >> authorized_keys chmod 600 authorized_keys |
vim /etc/security/limits.conf * soft nofile 102400 * hard nofile 102400 * soft nproc 102400 * hard nproc 102400 同时reboot系统才能生效 |
1)临时生效,重启后复原 开启: service iptables start 关闭: service iptables stop 2)永久性生效,重启后不会复原 开启: chkconfig iptables on 关闭: chkconfig iptables off Selinux vim /etc/selinux/config umask 值为0022 否则修改~/.bashrc 添加umask 022 vim /etc/yum/pluginconf.d/refresh-packagekit.conf enabled=0 |
相关文章推荐
- Jenkins进阶系列之——09配置Linux系统ssh免密码登陆
- Jenkins进阶系列之——09配置Linux系统ssh免密码登陆
- 在Linux系统上通过uWSGI配置Nginx+Python环境的教程
- Jenkins进阶系列之——09配置Linux系统ssh免密码登陆
- Jenkins进阶系列之——08配置Linux系统ssh免密码登陆
- 【Linux_Fedora_系统管理系列】_1_用户登录和系统初始配置
- Jenkins系列之—10 配置Linux系统ssh免密码登陆
- 在Linux系统上通过uWSGI配置Nginx+Python环境的教程
- Jenkins进阶系列之——09配置Linux系统ssh免密码登陆
- 大数据系列教程_硬件配置及软件列表
- Linux系统下PHP-FPM的安装和配置教程
- Linux系列:CentOS 网卡自动启动、配置等ifcfg-eth0教程
- 在Linux系统中安装配置性能监控软件Munin的教程
- Linux下的文件共享全攻略系列之二:NFS快速配置教程与安全策略
- Jenkins进阶系列之——09配置Linux系统ssh免密码登陆
- XP系统下用虚拟机安装centos 5.6(Linux系统)图文教程(二)—“linux优化配置”
- Apache SSL安装与配置教程(Linux系统)
- Jenkins进阶系列之——09配置Linux系统ssh免密码登陆
- Jenkins进阶系列之——09配置Linux系统ssh免密码登陆