Simple setup script to install Docker Community Edition on Ubuntu Server 20.04 LTS
sudo apt update
sudo apt install -y apt-transport-https \
                    ca-certificates \
 curl \| FROM node:7.4-alpine | |
| RUN mkdir /app | |
| WORKDIR /app | |
| ADD . /app/ | |
| RUN npm install | |
| EXPOSE 8080 | 
| # | |
| # | |
| fake-cd() { | |
| echo "bash: cd: $1: No such file or directory" | |
| } | |
| # | |
| # | |
| fake-ls() { | |
| echo "ls: cannot access $1: No such file or directory" | 
reference: http://wiki.openstreetmap.org/wiki/Nominatim/Installation
apt-get install build-essential libxml2-dev libgeos-dev libpq-dev libbz2-dev libtool automake libproj-dev
apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev
apt-get install gcc proj-bin libgeos-c1 osmosis libgeos++-dev
apt-get install php5 php-pear php5-pgsql php5-json php-db
As Apache still uses the traditional SysV init scripts you can use
sudo update-rc.d -f apache2 remove
to remove the links from /etc/rcX.d or, alternatively use
sudo update-rc.d apache2 disable
I hereby claim:
To claim this, I am signing this object:
| #/bin/bash | |
| PROJECT_NAME=my_website | |
| WORKSPACE=/var/www | |
| USERNAME=www-data | |
| PORT=22 | |
| DATEMARK=`date +%Y%m%d%H%M%S` | |
| HOSTNAME=www.example.com |