-1

i want to make a web server that can be accessed on a LAN but i am new and don't have much idea on networking and Ubuntu however trying my best to learn. it just need to be able to serve website on a server to LAN clients. help will be appreciated.

1

1 Answer 1

1
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo mysql_install_db
sudo /usr/bin/mysql_secure_installation
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

Source: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu

Next time, try googling :) (I just typed Webserver ubuntu installation)

-- Edit: (thanks Wilf)

the recomended info source is help.ubuntu.com/lts/serverguide/httpd.html

1
  • 2
    You won't need mysql & php for a basic webserver... - some configuration will probably also be needed for components as well - the recomended info source is help.ubuntu.com/lts/serverguide/httpd.html .
    – Wilf
    Jul 19, 2015 at 14:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .