Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
Create Permanent alias on CentOS/Redhat
The ‘alias’ command in CentOS allows for you to create an alias to a command. For example, if you want to use the vim text editor, but are used to typing vi file-to-edit.txt, you can create an alias to automatically start vim instead of vi when typing the command. Showing current aliases To show the […]
Mount SSHFS In Redhat / CentoS
Step 1 – Enabling the kernel module This is a simple step – all you need to do is run the following command as the root user: modprobe fuse Step 2 – Installing Fuse/SSHFS yum install fuse-sshfs sshfs Step 3 – Using SSHFS The commands to use SSHFS are fairly simple. To mount a remote […]
Install and configure LSYNCD on Centos 7
Enviroment: – Server01.192.168.30.201 – Server02.192.168.30.202 – Directory to be Sync : “/opt/web/htdocs/prompt and /opt/vxml ” 2.Step Key based authentication Configuration -Login to Master server & generate the public and Private keys using the following command: [root@server01 ~]# ssh-keygen -t rsa [root@server01 ~]# ssh-copy-id -i /root/.ssh/id_rsa.pub root@192.168.30.202 2.Step Installation Lsyncd [root@server01 ~]# yum install epel-release [root@server01 […]