初心者チュートリアルのlinuxの下でtypechoインストール
初心者チュートリアルのlinuxの下でtypechoインストール
インストールの注意事項
インストールの概要
インストール手順
サーバ環境の設定:
インストールの開始:
インストール後のアクセス
インストールの注意事項
* Typecho , typecho, (nginx apache) Typecho
* ,
- PHP 5.1
- Mysql, PostgreSQL, SQLite , PHP
- CURL Socket
- mbstring iconv
インストールの概要
* typecho :http://typecho.org/
* , url
* install.php,
*
*
インストール手順
* :
- linux wget , : , , , 1.0 , , wget .
* :
- nginx /data/www/htdocs/web, mkdir typecho, typecho
- tyopecho index.php,
- :chmod 777 typecho
サーバ環境の設定:
* : "404, not found"
* : ,nginx.conf location :location ~ .*\.php$, pathinfo, :location ~ .*\.php(\/.*)*$, location
set $path_info "";
set $real_script_name $fastcgi_script_name;
if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {
set $real_script_name $1;
set $path_info $2;
}
fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param PATH_INFO $path_info;
インストールの開始:
* webip , webip/typecho/install.php, , ,
* ,
* :
- ip, : xshell , ifconfig, inet 172.18.24.226 netmask 255.255.240.0 broadcast 172.18.31.255 , ip 172.18.24.226
- , ,ip , ,grant all PRIVILEGES on typecho.* to root@'172.18.24.226' identified by '123' , 123
* next,
インストール後のアクセス
* blog :webip/typecho/index.php
*