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
Reset Ubuntu 12 root password Rumi, July 19, 2019 Boot up the machine, and after the BIOS screen, hold down the left Shift key. You will then be prompted by a menu that looks something like this: Hit the down arrow until you select the 2nd entry from the top (the one with the recovery mode in the description)… Continue Reading
Force reboot of a remote Linux machine Rumi, June 6, 2019 To force the kernel to reboot the system we will be making use of the magic SysRq key. The magic_SysRq_key provides a means to send low level instructions directly to the kernel via the /proc virtual file system. To enable the use of the magic SysRq option type the following… Continue Reading
Add a Static Route on CentOS Rumi, May 30, 2019 To add a temporary route: ip route add 172.16.5.0/24 via 10.0.0.101 dev eth0 To make it persist system or network settings restart, create a route-ifname file for an interface through which the subnet is accessed, in this case eth0: nano /etc/sysconfig/network-scripts/route-eth0 Add the line with the network settings for the other subnet:… Continue Reading