Recently Updated Pages
Script - MySQL Dump Databases Separated by DB Name
#!/bin/bash DUMP_EXEC="mysqldump" #path to mysqldump MYSQL_EXEC="mysql" #path to mysql MYS...
Convert PNG to ICO using ImageMagick
convert logo.png -define icon:auto-resize=64,48,32,16 logo.ico
SSH Tunneling
ssh -p <port> <username>@<remote host> -L <local listening port>:<remo...
Monitor Mode on Broadcom-wl Driver
Enable monitor mode: $ echo 1 > /proc/brcm_monitor0 Enabling monitor mode will create a pris...
FirewallD - Opening a Port
Use this command to find your active zone(s): firewall-cmd --get-active-zones It will say eithe...
How to do Mac/iOS Stuff in Linux
Converting Apple Developer Certificate to .p12 with OpenSSL Convert the developer certificate f...
Syncing Files with FTP
I came across a problem when doing migration last time, the server grew too big that I cannot jus...
LAMP Stack Upgrade Issues
"Table Doesn't Exists" After MySQL/MariaDB Upgrade Paste MySQL data directory to upgraded data d...
Standard Installation Procedures for LAMP Stack on CentOS 7
1. System Upgrade yum -y update 2. Install Required Software yum -y install git policycoreu...
Using LetsEncrypt for OpenVPN WebSSL
Using letsencrypt for OpenVPN Access Server is nothing more than symlinking the files to letsencr...
Migrating Self-Signed SSL Certificate to LetsEncrypt Certificate
Download Let's Encrypt Client sudo -s git clone https://github.com/letsencrypt/letsencrypt /op...
Setup SFTP to Public Directory (/var/www)
Configuring SSH for SFTP vim /etc/ssh/sshd_config Comment the following line: Subsystem sf...
RHEL VLAN and Bonding Configuration
Check list: Check whether the 8021q module has been loaded. lsmod | grep 8021q If the 8021q m...
OpenVPN - Firewall Configuration
FirewallD Use the following commands to open all ports required by OpenVPN: firewall-cmd --list...
IPTables - Forwarding Between LAN and WLAN
Add the following to /etc/udev/rules.d/10-network.rules, substitute LAN_MAC_ADDR and WLAN_MAC_ADD...
CentOS 7 - Configuring Cacti
Install Required Dependencies yum -y install mariadb-server php php-cli php-mysql net-snmp-utils...
Connecting to OpenVPN Using NetworkManager
Install the required packages sudo apt-get install network-manager network-manager-openvpn netwo...
Batch Image Resize
Keeping Aspect Ratio mogrify -path [Full path to store the resized images] -resize [width]x[heig...
Cheking Printer Ink Level
It can be frustrating sometimes that Linux users aren't able to check the ink levels on our print...
New ArchLinux Installation Checklist (LXDE)
SSH Key Askpass x11-ssh-askpass Display Manager xorg-xinit lightdm lightdm-gtk3-greeter ...