共 8 篇文章
显示摘要每页显示  条
DNS &DHCP &Iptables - CentOS-4.4安裝DHCP.yum -y install dhcp dhcp-devel.#若您有給予特定主機固定IP請依下列設定 # we want the nameserver to appear at a fixed address# host ns {# next-server marvin.redhat.com;# hardware ethernet 12:34:56:78:AB:CD;# fixed-address 207.175.42....
[root@localhost cobbler]# cobbler check The following potential problems were detected: #0: The ''server'' field in /var/lib/cobbler/settings must be set to something other than localhost, or kickstarting features will not work.cobbler会生成kickstart文件的,会放在/var/www/cobbler/kickstarts, 记得修改这...
vmware虚拟机安装vmware tools。
编辑文件: /etc/hosts修改: xxx.xxx.xxx.xxx new-hostname.domainname new-hostname(这里的xxx代表本机的网络地址,也可以是环回地址127.0.0.1)修改后的 /etc/hosts 文件如下:127.0.0.1 localhost.localdomain localhost127.0.0.1 new-hostname.localdomain new-hostname.
7、# df -hl 查看分区大小是否和我们预定的一样:文件系统 容量 已用 可用 已用% 挂载点/dev/sda7 9.5G 3.2G 5.9G 35% //dev/sda6 9.5G 151M 8.9G 2% /tmp/dev/sda5 19G 3.6G 15G 20% /usr/dev/sda3 19G 719M 18G 4% /home/dev/sda2 230G 23G 196G 11% /var/dev/sda1 99M 25M 69M 27% /boot/dev/sdb1 233G 156G 78G 67% /var/samba2tmpfs 1008M...
linux iptables配置。[root@tp ~]# iptables -A INPUT -p tcp -dport 22 -j ACCEPT.[root@tp ~]# iptables -A OUTPUT -p tcp -sport 22 -j ACCEPT (注:这个规则,如果你把OUTPUT 设置成DROP的就要写上这一部,好多人都是望了写这一部规则导致,始终无法SSH.在远程一下,是不是好了.[root@tp ~]# iptables -A OUTPUT -p icmp -j ACCEPT (OUTPUT设置...
CentOS HA 集群。ha.cf是heartbeat的主要配置文件,可以对heartbeat的多数性能和状态进行配置。heartbeat启动时获取集群IP(cluster IP)为10.10.10.108,该IP成为heartbeat对外提供服务的网络地址。httpd和tomcat分别是apache和tomcat的启动脚本,heartbeat将从下面目录中寻找这些启动脚本:把节点ha01上的/etc/httpd/conf/httpd.conf文件复制...
LVS+Keepalived实现高可用集群操作系统平台:CentOS5.2 软件:LVS+keepalived LVS+Keepalived 介绍 LVS LVS是Linux Virtual Server的简写,意即Linux虚拟服务器,是一个虚拟的服务器集群系统。#vi /etc/keepalived/keepalived.conf (主调度器)#/usr/local/sbin/lvs-dr.sh stop 停止lvs-dr脚本 #/etc/init.d/keepalived start 启动keepalived...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部