apache directory index

Apache disable directory index

When Apache Directory Index is enabled, if you browse to a url that have no index file present, you will

apt The method driver /usr/lib/apt/methods/https could not be found

apt The method driver /usr/lib/apt/methods/https could not be found

When running apt update on a Debian server, i get error root@shop:~# apt-get update E: The method driver /usr/lib/apt/methods/https could

uname

uname

List Kernel Full details boby@hon-pc-01:~ $ uname -a Linux hon-pc-01 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64

Nginx Web Server

Nginx Commands

Start Nginx nginx Stop Nginx nginx -s stop Reload Nginx nginx -s reload Test Nginx configuration nginx -t See Nginx

Nginx Web Server

Install Nginx from source

Install Requirements CentOS/RHEL/Fedora yum install glib2-devel openssl-devel pcre-devel bzip2-devel gzip-devel Ubuntu/Debian apt-get install libpcre3-dev Create nginx user useradd -c “Nginx

Fetch as Google with curl

Fetch as Google with curl

A hacked web site got hacked. The site listed on google SERP with text “There are essentially two prescribed drugs

Lock User Account in Linux

Lock User Account in Linux

To lock a Linux User account, run usermod -L USER_NAME_HERE You can verify the account is locked with command passwd

VestaCP disable backup

VestaCP disable Backups

In VestaCP, each packages have option to specify how many backups it can take. First you need to click on

wget force IPv4/6 download

wget force IPv4/6 download

If your server support both IPv4 and IPv6 and you need to force download a file using IPv4, you can

G Suite Edit mail route

G Suite TLS Negotiation failed, the certificate doesn’t match the host

When sending email from G Suite email account, email bounce with following error message TLS Negotiation failed, the certificate doesn’t

Nginx Proxy Manager

Install Nginx Proxy Manager

Nginx Proxy Manager is Docker based GUI for managing Nginx reverse proxy. It support LetsEncrypt free SSL. https://nginxproxymanager.com Nginx Proxy

interworx

interworx

To update interwrox license, run /usr/local/interworx/cron/license.pex –sync Configuration file for interwrox at /usr/local/interworx/iworx.ini Interworx login url https://SERVER-HOSTNAME:2443/nodeworx/index Webmail https://SERVER-HOSTNAME:2443/webmail/ Create