Setup Ubuntu 20.04 Workspace [Archived ]

Update system after installed

sudo apt update && sudo apt -y upgrade

Install required packages

sudo apt -y install software-properties-common
sudo apt -y install curl git unzip perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python curl openssh-server

Redis & Memcache

sudo apt -y redis redis-server redis-tools memcached

MySQL 8.0

sudo apt -y install mysql-client mysql-sandbox mysql-server mysql-testsuite
sudo /etc/init.d/mysql restart
sudo mysql_secure_installation

Authentication

sudo mysql -u root
USE mysql;
UPDATE user SET plugin='mysql_native_password' WHERE User='root';
ALTER USER 'root'@'localhost' IDENTIFIED BY 'root';
FLUSH PRIVILEGES;
exit;

In MySQL 8.0caching_sha2_password is the default authentication plugin rather than mysql_native_password, which was the default in MySQL 5.7.

MySQL 8.0 authentication

MongoDB

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
sudo apt update && sudo apt install -y mongodb-org

sudo systemctl restart mongod

Pages: 1 2 3 4

One thought on “Setup Ubuntu 20.04 Workspace [Archived ]

Add yours

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 )

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.

Up ↑

%d bloggers like this: