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
Set Up Apache Virtual Hosts on Debian 7 Rumi, July 29, 2019 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… Continue Reading
How to copy files using no owncloud web interface Rumi, July 22, 2019July 22, 2019 Migrating was instant since we’re moving on the local fs. Checking the above screenshot you can see the rights are still the same of course. Own the folders to the ownCloud user and change the permissions to octal 755: # Recursively own the folder to www-data sudo chown -R www-data:www-data… Continue Reading
Increasing Attachment Size in Posfix Rumi, July 19, 2019 Postfix by default restrict attachment size to approx 10MB i.e. 10240000 bytes. You can check it using following command: postconf | grep message_size_limit To change attachment-size to say 50 MB, run a command like: postconf -e message_size_limit=52428800 Note: If you are running a mail-server with SMTP/IMAP access, you need to change… Continue Reading
Install Poppassd in CentOS 7 Rumi, July 19, 2019November 15, 2019 Steps for configuration change password plugin for squirrelmail/Horde/Rainloop using poppassd are: Download poppassd.c from https://netwinsite.com/poppassd/ Look at poppassd.c and make sure it looks safe yum -y install gcc gcc poppassd.c -o poppassd -lcrypt mv poppassd /usr/local/bin/ yum -y install xinetd cp /etc/xinetd.d/time-stream /etc/xinetd.d/poppassd nano /etc/xinetd.d/poppassd Update “service time” to “service… Continue Reading
DNS Slave Using Virtualmin Rumi, July 19, 2019 DNS Slave Auto-Configuration Quickstart A quick guide to assist administrators who want to use Virtualmin’s automatic DNS slave configuration features. This allows for DNS server redundancy. Introduction Virtualmin can automatically manage any number of DNS slave servers for you. Once configured, it will create slave zones on other servers and… Continue Reading