In order to make Virtualmin work you will most likely need to fix this error. A problem was found with your Postfix Virtual Maps : No map sources were found in Postfix config. Just add the following text in Postfix Webmin > Servers > Postfix Mail Server > Virtual Domains > Domain mapping lookup tables Full Article…
Configuring Virtualmin for BCCing Email
Configuring Virtualmin for BCCing Email Before you can enable BCCing for any domains, the following steps must be performed : Login to Virtualmin as root, and go to Webmin → Servers → Postfix Mail Server. Click on the BCC Mapping icon, and make sure the Sender BCC mapping lookup tables field is set. If it is not, you should enter a map specification like hash:/etc/postfix/bcc . Then Full Article…
How to apply Magento patches in Windows environment
Able to make it works on windows machine as well for PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh. Problem was: CURRENT_DIR=$PWD_BIN/ (line 60) and the value of $PWD_BIN is defined in same file PWD_BIN=which pwd (line 35) as which doesn't wok on windows so we will need to replace this value. Open bash Your current directory should be the root of magento. Full Article…
How to calculate directory size
In Centos, if you want to calculate directory size, you can use this command: du -msh /directory This command will show the unit of directory size.
Unable to resize root partition on EC2 centos
This is what it had to be done Stop the instance Create a snapshot from the volume Create a new volume based on the snapshot increasing the size Check and remember the current's volume mount point (i.e. /dev/sda1) Detach current volume Attach the recently created volume to the instance, setting the exact mount point Restart Full Article…
How to Stop and Disable Firewalld on CentOS 7
It is highly recommended that you have another firewall protecting your network or server before, or immediately after, disabling firewalld. Pre-Flight Check These instructions are intended specifically for stopping and disabling firewalld CentOS 7. I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root. Disable Firewalld To Full Article…
Enable or Disable SELinux
From the command line, you can edit the /etc/sysconfig/selinux file. This file is a symlink to /etc/selinux/config. The configuration file is self-explanatory. Changing the value of SELINUX or SELINUXTYPE changes the state of SELinux and the name of the policy to be used the next time the system boots. [root@host2a ~]# cat /etc/sysconfig/selinux # This file controls the state of SELinux on Full Article…
Disable X-Frame-Options on apache
See X-Frame-Options header on error response You can simply add following line to .htaccess Header always unset X-Frame-Options
Fixing “no input file specified” error with .htaccess or php.ini
This error usually occurs on hosting, because of the way they have PHP installed. Method 1: If you are using Virtualmin, you should change the PHP script execution mode, the default mode is "FCGId (run as virtual server owner)". You should change it to "Apache mod_php (run as Apache's user)". After changing the execution mode, Full Article…