-
Notifications
You must be signed in to change notification settings - Fork 7
/
install.sh
28 lines (20 loc) · 871 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#########################################################################
#LAMP for Raspberry Pi #
#This script will install Apache, PHP, FTP, and MySQL. #
#This script was written by Harbour, Justin #
#[C] 2013 Justin Harbour: See LICENSE.md for details #
#########################################################################
#!/bin/bash
#Prerequisites
sudo apt-get update
#FTP
sudo apt-get install -y proftpd
#Apache
sudo apt-get install -y apache2
sudo echo "ServerName localhost" >> /etc/apache2/httpd.conf
#PHP
sudo apt-get install -y php5 libapache2-mod-php5 php5-intl php5-mcrypt php5-curl php5-gd php5-sqlite
#MySQL
sudo apt-get install -y mysql-server mysql-client php5-mysql
#Additional Dependencies
sudo apt-get install -y nmap zenmap