Linux
transmission
Install Transmission on CentOS Install Transmission torrent client on Ubuntu Server See torrent
Install Transmission on CentOS
transmission is a torrent client. This come with a web GUI, that make it easy to installed on a remote server with…
How to protect .git folder using htaccess
GIT is popular version control software, this work like a time machine. You can easily get older versions of code. Each changes…
Redirect OLD site to NEW using htaccess
To redirect old site to new url using .htacces, use following Redirect with SSL verification See htaccess
vnc
Install VNC server VNC Client Remote Desktop Setup sleep-monitor system is about to suspend See Remote Desktop
List kernel modules
To list kernal modules, use lsmod Example boby@sok-01:~$ lsmod | grep rtl rtl8xxxu 122880 0 mac80211 778240 2 ath9k_htc,rtl8xxxu boby@sok-01:~$
Install mitmproxy on Ubuntu
mitmproxy is a man in the middle proxy server for debugging. To install mitmproxy on Ubuntu, run sudo apt install mitmproxy -y…
Logging Linux Commands for all users
To log commands executed by users on Linux shell, edit file vi /etc/bash.bashrc Add export PROMPT_COMMAND=’RETRN_VAL=$?;logger -p local6.debug “$(whoami) [$$]: $(history 1…
How to upgrade Debian 9 to Debian 10
To upgrade Debian 9 to Debian 10, first make sure your system is up-to-date. Edit file /etc/apt/sources.list. Find all occurrences of “stretch”…
zip
To install zip on Ubuntu/Debian, run apt install zip unzip -y To unzip a file, run unzip FILE_NAME.zip To unzip to specific…