Install jpegoptim

Install jpegoptim

jpegoptim is an open source image optimizer for JPEG image format. https://github.com/tjko/jpegoptim You can download latest version of from https://www.kokkonen.net/tjko/projects.html

sftp

sftp

Enable Logging on SFTP

Enable Logging on SFTP

Enable Logging on SFTP

To enable logging in SFTP, edit file vi /etc/ssh/sshd_config Find Subsystem sftp /usr/libexec/openssh/sft Replace wih Subsystem sftp /usr/libexec/openssh/sftp-server -l INFO

Virtualizor Error No Gateway Found, Please assign a Gateway

Virtualizor Error No Gateway Found, Please assign a Gateway

On a Virtualizor server, when starting virtnetwork, i get the following error This is because the network interface configuration doesn’t

Virtualizor error fetching interface information

Virtualizor error fetching interface information

When starting network in virtualizor server, i get following error [root@virtual2 ~]# service virtnetwork start eth0: error fetching interface information:

MySQL

How to Install MySQL 5.7 on Amazon Linux

Amazon Linux 2 come with MariaDB by default. To install MySQL 5.7, install repository with sudo rpm -Uvh https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm Install

Yum Error Operation too slow

Yum Error Operation too slow

When i did yum update on a CloudLinux server, i get following error error was [Errno 12] Timeout on https://cl-mirror.dewabiz.com/XMLRPC/GET-REQ/cloudlinux-x86_64-server-7/repodata/filelists.xml.gz:

Install Ant Media Server on CentOS 8

Install Ant Media Server on CentOS 8

To install Ant Media Server on CentOS 8, first install wget yum install wget -y Download installer script wget https://raw.githubusercontent.com/ant-media/Scripts/master/install_ant-media-server.sh

Copy a file from host into LXD container

Copy a file from host into LXD container

To copy file from host machine to LXD container run Example To copy a file from the host machine to

EasyEngine Could not create user

EasyEngine Could not create user

When creating a wordpress web site on EasyEngine, i get following error root@ee:~# ee site create smartandsolar.serverok.in –wp Starting site

reinstall ubuntu kernel

Reinstall Kernel in Ubuntu/Debian

To reinstall Kernel in Ubunru, you need to find the version of kernal installed, for this run dpkg -l |

How to block .git directory in nginx

How to block .git directory in nginx

When using git version control to deploy application, many forget to secure .git folder. This allows anyone to clone your