1/05/2014

우분투 서버 아파치2에서 계정마다 주소 주는 방법


일단 vsftpd같은 ftp 프로그램으로 접속이 되는지 확인한다.

그리고 유저 계정에 public_html 이라는 폴더를 생성한다.

cd /etc/apache2/mods-enabled/
sudo ln -s ../mods-available/userdir.conf
sudo ln -s ../mods-avaiable/userdir.load

위의 명령어를 실행시킨 후

sudo service apache2 restart 

를 해주면

http://서버ip/~계정

이런식으로 접속이 가능해진다.


출처: http://www.androidstar.net/?p=22

1 comment:

  1. Therefore, simplifying half complexity through efficient CAD design ensures one of the best utilization of sources. An example of that is the soft rubber grip that you just see embedded into plastic and rubber merchandise, corresponding to toothbrushes. Other supplies that may be} injected are totally different metals and liquid silicone. Browse the most precision machining present problem of Design World and back points in an easy to make use of high quality format. Clip, share and obtain with the leading design engineering magazine today.

    ReplyDelete