It's finally that time of the new ubuntu LTS version, So I think we should create a new installation script that supports it. Currently if I try installing it on 18.04 I get this error.
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-fpm
E: Couldn't find any package by glob 'php7.0-fpm'
E: Couldn't find any package by regex 'php7.0-fpm'
E: Unable to locate package php7.0-curl
E: Couldn't find any package by glob 'php7.0-curl'
E: Couldn't find any package by regex 'php7.0-curl'
E: Unable to locate package php7.0-mbstring
E: Couldn't find any package by glob 'php7.0-mbstring'
E: Couldn't find any package by regex 'php7.0-mbstring'
E: Unable to locate package php7.0-ldap
E: Couldn't find any package by glob 'php7.0-ldap'
E: Couldn't find any package by regex 'php7.0-ldap'
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by glob 'php7.0-mcrypt'
E: Couldn't find any package by regex 'php7.0-mcrypt'
E: Unable to locate package php7.0-tidy
E: Couldn't find any package by glob 'php7.0-tidy'
E: Couldn't find any package by regex 'php7.0-tidy'
E: Unable to locate package php7.0-xml
E: Couldn't find any package by glob 'php7.0-xml'
E: Couldn't find any package by regex 'php7.0-xml'
E: Unable to locate package php7.0-zip
E: Couldn't find any package by glob 'php7.0-zip'
E: Couldn't find any package by regex 'php7.0-zip'
E: Unable to locate package php7.0-gd
E: Couldn't find any package by glob 'php7.0-gd'
E: Couldn't find any package by regex 'php7.0-gd'
E: Unable to locate package php7.0-mysql
E: Couldn't find any package by glob 'php7.0-mysql'
E: Couldn't find any package by regex 'php7.0-mysql'
./installation-ubuntu-16.04.sh: 18: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 19: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 20: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 23: cd: can't cd to /var/www
Cloning into 'bookstack'...
remote: Counting objects: 14199, done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 14199 (delta 13), reused 66 (delta 7), pack-reused 14108
Receiving objects: 100% (14199/14199), 9.46 MiB | 10.74 MiB/s, done.
Resolving deltas: 100% (9586/9586), done.
./installation-ubuntu-16.04.sh: 26: cd: can't cd to /var/www/bookstack
./installation-ubuntu-16.04.sh: 31: ./installation-ubuntu-16.04.sh: php: not found
ERROR: Invalid composer installer signature
It's finally that time of the new ubuntu LTS version, So I think we should create a new installation script that supports it. Currently if I try installing it on 18.04 I get this error.
```
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-fpm
E: Couldn't find any package by glob 'php7.0-fpm'
E: Couldn't find any package by regex 'php7.0-fpm'
E: Unable to locate package php7.0-curl
E: Couldn't find any package by glob 'php7.0-curl'
E: Couldn't find any package by regex 'php7.0-curl'
E: Unable to locate package php7.0-mbstring
E: Couldn't find any package by glob 'php7.0-mbstring'
E: Couldn't find any package by regex 'php7.0-mbstring'
E: Unable to locate package php7.0-ldap
E: Couldn't find any package by glob 'php7.0-ldap'
E: Couldn't find any package by regex 'php7.0-ldap'
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by glob 'php7.0-mcrypt'
E: Couldn't find any package by regex 'php7.0-mcrypt'
E: Unable to locate package php7.0-tidy
E: Couldn't find any package by glob 'php7.0-tidy'
E: Couldn't find any package by regex 'php7.0-tidy'
E: Unable to locate package php7.0-xml
E: Couldn't find any package by glob 'php7.0-xml'
E: Couldn't find any package by regex 'php7.0-xml'
E: Unable to locate package php7.0-zip
E: Couldn't find any package by glob 'php7.0-zip'
E: Couldn't find any package by regex 'php7.0-zip'
E: Unable to locate package php7.0-gd
E: Couldn't find any package by glob 'php7.0-gd'
E: Couldn't find any package by regex 'php7.0-gd'
E: Unable to locate package php7.0-mysql
E: Couldn't find any package by glob 'php7.0-mysql'
E: Couldn't find any package by regex 'php7.0-mysql'
./installation-ubuntu-16.04.sh: 18: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 19: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 20: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 23: cd: can't cd to /var/www
Cloning into 'bookstack'...
remote: Counting objects: 14199, done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 14199 (delta 13), reused 66 (delta 7), pack-reused 14108
Receiving objects: 100% (14199/14199), 9.46 MiB | 10.74 MiB/s, done.
Resolving deltas: 100% (9586/9586), done.
./installation-ubuntu-16.04.sh: 26: cd: can't cd to /var/www/bookstack
./installation-ubuntu-16.04.sh: 31: ./installation-ubuntu-16.04.sh: php: not found
ERROR: Invalid composer installer signature
```