Skip to content

Shell script for LAMP server setup using Debian 8 and php 7. Tested on DigitalOcean droplet.

License

Notifications You must be signed in to change notification settings

haqqi/debian8-lamp-php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shellscript - Debian LAMP with PHP 7 and latest MySQL

This project is for everyday use of configuring new vps. These scripts has been tested in Digital Ocean droplet using Debian 8.6.

How to Use

  1. Login as root in your new droplet using ssh.
  2. Copy 01-initial.sh to your server using nano 01-initial.sh.
  3. Change permission of the file using chmod 755 01-initial.sh.
  4. This file will create a new sudo user. To customize the user and password for it, edit it using nano 01-initial.sh in the line SUDO_USER and SUDO_PASSWD.
  5. Run the script ./01-initial.sh.

Setup LAMP Stack

  1. Assume you are still logged in as sudo user.
  2. Edit and use 02-lamp.sh script similar to section before.

About

Shell script for LAMP server setup using Debian 8 and php 7. Tested on DigitalOcean droplet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages