Tutorials

  • Fix Debian 9 Upgrade apt-get update freezes and stops [0% Working]

    Fix Debian 9 Upgrade apt-get update freezes and stops [0% Working]

    Since our last dist-upgrade from Debian 8 Wheezy to Debian 9 Stretch, we’ve encountered quite a few new issues. By issues, I am referring to incompatibilities with any manual changes that I have made to my PC. Most of the repositories that I have manually added have to be manually adjusted from wheezy to stretch. … Continue reading Fix Debian 9 Upgrade apt-get update freezes and stops [0% Working] →Read More »
  • Using Rufus on Linux to make Bootable Windows USB. WoeUSB: WinUSB for Linux Debian, Ubuntu

    Using Rufus on Linux to make Bootable Windows USB. WoeUSB: WinUSB for Linux Debian, Ubuntu

    Only recently I found out Etcher.io didn’t make bootable Windows USB’s properly, or rather, did not support it at all. There are 3 ways to make Windows Bootable USBs on Debian Ubuntu of any Linux distro, but first you’ll need a Windows ISO which Windows themselves now provide. Just search “Windows ISO” and make sure … Continue reading Using Rufus on Linux to make Bootable Windows USB. WoeUSB: WinUSB for Linux Debian, Ubuntu →Read More »
  • Fix or Repair Debian GRUB when it’ not working. Blank screen with blinking underscore cursor.

    Fix or Repair Debian GRUB when it’ not working. Blank screen with blinking underscore cursor.

    Playing around with GRUB is a nightmare for the first few times, and often GRUB reinstallations will actually be mandatory when installing multiple operating systems on the same drive, or multiple drives, or after reinstalling windows or vice versa. If you can’t boot into your OS, you’ll need a linux live CD of any kind … Continue reading Fix or Repair Debian GRUB when it’ not working. Blank screen with blinking underscore cursor. →Read More »
  • John the Ripper VPS/Dedicated Server Cracking – Multiple Core & Thread Research Tutorial

    John the Ripper VPS/Dedicated Server Cracking – Multiple Core & Thread Research Tutorial

    John the Ripper, also know as john in yum & apt package managers, is an open source password cracker and hash decipher program. Here is a “How To” tutorial for using John the Ripper on VPS or Dedicated instances so that you can leave it running overnight, for example. John the Ripper CentOS & Fedora … Continue reading John the Ripper VPS/Dedicated Server Cracking – Multiple Core & Thread Research Tutorial →Read More »
  • Paste Clipboard on Linux with xdotool (Ctrl + V into terminal or type)

    Paste Clipboard on Linux with xdotool (Ctrl + V into terminal or type)

    Ctrl + V (paste shortcut) doesn’t work everywhere that you expect it to work. For example, using noVNC, I really need to paste certain strings that I’ve already copied to clipboard with Ctrl + C. The program for the job is xdotool. sudo apt-get install xdotool Open your keyboard shortcuts tool, on Xfce it’s in … Continue reading Paste Clipboard on Linux with xdotool (Ctrl + V into terminal or type) →Read More »
  • Android VNC Viewer Portait APK

    Android VNC Viewer Portait APK

    Download the Android VNC Viewer APK file below: Download android.androidVNC-1.apk Credit: business…@gmail.com on 1 Nov 2011 at 5:44Read More »
  • Fix Copy/Paste Issue with Facebook Messenger & Posts on Linux (Ubuntu/Debian/Mint)

    Fix Copy/Paste Issue with Facebook Messenger & Posts on Linux (Ubuntu/Debian/Mint)

    If you can’t copy and paste properly on Facebook without the comment or message becoming jumbled up, you may have to allow a certain Firefox setting in the about:config that allows clipboard events to function properly on Linux distros. Open a new tab and type: about:config Search for: dom.event.clipboardevents.enabled Double click on this entry to … Continue reading Fix Copy/Paste Issue with Facebook Messenger & Posts on Linux (Ubuntu/Debian/Mint) →Read More »
  • Protected: Bulk check IP list (CSV, txt) data with MaxMind mmdb (mmdblookup)

    Protected: Bulk check IP list (CSV, txt) data with MaxMind mmdb (mmdblookup)

    There is no excerpt because this is a protected post.Read More »
  • VestaCP: Error Establishing a database connection (Digital Ocean/VPS Fix)

    VestaCP: Error Establishing a database connection (Digital Ocean/VPS Fix)

    If you have WordPress sites on a VPS with less than 700mb-1gb of RAM, you may experience intermittent MySQL downtime as the service turns itself off when it exceeds your server or allocated resource usage. The following commands will append to your crontab. This will check if mariadb/mysqld is running, if it’s not running, it … Continue reading VestaCP: Error Establishing a database connection (Digital Ocean/VPS Fix) →Read More »
  • Download a WeVideo video with cURL

    Download a WeVideo video with cURL

    Click play on the video. Then right click on the video and inspect element. Find <video class=”fp-engine”…. and copy the Akamai URL. Alternatively click download on the video and once the download starts, cancel it, open your download queue and then right click on the download and copy the download URL. With either of the … Continue reading Download a WeVideo video with cURL →Read More »
  • Create a Hidden Tor Service with VestaCP in 10 MINUTES! ULTIMATE ONION SITE GUIDE! Ubuntu/Debian/CentOS!

    Create a Hidden Tor Service with VestaCP in 10 MINUTES! ULTIMATE ONION SITE GUIDE! Ubuntu/Debian/CentOS!

    Disclaimer: this guide was written for research purposes only because the Author wanted an .onion version of a normal website. The Author does not host any hidden services, only .onion addresses for already existing .com websites so that they can be accesses by .onion addresses too. This guide requires almost NO technical knowledge to start … Continue reading Create a Hidden Tor Service with VestaCP in 10 MINUTES! ULTIMATE ONION SITE GUIDE! Ubuntu/Debian/CentOS! →Read More »
  • Linux HotKey to Type a Pre-defined String (xdotool)

    Linux HotKey to Type a Pre-defined String (xdotool)

    Depending on your distro, you should have a keyboard shortcut program already installed. I wanted to be able to paste the following very oftenly typed command when pressing a certain key combination: cd /home/admin/web/*/public_html/ First, you’ll need xdotool sudo apt-get install xdotool I was having trouble putting the commands directly into the keyboard shortcut entry, … Continue reading Linux HotKey to Type a Pre-defined String (xdotool) →Read More »
  • How To Install Megatools on CentOS 7 VPS

    How To Install Megatools on CentOS 7 VPS

    According to the Megatools official documentation page on github, you’ll need the following tools for using Megatools on Fedora (and git of course): yum -y install gcc make glib2-devel libcurl-devel openssl-devel gmp-devel tar automake autoconf libtool wget -y wget https://megatools.megous.com/builds/megatools-1.9.97.tar.gz tar -xzvf megatools*.tar.gz cd megatools* ./configure make make install megadl 'MEGA URL' Note the ‘single … Continue reading How To Install Megatools on CentOS 7 VPS →Read More »
  • Oneliner: Patch Dirty COW Exploit CentOS 5, 6 & 7

    Oneliner: Patch Dirty COW Exploit CentOS 5, 6 & 7

    This script is from RedHat themselves: wget https://access.redhat.com/sites/default/files/rh-cve-2016-5195_1.sh Then run this command to check if your kernel is vulnberable: bash rh-cve-2016-5195_1.sh Send this command out to all of your CentOS servers to patch their kernels: sudo yum update kernel -y && rebootRead More »
  • Etcher: AMAZING Unetbootin Alternative for Ubuntu/Debian/Linux/Windows

    Etcher: AMAZING Unetbootin Alternative for Ubuntu/Debian/Linux/Windows

    Unetbootin is FURIOUSLY difficult to install on Ubuntu, Debian and even Windows. I tried the ~5MB unetbootin-linux-xxx.bin file which FAILED. I tried the ~23MB unetbootin-linux.tar.gz source code which FAILED. I tried WinUSB which failed. I tried to get USB-Image Writer, which also failed. Finally found Etcher, fully open source bootable SD & bootable USB image … Continue reading Etcher: AMAZING Unetbootin Alternative for Ubuntu/Debian/Linux/Windows →Read More »
  • EASY: Move OS & Files from HDD to SSD – Debian, Ubuntu, Fedora, Arch (SMALL SSD)

    EASY: Move OS & Files from HDD to SSD – Debian, Ubuntu, Fedora, Arch (SMALL SSD)

    This tutorial is people who will ADD an SSD to their system. This NOT for people who will REPLACE their HDD completely with their SSD. This is by far the easiest, most foolproof, and safest way to transfer 1 linux installation (Debian, Ubuntu, Fedora, Arch, Kali etc.) to a brand new SSD. For the transfer … Continue reading EASY: Move OS & Files from HDD to SSD – Debian, Ubuntu, Fedora, Arch (SMALL SSD) →Read More »
  • SUPER SIMPLE: Migrate/Move VestaCP Installation (10 seconds or less!)

    SUPER SIMPLE: Migrate/Move VestaCP Installation (10 seconds or less!)

    I’ve moved VestaCP installations so fast that by the time a customer started the checkout page in Sydney, they submitted their order to Amsterdam. This is best achieved with Cloudflare as there will be absolutely no downtime, whatsoever. First make sure there is a new VestaCP installation on your new server. If you have a … Continue reading SUPER SIMPLE: Migrate/Move VestaCP Installation (10 seconds or less!) →Read More »
  • Prevent “Write Failed: broken pipe” Timeout when using SSH

    Prevent “Write Failed: broken pipe” Timeout when using SSH

    Navigate to your .ssh folder and create a file called config. Add this to the file: Host * ServerAliveInterval 15 This will prevent the broken pipe timeout error from reoccurring.Read More »
  • Protected: Install Legacy MaxMind GeoIP on CentOS 7 & VestaCP (ISP & GEO Redirect)

    Protected: Install Legacy MaxMind GeoIP on CentOS 7 & VestaCP (ISP & GEO Redirect)

    There is no excerpt because this is a protected post.Read More »
  • VestaCP: Best CPanel Alternative. World’s #1 Web Server Panel

    VestaCP: Best CPanel Alternative. World’s #1 Web Server Panel

    VestaCP is a free, open source, GPL v3 Licensed hosting control panel that is so innovative that it will change the way websites and hosting works. You can read about it here https://vestacp.com/.Read More »
  • CentOS 7 .onion Tor Website Auto-install (2016)

    CentOS 7 .onion Tor Website Auto-install (2016)

    THIS GUIDE IS INCOMPLETE, PLEASE USE THE TOR VESTACP GUIDE FOUND HERE. The following guide is a simplified version of various “onion site guides” that are currently available. Guides from 2014 and 2015 seem to be quite lacking in substance and some use apache, phpmyadmin This guide was written to make a tor version of … Continue reading CentOS 7 .onion Tor Website Auto-install (2016) →Read More »
  • “Securely” generate Custom or Vanity .onion on VPS (Debian/Ubuntu/CentOS)

    “Securely” generate Custom or Vanity .onion on VPS (Debian/Ubuntu/CentOS)

    Word of warning: if you’re using a VPS service, such as Vultr, they may allow you to overclock your CPU which may be a terms of service violation as you’re using shared resources. On our first trial run, the CPU hit 1000% which may get you banned. Even on a dedicated instance we still hit … Continue reading “Securely” generate Custom or Vanity .onion on VPS (Debian/Ubuntu/CentOS) →Read More »
  • Find all files matching pattern recursively linux (Debian/CentOS/Ubuntu)

    Find all files matching pattern recursively linux (Debian/CentOS/Ubuntu)

    I love grep and I love simple code. find find will show all files recursively from what directory you are currently in. This will find all files, and then from that list it will show you files matching file.html find | grep file.html This will find all files again, and then grep files from that … Continue reading Find all files matching pattern recursively linux (Debian/CentOS/Ubuntu) →Read More »
  • How To Find All IPs for VPN Service (Private Internet Access)

    How To Find All IPs for VPN Service (Private Internet Access)

    I wanted to use every Private Internet Access (PIA) IPs to run a script using each of their full list of IP addresses once. For other companies, copy and paste a list of their whole network addresses list. For PIA, they First, save a copy of all their servers names. For PIA I had to … Continue reading How To Find All IPs for VPN Service (Private Internet Access) →Read More »
  • Find all IPs for a website or URL.

    Find all IPs for a website or URL.

    On linux you can use the host command to find out all the IP address for a hostname or website. Here is an example: host us-california.privateinternetaccess.com Example output: us-california.privateinternetaccess.com has address 107.152.98.165 us-california.privateinternetaccess.com has address 107.152.98.152 us-california.privateinternetaccess.com has address 198.8.80.182 us-california.privateinternetaccess.com has address 198.8.80.31 us-california.privateinternetaccess.com has address 198.8.80.172 us-california.privateinternetaccess.com has address 198.8.80.149 us-california.privateinternetaccess.com has address … Continue reading Find all IPs for a website or URL. →Read More »
  • Protected: Install MaxMind GeoIP on CentOS 7 & VestaCP (ISP & GEO Redirect)

    Protected: Install MaxMind GeoIP on CentOS 7 & VestaCP (ISP & GEO Redirect)

    There is no excerpt because this is a protected post.Read More »
  • Install LogMeIn Technician Console on iPhone & Android! LogMeIn App!

    Install LogMeIn Technician Console on iPhone & Android! LogMeIn App!

    This guide is to be able to use LogMeIn Rescue Technician Console on your iPhone or Android device. This method uses my other guide (create an Ubuntu desktop on a VPS) but I have made a simplified version right here. iPhone: install VNC Viewer from the AppStore. Android: install VNC Viewer from the Play Store … Continue reading Install LogMeIn Technician Console on iPhone & Android! LogMeIn App! →Read More »
  • Install LogMeIn Technician Console on Mac & Linux (Ubuntu/Debian/Mint)

    Install LogMeIn Technician Console on Mac & Linux (Ubuntu/Debian/Mint)

    First, download the LogMeInRescueTechConsole.msi from the official logmein website. I successfully installed 7.9.2591. I have uploaded it here. Debian/Ubuntu/Mint/Other will need to get PlayOnLinux (free) sudo apt-get install playonlinux Mac users will need PlayOnMac (free) https://www.playonmac.com/ Install Logmein Rescue on Linux or Mac (very, very simple and fast) Open PlayOnLinux or PlayOnMac and at the … Continue reading Install LogMeIn Technician Console on Mac & Linux (Ubuntu/Debian/Mint) →Read More »
  • Super Easy: VPS Ubuntu Desktop, Windows VPS Desktop (FREE)

    Super Easy: VPS Ubuntu Desktop, Windows VPS Desktop (FREE)

    Epic method to have virtual desktop that you can control a Windows Desktop on iPhone & Android, as well as other desktops. After successfully installing wine to my Debian desktop and running Photoshop CS6 perfectly, as well as Photoshop CC 2014 AND Photoshop CC 2015, I wanted to see how far I could push it. … Continue reading Super Easy: VPS Ubuntu Desktop, Windows VPS Desktop (FREE) →Read More »
  • Owncloud Super Easy Install Instant CentOS 7

    Owncloud Super Easy Install Instant CentOS 7

    Make a new VPS at Vultr.com with CentOS 7. I would choose a dedicated storage instance rather than SSD as we want to have a bit of room on this server. Install VestaCP as usual: curl -O http://vestacp.com/pub/vst-install.sh bash vst-install.sh Navigate to public_html (cd /home/admin/web/*/public_html/) cd /home/admin/web/*/public_html/ echo "<?php exec('wget https://download.owncloud.org/community/owncloud-9.1.0.zip && unzip owncloud-9.1.0.zip && … Continue reading Owncloud Super Easy Install Instant CentOS 7 →Read More »
  • Owncloud Rescan File System Cron Job – ALL Versions

    Owncloud Rescan File System Cron Job – ALL Versions

    Owncloud has it’s own special php command console. As the Owncloud file system user (in my case, admin), add this to cron: php /home/admin/web/DOMAIN.COM/public_html/occ files:scan --all Or if you’d prefer to do it as root: sudo -u admin php /home/admin/web/DOMAIN.COM/public_html/occ files:scan --all Replace DOMAIN.COM and the preceding file path with your public www folder. This … Continue reading Owncloud Rescan File System Cron Job – ALL Versions →Read More »
  • iPhone/Android: Listen to Asterisk, FreePBX, AsteriskNOW call recordings on mobile phone.

    iPhone/Android: Listen to Asterisk, FreePBX, AsteriskNOW call recordings on mobile phone.

    I have recently started having fun with PBX systems. The UCP on AsteriskNOW/FreePBX was not an ideal way for me to listen to .wav call recordings on my iPhone in my own time. The following tutorial will demonstrate how to sync .wav files to an ownCloud server that you can stream your call recordings on … Continue reading iPhone/Android: Listen to Asterisk, FreePBX, AsteriskNOW call recordings on mobile phone. →Read More »
  • Bash/Cron: Automatically Log Into WordPress via cURL/wget!

    Bash/Cron: Automatically Log Into WordPress via cURL/wget!

    Being able to automate menial tasks inside your WordPress admin area, for example, pressing a button once a day via a cron job, is extremely helpful to say the least. For this example, I will use my example of a plugin made for Shipwire that wasn’t updating inventory and tracking as it was supposed to … Continue reading Bash/Cron: Automatically Log Into WordPress via cURL/wget! →Read More »
  • WebRTC IP Logger for WordPress – VPN IP Grabber for WordPress.

    WebRTC IP Logger for WordPress – VPN IP Grabber for WordPress.

    This guide is based on https://github.com/redpois0n/webrtc-grabber which is based on https://github.com/diafygi/webrtc-ips. UPDATE: I have now published a WordPress plugin of WebRTC IP Logger & Grabber for WordPress. Get it directly at the WordPress plugin repository, search for “WebRTC IP Grabber”. Or find the zip file here: https://wordpress.org/plugins/webrtc-ip-grabber-logger-stun-vpns/ DO NOT READ THIS TUTORIAL ANYMORE, JUST INSTALL THE … Continue reading WebRTC IP Logger for WordPress – VPN IP Grabber for WordPress. →Read More »
  • [FIX] Black Cursor in Gedit, Mousepad, Libreoffice Writer Linux

    [FIX] Black Cursor in Gedit, Mousepad, Libreoffice Writer Linux

    The black cursor is Insert mode on linux. To escape from insert mode, press Function + delete. My delete key has the word insert written in lowercase, your keyboard might be different.Read More »
  • [GUIDE] Global WooCommerce: WPML, hreflang, SEO, CloudFlare, Cache

    [GUIDE] Global WooCommerce: WPML, hreflang, SEO, CloudFlare, Cache

    Oh how easy making woocommerce fully multilingual, fully multicurrency and sharing a same order & user base would be… Key decisions must be made before transforming your store from a single en-us to a massive global subdomained or subdirectoried or ccTLD’ed enterprise. WooCommerce powers 30% of online stores and I’m surprised at the lack of … Continue reading [GUIDE] Global WooCommerce: WPML, hreflang, SEO, CloudFlare, Cache →Read More »
  • How To Install 100% Working Photoshop CS6 or CC on Ubuntu, Debian, Mint!

    How To Install 100% Working Photoshop CS6 or CC on Ubuntu, Debian, Mint!

    On my previous Ubuntu 14.04 setup, I was running wine perfectly. However, on my bare-bones Debian 8 installation, I was having deep frustrating problems with some random incompatibilities in the order of the way I tried to install wine. By far the easiest way to install Photoshop CS6 100% working on Linux is with a … Continue reading How To Install 100% Working Photoshop CS6 or CC on Ubuntu, Debian, Mint! →Read More »
  • How To Download & Install Launchpad & PPA Programs/Files Super Easy

    How To Download & Install Launchpad & PPA Programs/Files Super Easy

    One morning my Ubuntu installation stopped . I’m now feel a lot more comfortable with linux distributions but at the time I was freaking out. For this example, I will be installing the .deb file of Conky Manager by Tony George which is an awesome system load manager that displays real-time system load, CPU & … Continue reading How To Download & Install Launchpad & PPA Programs/Files Super Easy →Read More »
  • How To Update Flash on Firefox & Iceweasel Debian or Ubuntu

    How To Update Flash on Firefox & Iceweasel Debian or Ubuntu

    “This plugin is vulnerable and needs to be updated” Yes, flash is notoriously vulnerable and is updated almost weekly because it’s in almost everyone’s browser and is an easy target for hackers. To update flash on Debian, open a terminal and execute: sudo /usr/sbin/update-flashplugin-nonfree --install This will download the latest flash plugin for firefox/iceweasel and … Continue reading How To Update Flash on Firefox & Iceweasel Debian or Ubuntu →Read More »
  • How To Delete The First Column In A CSV File Inside a Bash Script

    How To Delete The First Column In A CSV File Inside a Bash Script

    You’re writing a script that maybe works with a CSV that you’ve downloaded as a cron job and want to delete the first column so that it uploads nicely somewhere else, maybe to a MySQL database. Delete the first column: sed -i 's/[^,]*,//' thespreadsheet.csv Delete the first two columns: sed -i 's/[^,]*,//' thespreadsheet.csv sed -i … Continue reading How To Delete The First Column In A CSV File Inside a Bash Script →Read More »
  • How To Increase PHP File Upload Limit on CentOS 7

    How To Increase PHP File Upload Limit on CentOS 7

    How To Increase PHP File Upload Limit on CentOS 7 with one line of bash. SSH into your server as root and execute the following command: [cce_bash]replace “upload_max_filesize = 2M” “upload_max_filesize = 20M” — /etc/php.ini && service httpd restart[/cce_bash] That will replace your 2mb upload limit with a 20mb upload limit and it will restart … Continue reading How To Increase PHP File Upload Limit on CentOS 7 →Read More »
  • Brightness Keys Not Working Debian: Xfce Function F5 & F6 Fix

    Brightness Keys Not Working Debian: Xfce Function F5 & F6 Fix

    All the other Fn + F1 thru F12 keys were working except for Fn + F5 & Fn + F6. Open keyboard settings and find Application Shortcuts. Add a new shortcut with the following command: Reduce brightness by 10%: xbacklight -10 I used the keyboard shortcode Alt + (-), meaning the minus key on my … Continue reading Brightness Keys Not Working Debian: Xfce Function F5 & F6 Fix →Read More »
  • My Hotkey & Keyboard Shortcut Setup Linux

    My Hotkey & Keyboard Shortcut Setup Linux

    SUPER FAST KEYBOARD SHORTCUTS: Command: xfce4-appfinder Shortcut: Left Windows Key Solution: Opens Application Finder so you can type in the first few letters of any application and hit enter. MY PERSONAL KEYBOARD SHORTCUTS Command: galculator Shortcut: Crtl + Alt + G Solution: Super fast calculator opening Command: gedit Shortcut: Crtl + Alt + Y Solution: … Continue reading My Hotkey & Keyboard Shortcut Setup Linux →Read More »
  • WiFi Network Not Showing Up Linux: Personal Hotspot Not Listed Debian/Ubuntu

    WiFi Network Not Showing Up Linux: Personal Hotspot Not Listed Debian/Ubuntu

    I was using a small MiFi router for a while and when I would come back inside, more often than not the network would not be found again even though I was sitting right next to my computer. The same would happen with iPhone Hostpot Wifi not showing up even though it was right next … Continue reading WiFi Network Not Showing Up Linux: Personal Hotspot Not Listed Debian/Ubuntu →Read More »
  • Ctrl + Click Not Opening Links In New Tab Fix: Middle Click Without Mouse Debian/Ubuntu

    Ctrl + Click Not Opening Links In New Tab Fix: Middle Click Without Mouse Debian/Ubuntu

    Some javascript based websites were hogging my click actions and opening links that I wanted to open in new tabs in the same window/tab. Since I prefer using the track-pad now, I wanted a fast solution to either middle mouse click on links to open in new windows or a way to rapidly right click, … Continue reading Ctrl + Click Not Opening Links In New Tab Fix: Middle Click Without Mouse Debian/Ubuntu →Read More »
  • Fn + F10 Mute Toggle Not Unmuting Sound After Muting: Turning On PulseAudio Again Fix Debian

    Fn + F10 Mute Toggle Not Unmuting Sound After Muting: Turning On PulseAudio Again Fix Debian

    I read a few different solutions for fixing the sound toggle on Debian via the command line but the only solution that I could make a keyboard shortcut for was: Hard unmute Pulse Audio in Debian, Xfce when the sound won’t come back on after muting: pactl set-sink-mute 0 toggle To set this as a … Continue reading Fn + F10 Mute Toggle Not Unmuting Sound After Muting: Turning On PulseAudio Again Fix Debian →Read More »