Update system after installed

sudo apt update && sudo apt -y upgrade

Install required packages

sudo apt -y install python-software-properties

MySQL

sudo apt -y install mysql-server mysql-client mysql-workbench mysql-sandbox mysql-utilities mysql-testsuite
sudo mysql_secure_installation
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
sudo apt -y install apache2 apachetop

PHP & Utilities

sudo add-apt-repository ppa:ondrej/php && sudo apt update
sudo apt -y install php5.6 php7.0 php7.1 php7.2 php7.3 php-imagick imagemagick php-gd curl php-pecl-http php-uploadprogress php-cli php-mbstring php-xdebug php-memcache php-memcached memcached php7.2-mysql php7.2-curl php7.2-zip php5.6-mbstring php5.6-xml php5.6-intl php5.6-mysql php7.0-mbstring php7.0-xml php7.0-intl php7.1-mbstring php7.1-xml php7.1-intl php7.2-mbstring php7.2-xml php7.2-xmlrpc php7.2-intl php7.2-cli php7.2-curl php7.2-gd php7.2-json php7.2-mysql php7.2-soap php7.2-sqlite3 php7.2-zip php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline php7.3-mbstring php7.3-xml php7.3-xmlrpc php7.3-intl php7.3-cli php7.3-curl php7.3-gd php7.3-json php7.3-mysql php7.3-soap php7.3-sqlite3 php7.3-zip php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-readline git unzip

Switch PHP Cli version

sudo update-alternatives --set php /usr/bin/phpx.y

Pages: 1 2 3

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: