Skip to content

Instantly share code, notes, and snippets.

@WeslleyJackson
WeslleyJackson / install_php55_ubuntu.sh
Created October 22, 2017 03:37 — forked from jniltinho/ install_php55_ubuntu.sh
Install PHP 5.5.38 on Ubuntu 16.04 64Bits
#!/bin/bash
### Install PHP 5.5.38 on Ubuntu 16.04 64Bits
### https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/
apt-get -y install build-essential libxml2-dev libxslt1-dev
apt-get -y install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libxml2-dev
apt-get -y install libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev
apt-get -y install libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev
apt-get -y install libfreetype6-dev libkrb5-dev libpq-dev libicu-dev
@WeslleyJackson
WeslleyJackson / install_ispconfig_nginx_debian.sh
Created October 22, 2017 03:37 — forked from jniltinho/install_ispconfig_nginx_debian.sh
Install ISPConfig +Nginx on Debian 8/9 64Bits
#!/bin/bash
## Install ISPConfig 3 on Debian 8/9 64Bits
## ISPConfig3 3 + Nginx + Debian 8/9 64Bits
## VM HD 50GB, swap 2GB, / 20GB, /var/www all
## Filesystem ext4
## Run as root
## Link: https://www.howtoforge.com/tutorial/perfect-server-debian-jessie-nginx-bind-dovecot-ispconfig-3.1/
# Check if user has root privileges
#!/bin/bash
## Install phpMyAdmin on ISPConfig
## Debian 8.7/9 or Ubuntu 16.04
## phpMyAdmin 4.7.4
cd /tmp/
get_file=https://files.phpmyadmin.net/phpMyAdmin/4.7.4/phpMyAdmin-4.7.4-all-languages.tar.gz
wget ${get_file}
tar -xzvf $(basename ${get_file})
rm -f $(basename ${get_file}) && mv phpMyAdmin-*-all-languages myadmin
#!/bin/bash
### Install PHP 5.6.29 on Ubuntu 16.04 64Bits
### https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/
apt-get -y install build-essential libxml2-dev libxslt1-dev
apt-get -y install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libxml2-dev
apt-get -y install libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev
apt-get -y install libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev
apt-get -y install libfreetype6-dev libkrb5-dev libpq-dev libicu-dev
@WeslleyJackson
WeslleyJackson / install_php71_debian.sh
Created October 22, 2017 03:37 — forked from jniltinho/install_php71_debian.sh
Install PHP 7.1 on Debian 8.6 64Bits
#!/bin/bash
### Install PHP 7.1 on Debian 8.6 64Bits
### https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
### http://www.shaunfreeman.name/compiling-php-7-on-centos/
apt-get install build-essential nano autoconf
apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-turbo-dbg libmcrypt-dev
@WeslleyJackson
WeslleyJackson / install_ispconfig3_debian.sh
Created October 22, 2017 03:37
Install ISPConfig 3.x on Debian 8/9 64Bits
#!/bin/bash
## Install ISPConfig 3.x on Debian 8/9 64Bits
## ISPConfig3 3.x + Apache2 + Debian 8/9 64Bits
## VM HD 50GB, swap 2GB, / 20GB, /var/www all
## Filesystem ext4
## Run as root
## Link: https://www.howtoforge.com/tutorial/perfect-server-debian-8-4-jessie-apache-bind-dovecot-ispconfig-3-1/
# Check if user has root privileges
@WeslleyJackson
WeslleyJackson / nginx-ispconfig3-ubuntu.sh
Created August 2, 2016 06:03
Install Nginx ISPConfig3 Ubuntu 14.04 64Bits
#!/bin/bash
## Install ISPConfig3 on Ubuntu 14.04 64Bits
## Author: Nilton OS blog.linuxpro.com.br
## http://blog.linuxpro.com.br/posts/instalando-ispconfig3-no-ubuntu-1404.html
## http://www.howtoforge.com/the-perfect-server-ubuntu-14.04-nginx-bind-mysql-php-postfix-dovecot-and-ispconfig3-p2
dpkg-reconfigure dash
service apparmor stop
@WeslleyJackson
WeslleyJackson / install-ispconfig3-ubuntu.sh
Created August 2, 2016 05:54
Install ISPConfig3 Ubuntu 14.04 64Bits
#!/bin/bash
## Install ISPConfig3 on Ubuntu 14.04 64Bits
## Author: Nilton OS www.linuxpro.com.br
## https://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3
## Version 0.5
## Set lang en_US UTF8
## echo 'LC_ALL="en_US.utf8"' >>/etc/environment
#!/bin/bash
## Install ISPConfig3 on Debian 8 x86_64
## Author: Marcin Sągol
## See: http://linuxqu.web.id/2015/12/16/the-perfect-server-debian-wheezy-nginx-bind-dovecot-ispconfig-3/
apt update
apt install dialog
dpkg-reconfigure locales
@WeslleyJackson
WeslleyJackson / ispconfig3-debian6.sh
Created August 2, 2016 05:51 — forked from riipandi/ispconfig3-debian6.sh
ISPConfig3 Installer (Debian Squeeze 32bit)
#!/bin/bash
#
# Debian GNU/Linux Installation Script for LAMP + ISPConfig3
# Script written by Aris S Ripandi (riespandi@gmail.com) 15/01/2012
#
# Referensi:
# - http://www.howtoforge.com/how-to-run-your-own-name-server-with-ispconfig-3-and-fast-hosts
# - http://www.howtoforge.com/perfect-server-debian-squeeze-with-bind-and-courier-ispconfig-3
# - http://www.howtoforge.com/installing-mydns-ng-and-mydnsconfig-on-debian-squeeze
# - http://www.howtoforge.com/how-to-run-your-own-name-server-with-ispconfig-3-and-fast-hosts