transmission
Install Transmission on CentOS Install Transmission torrent client on Ubuntu Server See torrent
Install Transmission on CentOS Install Transmission torrent client on Ubuntu Server See torrent
transmission is a torrent client. This come with a web GUI, that make it easy to installed on a remote server with no X-Windows. To install transmission on CentOS server, run yum install -y transmission-daemon transmission-cli Allow Web Access To access transmission web GUI, you need to white list your IP address. To do this, … Read more
GIT is popular version control software, this work like a time machine. You can easily get older versions of code. Each changes are stored as commit, so it work like a time machine for source code. If you put your .git folder in a publically accessable folder, others will be able to access your source … Read more
To redirect old site to new url using .htacces, use following Redirect with SSL verification See htaccess
Install VNC server How to Install Xfce VNC remote desktop on Ubuntu Server Install Xfce VNC remote desktop on CentOS 7 VNC Client https://uvnc.com/download/index.html – Provide Viewer Only 64 and 32 bit available Open Source TightVNC Viewer Try Linux distro with out downloading ISO Connecting to VNC Server from a Mac computer Remote Desktop Setup … Read more
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:~$
mitmproxy is a man in the middle proxy server for debugging. To install mitmproxy on Ubuntu, run sudo apt install mitmproxy -y On Ubuntu 18.04, this is broken. To insall i created a virtualenv mkdir -p ~/www/mitmproxy cd ~/www/mitmproxy virtualenv –python=/usr/bin/python3 venv source venv/bin/activate Install mitmproxy inside virtualenv with pip install mitmproxy To start, run … Read more
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 | sed “s/^[ ]*[0-9]\+[ ]*//” ) [$RETRN_VAL]”‘ Create file vi /etc/rsyslog.d/bash.conf Add local6.* /var/log/commands.log Restart rsyslog systemctl restart rsyslog Now log off and login, you will be able to see all commends executed … Read more
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” and replace it with “buster”. Or use following Now update the system run dist-upgrade During the upgrade, you will be asked to replace some of the configuration files. If this is a fresh … Read more
xinput command on linux shows all available input devices. xinput Example
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 directory, run unzip FILE_NAME.zip -d DIR_NAME Create a ZIP file To create a ZIP file, run zip -r FILE.zip FILE_OR_DIR Example root@server:~# zip -r 1.zip organicinstinct.sql adding: organicinstinct.sql (deflated 85%) root@server:~#
To find which shell you are using, run echo “$SHELL” Change Linux user shell zsh bash