There is no translation available.
下载Phantomjs:http://phantomjs.org/download.html
解压到:/Users/UFO/
打开terminal,输入命令:export PATH="$PATH:/Users/UFO/phantomjs-2.1.1-macosx/bin/"
测试:phantomjs -v
看到具体的版本号,则表示安装成功
下载Phantomjs:http://phantomjs.org/download.html
解压到:/Users/UFO/
打开terminal,输入命令:export PATH="$PATH:/Users/UFO/phantomjs-2.1.1-macosx/bin/"
测试:phantomjs -v
看到具体的版本号,则表示安装成功
cd~
curl -sS https://getcomposer.org/installer | php
php composer.phar
1.给子域名加www标记 RewriteCond %{HTTP_HOST} ^([a-z.]+)?example\.com$ [NC] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .? http://www.xample.com%{REQUEST_URI} [R=301,L] 这个规则抓取二级域名的%1变量,如果不是以www开始,那么就加www,以前的域名以及{REQUEST_URI}会跟在其后。
1 2 |
hostname hostname -f |
1 |
sudo apt-get update && sudo apt-get upgrade |