RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineI was recently working on setting up http to https redirects for multi domain site. Using Nginx I added the redirect rule as below: rewrite ^ https://$host$request_uri? permanent; But no matter no what I did it would redirect to https…
How To: Count.ly Server Backup Script – Local, Remote, Rotate – Automated Daily via Cron
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineThis is a Linux Backup Script to Backup all the needed Count.ly Settings and Databases of your Count.ly Server It supports both Local and Remote Backups as well as Backup Rotation and can be Automated via Crontab. The Git Repo can…
How To: Linux SSH KEY Password Free Automatic Config Authentication – Backup, SFTP, SCP
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineThis is a guide on how to set up a Password Free SSH Key Automatic Config Authentication between two servers so that the Origin Server can log in to the Destination Server and write the files to the Destination Server Automatically. 1. Create a passphrase-free ssh key…
How to: Linux Find Large Files on Disk
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineThere is no single command that can be used to list all large files. But, with the help of find command and shell pipes, you can easily list all large files. Linux List All Large Files To finds all files over…
How to Linux – Checking Free Disk Space Human Readable
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineLinux offers and easy command for checking out free disk space: df command : Report file system disk space usage df command examples – to check free disk space Use the command below to displays the free space on the disk in…
How to Linux: Get Directory Size in Human Readable – How do I determine the size of a directory?
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineLinux offers a nice command to check the size of a Directory The size of a directory and its contents can be determined using the “du” command in Linux. It has a variety of options that you can view via…
SOLVED: BUG – CentOS – Yum – RPM Broken by nss-softokn-3.14.3-19.el6_6 Update – error: rpmts_HdrFromFdno – error: rpmdbNextIterator – Header V3 RSA/SHA1 Signature, key ID BAD
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineFor CentOS servers an update for the nss-softokn package was release today – nss-softokn-3.14.3-19 However, nss-softokn-3.14.3-19 needs nss-softokn-freebl-3.14.3-19 to operate properly, and vice versa, but those packages do not have checks in place to make sure that a matching version…
How to: Virtualmin Two Factor Google Authenticator – Authen::OATH – CentOS
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineThis is my guide to setting up Two-factor Google-Authenticator for Virtualmin on CentOS. Virtualmin now has Two Factor Built in: http://doxfer.webmin.com/Webmin/EnhancedAuthentication In Virtualmin Click on the: Webmin >> Webmin >> Webmin Users >> Two-Factor Authentication >> Enable Two-Factor For User…
SOLVED: APK download file size not shown – no download percentage – SetEnv – htaccess – PHP Content-Length – Apache Server – CentOS
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineWhen trying to host an APK file on my server I was able to get it to download fine – but I was not able to get the file size to show in the download – including showing the download…
SOLVED: Virtualmin CentOS 5/6/7 Linux Bash Bug – Critical update
RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineTo Fix Run yum update as soon as possible! Here is the Bug Report: https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/ Links to the actual Centos Bash updates: CentOS-5: http://lists.centos.org/pipermail/centos-announce/2014-September/020582.html CentOS-6: http://lists.centos.org/pipermail/centos-announce/2014-September/020585.html CentOS-7: http://lists.centos.org/pipermail/centos-announce/2014-September/020583.html