摘要:
[root@linux ~]#chown root:root install.log[root@linux ~]#ls -l-rw-r--r-- 1 root root 24343 Jun 23 08:33 install.log 阅读全文
摘要:
1. create a NFS (not NFS4) in CentOS5.51.1 check the /etc/hosts in the serverside192.168.2.142com1 #serverside 192.168.2.139com2 #clientside1.2. install nfs and portmapsudo yum install nfs-utilssudo yum install portmap1.3. In order to let the server start when computer startin the System --> Admi 阅读全文
摘要:
不少系统中,都有NFS的需要。那么在一些不产用以及开发系统中如何添加NFS平台呢?这里我们就来讲解一下CentOS的NFS服务器的创建。希望对大家有所帮助。CentOS下搭建NFS平台的具体过程:1、先在VM下装一个CentOS作为NFS服务器(nfs-server.example.com),再克隆一个作为NFS客户端(nfs-client.example.com),MINI安装即可.NFS服务器分配IP为192.168.1.100,NFS客户端分配IP为192.168.1.200.nfs-server.example.com配置如下:[root@nfs-server ~]# cat /etc 阅读全文
摘要:
/etc/sysconfig/networkchange HOSTNAME=AAAthis will change hostname, but no ip address/etc/hotsxxx.xxx.xxx.xxx AAAThis will change hostname, and also set AAAip address 阅读全文
摘要:
write csh scriptfor example=========#!/bin/cshsource xxxx=========sava as aa.cshin bbbash filewrite as============#!/bin/bashcsh ./aa.csh============then in the terminal typebbbash 阅读全文
摘要:
将LINUX系统的警告喇叭声去掉Linux系统的终端按backspace时会有很大的警告喇叭声解决方法sudo modprobe -r pcspkr或者system - Perferences - sound system beep enable system beep 上不打√ 阅读全文
摘要:
unmount a directoryin the client linuxsudo umount /datastop nfssudo service portmap stopsudo service nfs stopshutdown client computer===========in the server linuxstop nfssudo service portmap stopsudo service nfs stopshutdown server linux=========== 阅读全文
摘要:
先确认如下包已安装nfs-utils,portmap然后开始配置======================1.Server 端配置NFS 启动需要的服务:rpc.nfsd: 管理Client是否能够登陆主机的权限,还包括登陆者的ID判别rpc.mountd:管理NFS的文件系统,当client端通过rpc.nfsd登陆主机后rpc.rquotad:磁盘配额管理# vi /etc/exports//编辑此文件增加NFS的共享内容,如果没有该文件则增加.exports主要参数:rw:可读写权限ro:只读权限no_root_squash:对于登陆NFS主机的共享目录用户如果是root的话则对该目录 阅读全文
摘要:
System->Security level and Firewall->set Firewall ooption Disabledcan not use sudo /etc/init.d/iptables startstart the firewallif want to start the firewallSystem->Security level and Firewall->set Firewall ooption ->Enabledsudo /etc/init.d/iptables status should be able to use iptable 阅读全文
摘要:
/etc/hostsip address 192.168.23.13192.168.23.12 computername 阅读全文