ubuntu中apache的安装
来源:互联网 发布:淘宝网店产品摄影 编辑:程序博客网 时间:2024/06/03 19:47
apache2的安装
sudo apt-get install apache2
apache2的启动,停止和重启
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 restart
配置文件一般是在etc/apache2/apache2.conf
修改默认目录
sudo gedit /etc/apache2/apache2.conf
修改<Directory /var/www/>
为<Directory /var/www>
sudo gedit /etc/apache2/sites-available/000-default.conf
修改DocumentRoot /var/www/html
为DocumentRoot /var/www
重启apache
sudo /etc/init.d/apache2 restart
复制一个文件
sudo cp /var/www/html/index.html /var/www
删除目录
sudo rm -r /var/www/html
0 0
- ubuntu中apache的安装
- ubuntu中安装apache
- Ubuntu中安装apache
- Ubuntu中apache的安装和配置
- Ubuntu的Apache安装
- 在Ubuntu中安装apache
- 在Ubuntu中安装apache
- 在Ubuntu中安装apache
- ubuntu下apache的安装
- ubuntu中apache的配置
- Ubuntu中安装和配置Apache
- Ubuntu下面Apache, PHP, MySQL的安装
- Ubuntu Linux Apache虚拟主机的安装配置
- ubuntu下Apache 的安装与配置
- ubuntu下Apache Solr的安装流程
- Ubuntu下apache的安装与配置
- linux中apache的安装
- ubuntu安装MySQL,Apache
- baseactivity和baseapplication
- java类File的方法:file.mkdir()方法与filemkdirs()区别
- 史上最详细的Android Studio系列教程三--快捷键
- 欢迎使用CSDN-markdown编辑器
- ViewPager+Fragment实现选项卡的滑动及点击效果
- ubuntu中apache的安装
- wince 修改控制面板区域设置小数点
- boundingRectWithSize 计算高度 5s和plus高度不同
- C++ STL中哈希表 hash_map介绍
- Log4j 2 + Slf4j 的配置和使用
- 从图库选择图片后根据Intent获取真实地址
- python中for in中定义多个参数
- GreenDao
- ssh框架与json的整合,没导入相应jar包报的错误提示