Skip to content

Commit

Permalink
Merge pull request #1 from acuparse/dev
Browse files Browse the repository at this point in the history
Replacing Debian Jessie with Stretch
  • Loading branch information
maxwellpower committed Aug 9, 2017
2 parents 493c489 + 2e2bf10 commit 3aff1cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [1.0.1] - 2017-08-08
### Changed
- Removed Debian Jessie(8) support and replaced with Stretch(9).

## [1.0.0] - 2017-03-13
### Added
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Acuparse Installer - 1.0.0
## Script to install Acuparse on a fresh Debian/Ubuntu server.
# Acuparse Installer
## Script to install Acuparse on a clean Debian based server.
> **Info:** Installer currently supports Debian Stretch(9) and Ubuntu 16.04 LTS.
# Usage:
**Requires LAMP stack. Some PHP, Apache, and GNU/Linux experience recommended.**

## Quick Install:
Install your base Debian or Ubuntu operating system and update. Then download and run the installer.
Install your base operating system and update. Then download and run the installer.

``` wget https://raw.githubusercontent.com/acuparse/installer/master/install.sh && sudo sh install.sh ```

# Licencing:
Expand Down
8 changes: 3 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fi
cd ~
printf "Acuparse Installation Script\n\n"

printf "This script is designed to be run on a freshly installed Debian/Ubuntu System\n\n"
printf "This script is designed to be run on a freshly installed Debian Stretch or Ubuntu 16.04 LTS System\n\n"

printf "First we need some database credentials ...\n"

Expand All @@ -57,10 +57,8 @@ OS=$(cat /etc/*release | grep '^ID=' | awk -F= '{ print $2 }')
echo "mysql-server mysql-server/root_password password $ROOTPW" | sudo debconf-set-selections
echo "mysql-server mysql-server/root_password_again password $ROOTPW" | sudo debconf-set-selections

if [ "$OS" = "debian" ]; then
apt-get update && apt-get install git ntp imagemagick apache2 mysql-server php5 libapache2-mod-php5 php5-mysql php5-gd php5-curl php5-cli -y
elif [ "$OS" = "ubuntu" ]; then
apt-get update && apt-get install git ntp imagemagick apache2 mysql-server php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-gd php7.0-curl php7.0-json php7.0-cli -y
if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ]; then
apt-get update && apt-get install git ntp imagemagick exim4 apache2 mysql-server php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-gd php7.0-curl php7.0-json php7.0-cli -y
else
printf "NO Debian Based OS!"
exit
Expand Down

0 comments on commit 3aff1cd

Please sign in to comment.