restore /home/esviko/www AND make sure: sudo chown -R esviko:www-data
add esviko to www-data group: sudo usermod -a -G www-data esviko # the -a (append) switch is essential. Otherwise, the
user will be removed from any groups, not in the list # the -G switch takes a (comma-separated) list of additional groups to assign
the user to
If it isn’t already installed, install the ca-certificates package. sudo apt-get install -y ca-certificates
Copy the *.pem part of your Root CA Certificate to the certificate store. sudo cp /home/esviko/devenv/www/ssl/CA/certs/Root_CA_Certificate.pem /usr/local/share/ca-certificates/Root_CA_Certificate.crt
Update the certificate store sudo update-ca-certificates
Add the new CA (/usr/local/share/ca-certificates/Root_CA_Certificate.crt) to your browsers:
Setting >> Security >> Manage Certificates >> Authorities >> Import
$ sudo mysql
> ALTER USER root@localhost IDENTIFIED BY 'mysqlpass';
> FLASH PRIVELEGES;
To try to install Yarn via npm globaly you will run into a permission issue "Error: EACCES: permission denied, access '/usr/local/lib/node_modules'". To avoid this you will have to change some npm settings.
mkdir ~/.npm-globalnpm config set prefix '~/.npm-global'export PATH=~/.npm-global/bin:$PATHsource ~/.profile
Now you can install Yarn like described on the Yarn website