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…
Category: Administrations
Find Out NFS Clients Connected To My NFS Server
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…
Install webmin on centos 6
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.
How to Change Hostname on Ubuntu 18.04
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…
Split large file and combine file in Linux
$ 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…
Install Netdata on CentOS 6
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…
Allow firewalld for webmin access after post installation
FirewallD is an IPv6 compatible firewall mechanism used in recent Linux distributions (RedHat/Fedora/CentOS) replacing good old iptables.
Repeat a Linux Command Every X Seconds Forever- using watch
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…
Set Up Apache Virtual Hosts on Debian 7
Step One— Create a New Directory First, it is necessary to 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. By adding a -p to the line of code, the command automatically generates all the…
Change the listening port for RDP on your computer- Windows 10, Windows 8.1, Windows 8, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2008 R2
When you connect to a computer (either a Windows client or Windows Server) through the Remote Desktop client, the Remote Desktop feature on your computer “hears” the connection request through a defined listening port (3389 by default). You can change that listening port on Windows computers by modifying the registry….