Install ShadowSocks server on Debian 10

To install ShadowSocks server on Debian 10, run apt install -y shadowsocks Create config file vi /etc/shadowsocks/config.json Add following { “server”:”SERVER_IP”, “server_port”:8044, “local_port”:0, “password”:”PASSWOARD_HERE”, “timeout”:600, “method”:”aes-256-cfb” } You can change server_port if required. To enable service, run systemctl enable shadowsocks-server@config To start shadowsocks proxy, run systemctl start shadowsocks-server@config For status/restart systemctl status shadowsocks-server@config systemctl restart … Read more

Install RabbitMQ on Ubuntu/Debian

To install rabbitmq on Ubuntu/Debian, run echo ‘deb http://www.rabbitmq.com/debian/ testing main’ | sudo tee /etc/apt/sources.list.d/rabbitmq.list wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add – apt update apt install rabbitmq-server To start RabbitMQ server, run service rabbitmq-server start

How to upgrade Debian 9 to Debian 10

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” 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

Debian 8 jessie repo error

On a Debian 8 server, when running apt update, got following error W: Failed to fetch http://mirror.com/debian/dists/jessie/main/source/Sources 404 Not Found [IP: 185.194.238.133 80] W: Failed to fetch http://mirror.com/debian/dists/jessie/non-free/source/Sources 404 Not Found [IP: 185.194.238.133 80] W: Failed to fetch http://mirror.com/debian/dists/jessie/contrib/source/Sources 404 Not Found [IP: 185.194.238.133 80] W: Failed to fetch http://mirror.com/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found [IP: 185.194.238.133 … Read more

apt – Problem unlinking the file auxfiles

When i get apt update on a Debian 9 server, i get following error # apt update Get:1 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB] Hit:2 http://security.debian.org stretch/updates InRelease Hit:3 https://packages.sury.org/php stretch InRelease Ign:4 http://ftp.us.debian.org/debian stable InRelease Hit:5 http://ftp.us.debian.org/debian stable Release Fetched 91.0 kB in 0s (165 kB/s) Reading package lists… Done Building dependency tree Reading state … Read more

Install PowerShell in Debian 9

To install Microsoft PowerShell in Debian 9, run apt-get update apt-get install curl gnupg apt-transport-https Install GPG keys curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add – Add repository echo “deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main” > /etc/apt/sources.list.d/microsoft.list Install powershell apt-get update && apt-get install -y powershell To start powershell, run pwsh

Install MongoDB 4 on Debian 9

You can see detailed instruction on how to install on MongoDB web site. First add key apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 9DA31620334BD75D9DCB49F368818C72E52529D4 For Debian 8, run echo “deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/4.0 main” > /etc/apt/sources.list.d/mongodb-org-4.0.list For Debian 9, run echo “deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main” > /etc/apt/sources.list.d/mongodb-org-4.0.list Now install mongoDB with apt-get update apt-get install -y mongodb-org Once … Read more

Install OpenLiteSpeed on Ubuntu/Debian

OpenLiteSpeed Change Admin Password

OpenLiteSpeed ia an Open Source version of LiteSpeed Web Server. To install OpenLiteSpeed, add repository by running wget -O – http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh | bash Now you have openlitespeed packages available on your server. Here is packages available on a Debian 9 server. To install OpenLiteSpeed, run apt install -y openlitespeed OpenLiteSpeed will be installed in folder … Read more