Posts by ServerOk

How to Install MySQL 5.7 on Amazon Linux

MySQL

Amazon Linux 2 come with MariaDB by default. To install MySQL 5.7, install repository with

Install MySQL 5.7 with

Set MySQL to start on boot

Start MySQL server

By default MySQL 5.7 installation generate a temporary password. To find the password, run

To set password and secure the installation, run […]

Read More…

Yum Error Operation too slow

When i did yum update on a CloudLinux server, i get following error

This is because server is unable to connect to one of the yum mirrors. To fix this, we need to disable the mirror that cause this timeout. Edit file

Find

Replace with

Find

Add below

run […]

Read More…

Install Ant Media Server on CentOS 8

To install Ant Media Server on CentOS 8, first install wget

Download installer script

Next you need to download binary zip file of Ant Media Server. For this install i used trail version

For community version, you can download from

Download it to same directory as “install_ant-media-server.sh”. Now run

Replace […]

Read More…

EasyEngine Could not create user

When creating a wordpress web site on EasyEngine, i get following error

This is because EasyEngine try to create a WordPress admin user, that failed to create due to length. To fix the error, you can specify a shorter wordpress admin user name with option –admin-user=admin

See EasyEngine […]

Read More…

Reinstall Kernel in Ubuntu/Debian

reinstall ubuntu kernel

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

Or you can use command, find the kernel version you need to install

Once you have the name of linux-image package you need to install, you can run

Example See apt, Ubuntu, Debian […]

Read More…

Install LetsEncrypt in CentOS 7

certbot deprecated support for CentOS 7, so new version of certbot-auto script won’t work on CentOS 7. To install certbot (letsencrypt command line tool), run

To run it, use command

See LetsEncrypt […]

Read More…

Color git command line result

On CentOS, when i run git commands like “git status” or “git diff”, the result is shown with out any color. On Ubuntu, git always show result in color. To make git result show in color, edit file

Add

Now git commands will show output with color. […]

Read More…