Apache Virtual Hosts on CentOS Rumi, August 24, 2019 Step One— Create a New Directory The first step in creating a virtual host is to a create a directory where we will keep the new website’s information. This location will be your Document Root in the Apache virtual configuration file later on. By adding a -p to the line… Continue Reading
Find Out NFS Clients Connected To My NFS Server Rumi, August 19, 2019 You can use the following commands. SSH or login into your nfs server and type the following command: netstat -an | grep nfs.server.ip:port If your nfs server IP address 192.168.1.12 and port is 2049, enter: netstat -an | grep 192.168.1.12:2049 Sample outputs: tcp 0 0 192.168.1.12:2049 192.168.1.5:757 ESTABLISHED tcp 0 0 192.168.1.12:2049… Continue Reading
Install Plex on Ubuntu 18.04 Rumi, August 14, 2019 Plex is a streaming media server that lets you organize your video, music, and photo collections and stream them to all of your devices at any time and from anywhere. Although this tutorial is written for Ubuntu 18.04 Bionic Beaver the same steps can be used for Debian and Ubuntu… Continue Reading
Basic Email Server with Postfix, Dovecot and Squirrelmail on CentOS 6 Rumi, August 8, 2019 Step 1 »Before installation assign a static ip and add a host entry for your domain to that IP in the /etc/hosts file like below. 192.168.0.15 tweenpath.net Step 2 » Issue the below command to install postfix [root@mail ~]# yum -y install postfix Step 3 » Now issue the below command to install SMTP… Continue Reading
Install webmin on centos 6 Rumi, August 8, 2019 Step 1 » Create a new file webmin.repo in /etc/yum.d/ and add the below code. [Webmin] name=Webmin Distribution Neutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1 Step 2 » Install webmin GPG key using below command. Continue Reading
How to Change Hostname on Ubuntu 18.04 Rumi, August 6, 2019 Display the Current Hostname To view the current hostname, enter the following command: hostnamectl As you can see in the image above, the current hostname is set to ubuntu1804.localdomain. Change the Hostname The following steps outline how to change the hostname in Ubuntu 18.04. 1. Change the hostname using hostnamectl… Continue Reading
Split large file and combine file in Linux Rumi, August 6, 2019August 6, 2019 $ du -h Linux\ Security.mp4 Sample output: 1.1G Linux Security.mp4 As you see, the video file size is 1.1 GiB, which is very large to upload to my google drive. Even though, Google Drive lets users upload files up to 5TB in size, it is really time consuming process. With my low speed Internet… Continue Reading
Install Netdata on CentOS 6 Rumi, August 6, 2019 Installing Netdata [root@linuxhelp Desktop]# yum install zlib-devel libuuid-devel libmnl-devel gcc make git autoconf autogen automake pkgconfig -y Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Determining fastest mirrors . . perl-Error.noarch 1:0.17015-4.el6 perl-Git.noarch 0:1.7.1-9.el6_9 ppl.x86_64 0:0.10.2-11.el6 Complete! It doesn’t end with that, you should also install additional packages. Run… Continue Reading
Allow firewalld for webmin access after post installation Rumi, August 4, 2019 FirewallD is an IPv6 compatible firewall mechanism used in recent Linux distributions (RedHat/Fedora/CentOS) replacing good old iptables. Continue Reading
Repeat a Linux Command Every X Seconds Forever- using watch Rumi, July 29, 2019 Use watch Command Watch is a Linux command that allows you to execute a command or program periodically and also shows you output on the screen. This means that you will be able to see the program output in time. By default watch re-runs the command/program every 2 seconds. The… Continue Reading