在centos上安装http服务器
来源:互联网 发布:caffe 利用fcn8s 分割 编辑:程序博客网 时间:2024/05/16 18:35
一、安装方法yum install httpd
二、启动http服务器
service httpd start
三、文件放在http服务器的目录。
/var/www/html/
可以在html目录下建一个目录,比如test。
例子:
[root@localhost html]# pwd
/var/www/html
[root@localhost html]# ls
test
[root@localhost html]# cd test
[root@localhost test]# ls
2.txt a.out test.c xpsp2.rar
[root@localhost test]#
1、直接使用浏览器去访问,如例子,http://10.8.1.86/test/ 就可以了。
2、可以采用脚本的方式去访问,通常用来下载文件或者做网络稳定性测试或功能测试。
0 0
- 在centos上安装http服务器
- 在CENTOS上安装MYSQL服务器
- 在CENTOS上安装MYSQL服务器
- 在CentOS上安装nginx服务器
- 在CentOS 7上安装RabbitMQ服务器
- 在linux(centos)服务器上安装memcached
- Apache服务器在CentOS release 6.4 (Final)上的安装
- 消息服务器 RabbitMQ在Centos上的安装
- 在 CentOS 和 RHEL 上安装 Puppet 服务器和客户端
- 怎样在 CentOS 7.0 上安装和配置 VNC 服务器
- 如何在CentOS 7上安装Percona服务器
- 如何在 CentOS 7 上安装 Redis 服务器
- 如何在 CentOS 7 上安装 Percona服务器
- 如何在 CentOS 7 上安装 Redis 服务器
- 在CentOS 7 上安装广告服务器 Revive Adserver
- 怎样在 CentOS 7.0 上安装和配置 VNC 服务器
- 怎样在 CentOS 7.0 上安装和配置 VNC 服务器
- 怎样在 CentOS 7.0 上安装和配置 VNC 服务器
- If You're so Smart, Why Aren't You Rich? (一个经济学解释)
- JAVA知识点总结(六)String、StringBuffer、StringBuilder
- centos jsp 中文传参乱码
- Windows 7安装CentOS6.5 双系统
- jackson 复杂对象集合 的几种简单转换
- 在centos上安装http服务器
- 在PC机上运行脚本访问httpd服务器
- 我的 kmeans matlab 代码
- 万向节死锁问题
- Android ContentResolver query 参数详解
- FrameLayout
- UVA 590--Always on the run +dp
- 人文社科中理论、模型的意义--一些质疑
- 【解决】iptables -P INPUT DROP后无法联网