070-8260-2526

9 ~ 6

352-0331-1626-83

:ũڸ


ֹ
Ȩ > > ֹ

ȸ 7878
߰
1. ߰
adduser -g users -d /home/
 
2.йȣ
passwd
changing password for user
new password:йȣ

 
3. 丮 ۹̼ public_html 丮
chmod 701 /home/
ls -d ./home// Ȯ
 
cd ./home/
mkdir public_html
chmod 701 public_html
 
4. mysql
mysql -u root -p
 

 
6.
create database ;

 
7. virtualhosts.conf Ͽ ߾ Ѵ. [http.conf ƲǷ Ȯ Ѵ.]
cd /etc/httpd/conf/
vi virtualhosts.conf
[1]


    ServerAdmin 
root@abc.co.kr
    DocumentRoot /home/abc/public_html
    ServerName abc.co.kr
    ServerAlias
www.abc.co.kr