web appication server

web appication server

install apache

  • install Apache using your package manager with the following command :
sudo apt-get install apache2

note:Apache, by default, serves its files from the /var/www/html directory. If you explore this directory you will find a file called index.html and if you review that file you will see it contains the HTML of the page you see when you visit http://localhost:8080.

install mod_wsgi

  • sudo apt-get install libapache2-mod-wsgi
  • sudo vim /etc/apache2/sites-enabled/000-default.conf
posted @ 2017-09-14 21:43  ethan2lee  阅读(90)  评论(0编辑  收藏  举报