Linux : Yum Error: database disk image is malformed

Having this error message while running a “yum install” or “yum update” command on your RHEL/CentOS Linux system? Error: database disk image is malformed 1. Simply run the following command to fix this issue : yum clean all 2. Alternatively, if the problem is still persisting, then try to move the RPM database to a… Read More »

Web : Customize ownCloud slogan footer text

Here is some indication how to customize the footer text “ownCloud – web services under your control”, title, etc. This can be achieved easily editing the following file under your ownCloud root folder : /lib/private/defaults.php Then, locate the following starting at line number 31 : $this->defaultEntity = “ownCloud”; /* e.g. company name, used for footers and… Read More »

Category: Web

Windows : Blocking IP from command line

Here is two commands to wither block a single or group of IPs on the Windows Firewall using the command line. Please note that you will need elevated privileges to run these commands. 1. Block a single IP (or subnet*) netsh advfirewall firewall add rule name=”IP Block” dir=in interface=any action=block remoteip=<IP_Address>/32 *You will need to… Read More »

Linux : Configuring SSL certificate with Nginx

Setting up SSL certificate with Nginx is quite easy, however slightly differ from the standard configuration since it require that the server certificate and the certificate authority (CA) to be bundled together within a single PEM file. NOTE : See this article if you are looking for the procedure how to generate a certificate key… Read More »

JunOS : How to configure automated configuration backup

For sure, if you are concerned about your network you will make sure that you always have a good backup of your configuration file somewhere. Fortunately, JunOS have a nice built-in backup function through FTP or SFTP. It allow you to do an automated backup at defined time interval and even more, every time you… Read More »

Linux : Bind loading master file domain.tld.hosts: ran out of space

Bind (named) DNS server is failing to reload or restart after modifying a domain TXT record? Have a look at your Bind log files (commonly written to /var/log/messages) and you may find the following entries : named: dns_rdata_fromtext: domain.tld.hosts:0: ran out of space named: zone domain.tld/IN: loading master file domain.tld.hosts: ran out of space named:… Read More »

Linux : How to enable php-imagick module support on CentOS/RHEL 6

PHP imagick module is not a part of the default installation yet. Here is some easy steps to enable php-imagick module on your system. 1. First install the required development and dependency packages : yum install make gcc php-devel php-pear ImageMagick ImageMagick-devel 2. Compile php-imagick module : pecl install imagick 3. Add the extension to php.d as followed… Read More »