yum -y install mc wget unzip net-tools lsof ntp nfs-utils nfs4-acl-tools portmap autofs vim

yum -y install xclock xauth xhost xorg-x11-fonts*

yum -y install libstdc++.i686 libXtst pam.i686 dejavu-lgc-sans-fonts gtk2.i686 gtk2 libXtst.i686

ssh

.Xauthority

vi /etc/ssh/sshd_config

#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
X11UseLocalhost no
#PermitTTY yes

service sshd restart

Security

systemctl stop firewalld
systemctl disable firewalld

vi /etc/sysconfig/selinux
SELINUX=disabled

vi /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

systemctl start rpcbind
systemctl enable rpcbind

vi /etc/security/limits.conf

*    soft    nofile 65536
*    hard    nofile 65536

ntp

ntpdate pool.ntp.org
chkconfig ntpd on
service ntpd start

nfs

systemctl enable nfs-server

// for sharing folders

vi /etc/exports

// to show exported folders

showmount -e

// to stop start nfs

service nfs status

// to mount external folders

mount -t nfs mmac.hensler.net:/Volumes/DATACUBE /mnt

// to automatically mount external folders

vi /etc/fstab
mmac.hensler.net:/Volumes/DATACUBE /mnt/ nfs defaults 0 0

vi /etc/idmapd.conf
Domain = sites

Midnight Commander

Midnight Commander for Mac OS X

LC_CTYPE

vim /etc/environment

LANG=en_US.utf-8
LC_ALL=en_US.utf-8

Leave a Reply

Your email address will not be published. Required fields are marked *