Recently I stumbled upon these articles and wanna to set up my own local server environment so that I can get a feel of what web development is all about.
- set up lamp stack (done) https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
- install phpMyAdmin https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
- initial server setup with ubuntu https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
- how to set up virtual host https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
- secure apache with lets encrypt https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04
Right now I just finished step one. I set up lamp stack on my local machine. (my OS is ubuntu 18.04)
But what is the next step??? If I just wanna develop my own website, do I need do anything else from above?
Or I should just starting to write website right now and learn how to do the rest when I migrate my site to real server ?
I am confused.
I haven’t used lamp myself but I think that is all you need for html/css/js/php/sql
If you turn on your lamp server, then go to
localhost in your browser it should display some sort of splash page
I suggest you to check Ubuntu 18.04 bugs and little documentation. Last time, I checked I saw there were so many bugs.
If you handled or can handle those bugs just visit this link. It’d help you.
Install LAMP on Ubuntu 16.04
I hope that helps.
hey, I appreciate the heads up, but the thing I am wondering is should I install phpMyAdmin on my local server?
I have already completed the 1st step, which step should I do next ?
If you like to work with GUI, you can go with PhpMyAdmin. It’d look a little bit odd for the first time. You’ll get used to it. It’s an optional. I suggest you go and install.
I followed these steps when I installed LAMP.
so all the other steps I could do them later ?
after I finished writing my own website??
Yes, you can.
Since you installed Apache. I suggest you disable it otherwise it starts up automatically when you turn on your computer or laptop [booting] and eats your battery.
Here’s the command to disable apache on start up.
sudo update-rc.d apache2 disable
To enable it,
sudo update-rc.d apache2 enable
But remember when you go back to installing the rest modules don’t forget to turn on you apacheserver. You can leave you it turned it on.
I am using a desktop, so I think I can keep it running.
Let that i7 8700 8GB of RAM do some work. LOL.
thanks for the help! still new to all these.