How to make a website on ubuntu with php

June 12, 2016 1.3k views
MySQL LAMP Stack

So im trying to make a CSGO Gambling website following this tutorial.
https://www.youtube.com/watch?v=kkseXI32jy4&list=PL2-vMEK3ncCzNudcbNR22jpYAymMT9ElW
Whenever i enter - sudo nano /etc/apache2/mods-enabled/dir.conf It doesnt look the same as the guy in the tutorial. I follow everything he does but it never is the same. I tried destroying then making new droplets.

  • LOG INTO ROOT
  • CHANGE PASSWORD
  • sudo apt-get update
  • sudo apt-get install apache2
  • sudo apt-get install mysql-server php5-mysql
  • sudo mysqlinstalldb
  • sudo mysqlsecureinstallation
  • sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt I did all this before so i dont know why its not working

Im using ubuntu

1 Answer

Take a read on this. It will teach you many of the fundamentals on how to build a server in order to run a website, whether it's WordPress or not. There are many, many tutorials made by the community of DigitalOcean.

Also, you may want to take a look at the One-Click Apps tab when creating a droplet.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04

The LEMP software stack is a group of software that can be used to serve dynamic web pages and web applications. This is an acronym that describes a Linux operating system, with an Nginx web server. The backend data is stored in the MySQL database and the dynamic processing...
Have another answer? Share your knowledge.