摘要: 大体思路同《Using Apache Web Server with Jboss AS 7》一致,但在Ubuntu上的操作与之前有些区别。这里仍然演示mod_proxy的配置。 首先加载相应的模块。Ubuntu中加载模块和卸载模块均可以通过命令操作,与其对应的命令分别是a2enmod和a2dismod。 启用proxy模块:#a2enmod proxy 启用proxy_ajp模块:#a2enmod proxy_ajp 在sites-avaliable下面创建一个名为ajp(可随意命名)文件,内容如下: ServerAdmin webmaster@localhost ServerName... 阅读全文
posted @ 2013-10-25 23:05 MagicLetters 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 删除/etc/udev/rules.d/70-persistent-net.rules这个文件,重启 阅读全文
posted @ 2013-10-25 23:04 MagicLetters 阅读(296) 评论(0) 推荐(0) 编辑
摘要: The maximum size is controlled by two PHP settings: upload_max_filesize, and post_max_size. These are PHP.INI settings 阅读全文
posted @ 2013-10-25 23:02 MagicLetters 阅读(133) 评论(0) 推荐(0) 编辑
摘要: How to Create a New User Let’s start by making a new user within the MySQL shell:CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; Sadly, a... 阅读全文
posted @ 2013-10-25 22:39 MagicLetters 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Running several name-based web sites on a single IP address. Your server has a single IP address, and multiple aliases (CNAMES) point to this machine in DNS. You want to run a web server for www... 阅读全文
posted @ 2013-10-25 17:24 MagicLetters 阅读(245) 评论(0) 推荐(0) 编辑
摘要: In real-world projects, it's common to find Apache web server as a front door to your application server. The advantages of such an architecture are as follows: • Speed: Apache is generally faster at... 阅读全文
posted @ 2013-10-25 17:21 MagicLetters 阅读(306) 评论(0) 推荐(0) 编辑
摘要: You have to enable mod_rewrite in apache itself or you won't be able to have permalinks the way you want them to. 阅读全文
posted @ 2013-10-25 16:55 MagicLetters 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Running several name-based web sites on a single IP address. Your server has a single IP address, and multiple aliases (CNAMES) point to this ma... 阅读全文
posted @ 2013-10-25 09:24 MagicLetters 阅读(154) 评论(0) 推荐(0) 编辑