Category Archives: Linux

Route All Internet Traffic Through Tor on Linux Debian

You can route all Internet traffic throguth Tor, here is how: *** Please note, I am using Debian 10 Buster *** Add this on /etc/apt/sources.list: deb buster maindeb buster main Run this to install Tor Project public keys: gpg –keyserver –recv-key 74A941BA219EC810 gpg -a –export 74A941BA219EC810 | apt-key add – apt-get updategpg […]

Configure a New IP Address on Server

First you need to buy an additional IP address. Then you can drag & drop it inside your server via the web interface. Now you need to edit /etc/network/interfaces by adding this: # Your new IP address (1) auto enp1s0f0:0 iface enp1s0f0:0 inet static address YOUR_FAILOVER_IP_HERE netmask   # Your new IP address (2) […]

Add Shared Folder on VirtualBox VM via Command-Line on Debian

Lets say you have created a shared folder in your Linux Debian host, i.e: /vms/shared_folder/vms/shared_folder Now you want to add that shared folder on VM named “Win7-64-bit-VM1”: VBoxManage sharedfolder add Win7-64bit-VM1 –name srv –hostpath "/vms/shared_folder" –transientVBoxManage sharedfolder add Win7-64bit-VM1 –name srv –hostpath "/vms/shared_folder" –transient The “–transient” makes sure the mapping will not persist over the […]

How to Install a .Deb File on Debian Linux via Command-Line

Steps to install, remove and reconfigure Debian .deb packages: Install a .deb package: sudo dpkg -i DEB_PACKAGEsudo dpkg -i DEB_PACKAGE Remove a previously installed package: sudo dpkg -r PACKAGE_NAMEsudo dpkg -r PACKAGE_NAME Reconfigure an existing package: sudo dpkg-reconfigure PACKAGE_NAMEsudo dpkg-reconfigure PACKAGE_NAME

Install VirtualBox 6.0 on Debian 10 Buster

Tutorial to install VirtualBox 6.0 on Debian 10 Buster: First add this line to /etc/apt/sources.list deb buster contribdeb buster contrib Then download and register the Oracle public keys: wget -q -O- | apt-key add – wget -q -O- | apt-key add -wget -q -O- | apt-key add – wget -q […]

Install Windows 7 Guest on VirtualBox Debian Host (Command-Line)

To install Windows 7 guest on a VirtualBox Debian host type: VBoxManage createhd –filename Win7-64bit-VM1.vdi –size 32768 VBoxManage createvm –name Win7-64bit-VM1 –ostype Windows7_64 –register VBoxManage storagectl Win7-64bit-VM1 –name "SATA Controller" –add sata –controller IntelAHCI VBoxManage storageattach Win7-64bit-VM1 –storagectl "SATA Controller" –port 0 –device 0 –type hdd –medium Win7-64bit-VM1.vdi VBoxManage storagectl Win7-64bit-VM1 –name "IDE Controller" –add […]

Create or Restore a VirtualBox Snapshot on Debian (Command-Line)

To create a snapshot type: VBoxManage snapshot VM-NAME take SNAPSHOT-NAMEVBoxManage snapshot VM-NAME take SNAPSHOT-NAME To revert back to a particular snapshot type: VBoxManage snapshot VM-NAME restore SNAPSHOT-NAMEVBoxManage snapshot VM-NAME restore SNAPSHOT-NAME

How to Shutdown or Reboot Debian 10 Buster

This command will reboot Debian 10 Buster: systemctl rebootsystemctl reboot This command will shutdown (poweroff) Debian 10 Buster: systemctl poweroffsystemctl poweroff

Install Node.js Puppeteer on Debian 9 Stretch

Steps to install Puppeteer (Headless Chrome Node API) on Debian 9 Stretch. First you need to install Node.js 12.x: curl -sL | bash – apt-get install -y nodejscurl -sL | bash – apt-get install -y nodejs Then install Puppeteer module: npm install -g puppeteer –unsafe-perm=truenpm install -g puppeteer –unsafe-perm=true Now fix the “No […]

Install Node.js 12.x on Debian 9 Stretch

To install Node.js 12.x on Debian 9 Stretch just type: curl -sL | bash – apt-get install -y nodejscurl -sL | bash – apt-get install -y nodejs Some Node.js modules may require build-essential: apt-get install build-essentialapt-get install build-essential References: Installing Node.js via package manager NodeSource Node.js Binary Distributions