Install Tor on Ubuntu

Tor is a highly anonymous proxy network. Tor is used by sites in dark web as it is almost impossible to find who owns a web site when it is hidden using tor. https://www.torproject.org To install tor on Ubuntu/Debian, run apt install -y tor This will start a sock5 proxy server on your PC on … Read more

Install MATE Desktop in Ubuntu

Add PPA repo with command apt-add-repository ppa:ubuntu-mate-dev/xenial-mate To install MATE run apt-get update apt-get install mate This install was done on remote VPS with x2go server. Once install is over, i am able to connect to remote desktop using x2go client. x2go

Ubuntu

do-release-upgrade – upgrade Ubuntu to the next release. If you are using Ubuntu 20.04 LTS, it will upgrade to 22.04 LTS. Ubuntu Desktop Ubuntu 18.04

Install PHP 7.2 on Ubuntu

To install PHP 7.2, first add repository with command add-apt-repository ppa:ondrej/php Now run apt update apt update Install PHP 7.2 with command apt install php7.2 To install additional modules, run apt install php7.2-bcmath php7.2-bz2 php7.2-cgi php7.2-cli php7.2-common php7.2-curl php7.2-dba php7.2-dev php7.2-enchant php7.2-fpm php7.2-gd php7.2-gmp php7.2-imap php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-pgsql php7.2-pspell php7.2-readline php7.2-soap php7.2-sqlite3 … Read more

Ubuntu point all .test domains to 127.0.0.1

Until recently .dev was popular TLD used by developers for local web development. Recently google acquired the rights to use .DEV domain name extension and forced SSL for this LTD in google chrome. Web developers are looking for alternate home for their local development web sites. Some suggested .localhost as development LTD, but it is … Read more

Installing OpenSSH from Source on Ubuntu 16.04

PCI Compliance report from COMMODO complain about OpenSSH version available in Ubuntu 16.04. SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 This version have all security updates back ported. Installing OpenSSH from source is bad idea as you have to manually upgrade to latest version when new version is released. Since PCI Compliance require new version of OpenSSH, i installed from … Read more

Invalid command Header

On a web site running Apache, i got following error in log file [Fri Jan 19 06:43:41.146643 2018] [core:alert] [pid 3536:tid 139697024132864] [client 112.133.229.111:50559] /home/site.com/public_html/.htaccess: Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration, referer: https://site.com/ This was Ubuntu server with Apache. Problem is due to Apache Headers … Read more

Install PHP 5.6 on Debian

Debian 9 come with PHP 7. To install PHP 5.6, run apt install apt-transport-https lsb-release ca-certificates -y wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg sh -c ‘echo “deb https://packages.sury.org/php/ $(lsb_release -sc) main” > /etc/apt/sources.list.d/php.list’ apt-get update Install PHP 5.6 with apt install -y php5.6 php5.6-mysql php5.6-gd php5.6-mbstring php5.6-mcrypt php5.6-zip php5.6-curl php5.6-xml Enable SimpleXML module phpenmod -v 5.6 simplexml … Read more

OVH VPS Configure failover IP in Ubuntu

On Ubuntu Default config look like root@zecurecode:~# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # Source interfaces # Please check /etc/network/interfaces.d before changing this file # as … Read more

ufw

The Uncomplicated Firewall (ufw) is a user-friendly interface for managing netfilter, the standard firewall utility included with most Ubuntu and Debian-based Linux distributions. ufw simplifies firewall configuration by providing straightforward commands for enabling, disabling, and managing firewall rules without requiring extensive networking knowledge. To enable ufw to start automatically at boot: To start or stop … Read more

apt error after MariaDB to MySQL change

I have install MariaDB on a Ubuntu 16.04 server. Then installed Virtualmin, that require MySQL, so it removed MariaDB and installed MySQL, this caused apt stop working. When i run “apt update”, it failed with root@ok-vm:~# apt upgrade Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get … Read more