install Apache web server on Ubuntu!
来源:互联网 发布:韩国学生校服淘宝 编辑:程序博客网 时间:2024/05/02 23:12
What I need is just a simple web server that can serve light load request. Just had a google, and found a good video for a simple install. So simple. Here is my command history:
107 sudo apt-get update
110 sudo apt-get install apache2
112 ifconfig
113 netstat -a | more
114 netstat -an | more
117 sudo /etc/init.d/apache2 stop
118 netstat -an | more
120 sudo /etc/init.d/apache2 start
121 cd /var/www/
122 ls
Note that:
107 is to get update;
110 is the actuall install;
113 and 114 is to check the listener and port;
117 is to stop the server;
120 is to start the server (you can use "restart" also);
121 is the path where the index.html stays (the default page). You can change it or add your own html files.
The web address is "http://localhost/" or "http://127.0.0.1/".
That is it!!! So simple!!!
(Do not laugh at me.. It took me a while to install Node on my Ubuntu desktop and I did not make it work still..)
- install Apache web server on Ubuntu!
- Install the high performance Nginx web server on Ubuntu
- install apache hadoop on ubuntu
- Install Samba Server on Ubuntu
- Linux Web Server Apache Install
- Apache 2 Web Server on Ubuntu 10.10 (Maverick)
- Apache 2 Web Server on Ubuntu 10.10 (Maverick)
- Install SVN WebDAV + SSL on Ubuntu (Apache)
- Install chrooted CVS server on Ubuntu
- install NFS server on ubuntu 12.04
- Install MongoDB on ubuntu 12.04 (Precise) Server
- Install PostgreSql and PostGIS On Ubuntu Server
- CDH(hadoop) install on ubuntu 14.04server
- docker install on ubuntu 14.04 server
- install web server on the linux
- Ubuntu 12.04 Precise LTS: Install ModSecurity for Apache 2 web server
- Install Apache 2.4.2 on Ubuntu 12.04 LTS
- How To Install Apache Kafka on Ubuntu 14.04
- IOS内存
- GridView导出数据到Excel
- hdu 1014
- Visual studio使用技巧
- 上周日提交的APP被拒绝了,今天改后再提交
- install Apache web server on Ubuntu!
- printf中va_list的实现
- HDU—1232 并查集
- linux 性能监控命令6——mpstat,vmstat,iostat
- hdu 1017
- goahead 的认证和自定义登陆页面的cookie使用
- hdu 1019
- 安装Devel::Cover 使用指定perl编译
- ubuntu recovery mode root readonly filesystem 解决