메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


1. /etc/apache2/mods-enabled로 이동한다.

cd /etc/apache2/mods-enabled


2. symbolic link를 생성한다.

ln -s ../mods-available/userdir.conf

ln -s ../mods-available/userdir.load


3. 수정내용을 반영해준다.

service apache2 restart



#참고 : Document Root를 public_html이 아닌 다른 명칭의 경로를 사용하는 경우 아래와 같이 변경해준다.

-----------------------mods-enable/userdir.conf-----

<IfModule mod_userdir.c>
        #UserDir public_html
        UserDir www

        UserDir disabled root

        #<Directory /home/*/public_html>
        <Directory /home/*/www>

                AllowOverride FileInfo AuthConfig Limit Indexes
                Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
                <Limit GET POST OPTIONS>
                        Require all granted
                </Limit>
                <LimitExcept GET POST OPTIONS>
                        Require all denied
                </LimitExcept>
        </Directory>
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet


4. 사용자계정을 생성및 경로/권한을 생성한다.

  가. useradd gdime

  나. passwd gdime

  다. home경로 생성 : mkdir /home/gdime

  라. Document Root경로 생성 : mkdir /home/gdime/www

  마. home경로 권한 설정

    chmod 711 /home/gdime

  바. Document Root경로 권한 설정
    chmod -R 755 /home/gdime/www

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로