Ubuntu Install Node8

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

## Run `sudo apt-get install -y nodejs` to install Node.js 8.x LTS Carbon and npm
## You may also need development tools to build native addons:
– sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
– curl -sL 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-get update && sudo apt-get install yarn


Apache2 Proxy Forwarding with SSL

<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

<VirtualHost *:443>
ServerAdmin phakin.che@gmail.com
ServerName phakin.com

ErrorLog ${APACHE_LOG_DIR}/star_error.log
CustomLog ${APACHE_LOG_DIR}/star_access.log combined

SSLEngine on
SSLCertificateFile /home/ubuntu/Systems/Cert/star.crt
SSLCertificateKeyFile /home/ubuntu/Systems/Cert/star.key
SSLCertificateChainFile /home/ubuntu/Systems/Cert/star.ca-bundle

ProxyRequests off

<Proxy *>
Order deny,allow
Allow from all

<Location />
ProxyPass http://localhost:5000/
ProxyPassReverse http://localhost:5000/

gsutil CRC32C and crcmod


CentOS, RHEL, and Fedora

To compile and install crcmod:

sudo yum install gcc python-devel python-setuptools redhat-rpm-config
sudo easy_install -U pip
sudo pip uninstall crcmod
sudo pip install -U crcmod

Debian and Ubuntu

To compile and install crcmod:

sudo apt-get install gcc python-dev python-setuptools
sudo easy_install -U pip
sudo pip uninstall crcmod
sudo pip install -U crcmod

Mac OS X

gsutil distributes a pre-compiled version of crcmod for OS X, so you shouldn’t need to compile and install it yourself. If for some reason the pre-compiled version is not being detected, please let the Google Cloud Storage team know (see “gsutil help support”).

To compile manually on OS X, you will first need to install XCode and then run:

sudo easy_install -U pip
sudo pip install -U crcmod