
๊ตฌ์ถ ๋๊ตฌ๋ก ์ฌ์ฉํ ๋ธ๋ก๊ทธ ์์ค๋ Textcube ์ด๋ค.
์์ ์ฑ์ด๋ ํธํ์ฑ๋ฉด์์ ์ฐ์ํ ๋ธ๋ก๊ทธ ์์ค๋ผ๊ณ ๋งํ ์ ์๊ณ ๋ง์ ๊ฐ๋ฐ์๋ค์ด ์ฌ๊ธฐ์ ์ฐธ์ฌํ๊ณ ์๋ค.
์ผ๋จ http://www.textcube.org/download ์์ ์์คํ์ผ์ ๋ค์ด ๋ฐ๋๋ค.
ํ์ฌ ์ต์ ๋ฒ์ ์ 1.8.5๋ฒ์ ์ด๋ค.
์ ์ผ ๋จผ์ APM ์๋ฒํ๊ณ ๋คํธ์ํฌ ํธ์คํธ๋ฐ ๋๋ฉ์ธ ์ค์ ์ ์ ๊ฒํ๊ณ ์ธํ ํด์ผ ํ๋ค.
ํธ์คํธ์ค์ ์ C:\WINDOWS\system32\drivers\etc\hosts ํ์ผ์ ํธ์ง๊ธฐ๋ก ๋ถ๋ฌ์์ ๋ค์์ฒ๋ผ ์ค์ ํด ์ค๋ค.
===================================================================================
127.0.0.1 blog.linuxsunny.com ==> ๋ก์ปฌIP๋ก ์ค์ ํด๋ ๊ฐ๋ฅํ๊ณ ์๋๋ฉด
192.168.1.16 blog.linuxsunny.com ==> ๊ณ ์ IP๋ก ์ค์ ํด๋ ๋ฉ๋๋ค.
์ด๋ ๊ฒ ์ ์ฅํ๊ณ ๋น ์ ธ๋์ต๋๋ค.
===================================================================================
๋ง์ฝ์ ๋๋ฉ์ธ์๋ฒ๊ฐ ๋์๊ฐ๊ณ ์๋ค๋ฉด ๋ค์๊ณผ ๊ฐ์ด ์ค์ ํฉ๋๋ค.
์๋ฅผ ๋ค์ด์ C:\Server\bind9\dns\etc\named\cfg\linuxsunny.zone ์ด๋ผ๋ ์กด ํ์ผ์ ์ด์ด์
===============================================================================================
blog.linuxsunny.com. IN A 192.168.1.16 ์ด๋ฐ ํ์์ด๊ฑฐ๋
blog.linuxsunny.com. IN A 127.0.0.1 ์ด๋ ๊ฒ ์ค์ ํ์๊ณ ์ ์ฅํ ๋ค์ ๋ค์์๋ฒ๋ฅผ ๋ค์ ์์ํด ์ค๋๋ค.
===============================================================================================
์ด์ ์ํ์น ์๋ฒ ์ค์ ํ์ผ์์ ๊ฐ์ ํธ์คํธ๋ถ๋ถ์ ์ค์ ํฉ๋๋ค.
C:\Server\APMServer\Server\Apache\conf\extra\httpd-vhosts.conf ์ดํ์ผ์ ํธ์ง๊ธฐ๋ก
๋ถ๋ฌ์์ ๋ค์๊ณผ ๊ฐ์ด ์ค์ ํฉ๋๋ค.
========================================================================================
############### ๋ธ๋ก๊ทธ ๋ฉ์ธ ํธ์คํธ ###############
<VirtualHost *:80>
ServerAdmin sunny@linuxsunny.com
DocumentRoot "C:\Server\userhome\Blog\web"
ServerName blog.linuxsunny.com
ServerAlias myblog.linuxsunny.com
ErrorLog "logs/blog.linuxsunny-error.log"
CustomLog "logs/blog.linuxsunny-access.log" common
</VirtualHost>
=========================================================================================
์ด์ mysql ๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ์์ฑํ๊ณ ์ค์ ํฉ๋๋ค.
=======================================================================================
C:\>mysql -h localhost -u sunny -p mysql
Enter password: ****************************
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.41-community MySQL Community Server (GPL)Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database my_Blog;
Query OK, 1 row affected (0.02 sec)mysql> FLUSH PRIVILEGES ;
Query OK, 0 rows affected (0.17 sec)
=======================================================================================
์ด์ ๋ค์ด ๋ฐ์ ํ์ผ์ ๊ฐ์ํธ์คํธ ๋๋ ํ ๋ฆฌ๋ก ์ด๋์์ผ์ ์์ถ์ ํ๊ณ ๊ธฐํ ์ค์ ์ ํ์๋ฉด
๋ฉ๋๋ค.
์ ๊ฐ์ ๊ฒฝ์ฐ๋ web๋ฃจํธ๊ฐ C:\Server\userhome\Blog\web ์ ๋๋ค.
ํ์ผ์ ์์ ๋ฃจํธ๋ก ์ด๋ํ ๋ค์ ์์ถ ํ๊ณ ํผ๋ฏธ์ ๋ฑ์ ์ค์ ํ์๋ฉด ๋ฉ๋๋ค.
ํผ๋ฏธ์ ์ค์ ๋ถ๋ถ์ด ๋จ์์๋๋ฐ ์์งํ xp์์๋ ์ด๊ฑด ์ํด ์ฃผ์ด๋ ๋ฉ๋๋ค.
๋ฆฌ๋ ์ค ์๋ฒ ๋ฐฉ์์ด ์๋๊ธฐ ๋๋ฌธ์ OS์์ฒด๊ฐ ์คํ์ด๋ผ ๊ถํ์ค์ ์ ํด์ค ํ์์ฑ์ด ๋ณ๋ก ์์ต๋๋ค.
๋ง์ฝ ๋ฆฌ๋ ์ค๋ ์๋์ฐ์๋ฒ OS๋ผ๋ฉด ๋น์ฐํ ํผ๋ฏธ์ ์ด๋ ๊ถํ์ค์ ์ ํด์ผ ํ๋๊ฑด ๋น์ฐํ๊ฒ ์ง๋ง
XP์์๋ ์ด ๊ณผ์ ์ ์๋ตํฉ๋๋ค.
์ ์ด์ ์น์์ ์ ์ํด์ ์ค์น๊ณผ์ ๋ง ํ์๋ฉด ๋ฉ๋๋ค.
์ด์ ์ฌ๋ฌ๋ถ์ด ์ ์ฝ๊ฒ ์์ ๋ง์ ๋ธ๋ก๊ทธ ์๋ฒ๋ฅผ ๋ง๋ค์ด์ ๋ ์์ ์ผ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.









