Skip to content

Instantly share code, notes, and snippets.

@ArielBarkan
ArielBarkan / lamp.sh
Last active December 11, 2019 20:43 — forked from aamnah/lamp.sh
Bash script to install Apache2,php5.6,php5.6-curl,php5.6-gd,php5.6-mbstring,php5.6-mcrypt,php5.6-mysql,mysql-server,phpmyadmin,Enable mod_rewrite on apache,Executing \"apt-get -f \install\" to unmet dependencies,Apply permissions on \/var\/www\/ directory \&subdirectories,Adding EXISTING user to www-data group (optional),Turn EXISTING user to ww…
#!/bin/bash
#######################################
# Based on script written by @AamnahAkram from http://aamnah.com
# Original Script at: https://gist.github.com/aamnah/f03c266d715ed479eb46#file-lamp-sh-L2
#######################################
# Written by @ArielBarkan from https://peekapost.com
#
# Bash script to install:
#- Apache2
#- php5.6
System: Kernel: 5.4.0-70-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6
wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine: Type: Laptop System: LENOVO product: 80FG v: Lenovo Z70-80 serial: <filter> Chassis:
type: 10 v: Lenovo Z70-80 serial: <filter>
Mobo: LENOVO model: Lenovo Z70-80 v: 31900058 WIN serial: <filter> UEFI: LENOVO
v: ABCN95WW date: 08/03/2015
Battery: ID-1: BAT0 charge: 18.5 Wh condition: 18.5/37.5 Wh (49%) volts: 16.2/14.9
model: Lenovo IdeaPad serial: <filter> status: Full
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
charge: 55% (should be ignored) status: Discharging