網頁

2019年11月22日 星期五

NIS+NFS安裝

NIS:
http://linux.vbird.org/linux_server/zspace/new0430nis.php
https://qizhanming.com/blog/2018/08/08/how-to-install-nfs-on-centos-7
http://it001.pixnet.net/blog/post/324192967-it%e4%ba%8b%e4%bb%b6%e7%b0%bf-%e5%bb%ba%e5%80%8bnis%e6%9c%8d%e5%8b%99%e5%90%a7
http://lms.ctl.cyut.edu.tw/course_open.php?courseID=14406&f=open_doc&cid=618753
https://www.server-world.info/en/note?os=CentOS_7&p=nis&f=2

NFS:
http://it001.pixnet.net/blog/post/324341236-it%E5%B0%88%E6%A1%88-%E5%BB%BA%E5%80%8B%E9%9B%86%E4%B8%AD%E5%B8%B3%E8%99%9F%E6%8E%A7%E7%AE%A1%E4%BC%BA%E6%9C%8D%E5%99%A8%E5%90%A7%3Cnis%2Bnfs%3E-%E4%B8%8B
http://blog.ilc.edu.tw/blog/index.php?op=printView&articleId=682710&blogId=25793
https://blog.51cto.com/395469372/2315339

yum install openssh*
vi /etc/ssh/sshd_config
http://www3.sips.ntpc.edu.tw/wordpress/?p=3481

主機如果重開機,先把網路線拔掉,等
$ systemctl start ypbind
$ systemctl enable ypbind
輸入完再插網路線,否則會當機

ipv6禁用導致rpcbind服務啟動失敗實例
https://www.itread01.com/content/1552654687.html

在/etc/hosts.allow中新增允許客戶端訪問的規則 ALL: 127.0.0.1 #允許本機訪問本機所有服務程序
mountd: 192.168.1.0/255.255.255.0
rpcbind: 192.168.1.0/255.255.255.0
sshd: 192.168.1.0/255.255.255.0 #允許192.168.100.網段的IP訪問伺服器上的sshd程序
#允許外網的IP訪問這個伺服器上的sshd程序
sshd: 140.112.22.228 140.112.22.229 140.112.22.230
sshd: 140.112.23.171 140.112.23.172 140.112.23.173
sshd: 140.112.23.171 140.112.23.172 140.112.23.173
sshd: 140.112.23.174 140.112.23.176 140.112.23.236
#httpd: ALL
#vsftpd: ALL

$ vi /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.2   hostname.domain hostname
$ systemctl restart network.service

$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain   localhost
# 主機的 IP             主機的名稱              主機的別名
主機名稱: 通常是使用完整的網域名稱,也就是主機名稱加上網域名稱

'abrt-cli status' timed out
$ abrt-auto-reporting enabled

bash-4.2#
https://jingyan.baidu.com/article/c45ad29c76cdf5051653e243.html

Centos 7 安裝
https://kevinzjy.github.io/2019/06/14/CentOS_Gridview/

沒有留言:

張貼留言