Nginx stable version
Install nginx stable version instead of official ubuntu ppa.
This commit is contained in:
parent
e63b236f89
commit
eb79e2dfc1
|
@ -111,6 +111,7 @@ messagend_install() {
|
||||||
|
|
||||||
|
|
||||||
nginx_install() {
|
nginx_install() {
|
||||||
|
echo | sudo add-apt-repository ppa:nginx/stable
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install nginx
|
sudo apt-get -y install nginx
|
||||||
|
|
||||||
|
|
8
weby
8
weby
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Webinoly script.
|
# Webinoly script.
|
||||||
# This script is designed to install latest Webinoly.
|
# This script is designed to install latest Webinoly.
|
||||||
webyversion="1.0.2"
|
webyversion="1.1.0-beta"
|
||||||
|
|
||||||
if [[ -n "$1" ]]; then
|
if [[ -n "$1" ]]; then
|
||||||
setup="$1"
|
setup="$1"
|
||||||
|
@ -65,6 +65,10 @@ fi
|
||||||
# Write app version
|
# Write app version
|
||||||
conf_write app-version $webyversion
|
conf_write app-version $webyversion
|
||||||
|
|
||||||
|
# Check for missing essential packages
|
||||||
|
sudo apt-get -qq update
|
||||||
|
sudo apt-get -y -qq install software-properties-common python-software-properties
|
||||||
|
|
||||||
|
|
||||||
# NGINX Installation
|
# NGINX Installation
|
||||||
if [[ $setup -gt 0 && $setup != 4 ]]; then
|
if [[ $setup -gt 0 && $setup != 4 ]]; then
|
||||||
|
@ -87,6 +91,6 @@ if [ $setup == 4 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Borrar archivos
|
# Remove Installation File
|
||||||
sudo rm weby
|
sudo rm weby
|
||||||
app_purge
|
app_purge
|
||||||
|
|
Loading…
Reference in a new issue