Ubuntu – What’s better for web development Ubuntu-Server or Ubuntu-Desktop?

aptcommand linedesktop-environmentsdual-bootserver

Am new with ubuntu and I want to create a website so I don't know what's best for me ubuntu desktop or server

Best Answer

Ubuntu Desktop is all the bells and whistles of Ubuntu. It has a graphic interface that is easy to use and a great environment. If you never used Ubuntu before I recommend you start with the Desktop operating system. After you get in the swing of things then you can try your hands at Ubuntu Server. Ubuntu Server is stripped of all the graphics and is meant to be controlled via command line. The nice thing about Ubuntu is that you can run it in a Virtual Machine if you wanted to, or install straight on a spare computer you have around the house. It's not resource intensive so you can install it on most desktops and laptops.

To install it locally on your machine you can use a program called Virtual Box created by Oracle. The same people who make Java. Here are the instructions: http://www.beopensource.com/2016/05/how-to-install-Ubuntu-1604-LTS-in-Virtual-Box-VmWare.html

Using this link: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04 you can deploy your very own web server.

Your server files will be located at /var/www/html and are viewable once apache2 is started. If you are doing this locally, then you will need to have the IP address. You can use ip addr in the terminal to view your IP address and then from any browser you can type http://###.###.###/index.html and you can see it.

I also recommend installing phpMyAdmin from this link here: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04 This will allow you to modify your MySQL databases easily in a web browser.

Using this link: http://linux-sys-adm.com/ubuntu-16.04-lts-how-to-install-and-configure-vsftpd-on-ubuntu/ will allow you to transfer files via SFTP with programs like FileZilla.

Related Question