Setup Ubuntu 20.04 Workspace

PHP

sudo add-apt-repository ppa:ondrej/php && sudo apt update
sudo apt -y install \
php5.6 php5.6-{cgi,cli,common,curl,dev,enchant,gd,imap,intl,json,mbstring,mysql,opcache,readline,soap,sqlite3,xml,xmlrpc,xsl,zip} \
php7.0 php7.0-{cgi,cli,common,curl,dev,enchant,gd,imap,intl,json,mbstring,mysql,opcache,readline,soap,sqlite3,xml,xmlrpc,xsl,zip} \
php7.1 php7.1-{cgi,cli,common,curl,dev,enchant,gd,imap,intl,json,mbstring,mysql,opcache,readline,soap,sqlite3,xml,xmlrpc,xsl,zip} \
php7.2 php7.2-{cgi,cli,common,curl,dev,enchant,gd,imap,intl,json,mbstring,mysql,opcache,readline,soap,sqlite3,xml,xmlrpc,xsl,zip} \
php7.3 php7.3-{cgi,cli,common,curl,dev,enchant,gd,imap,intl,json,mbstring,mysql,opcache,readline,soap,sqlite3,xml,xmlrpc,xsl,zip} \
php7.4 php7.4-{cgi,cli,common,curl,dev,enchant,gd,imap,intl,json,mbstring,mysql,opcache,readline,soap,sqlite3,xml,xmlrpc,xsl,zip} \
php-imagick php-gd php-cli php-mbstring php-pecl-http php-uploadprogress php-memcache php-memcached memcached imagemagick
sudo apt -y install php-xdebug // Optional
php -v // Make sure PHP installed with expected version
sudo pecl install raphf
sudo pecl install propro
sudo pear install http
sudo pecl install mongodb

Update php.ini

extension=raphf.so
extension=propro.so
extension=mongodb.so

Composer

curl -sS https://getcomposer.org/installer -o composer-setup.php
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

Nodejs 12.x

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt -y install nodejs

Yarn

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

Install Visual Studio code via deb

Pages: 1 2 3 4

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: