02.01.2016 Views

Linux

linux_admin_text-1.0.0_2

linux_admin_text-1.0.0_2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4 <br />

# permissions).<br />

#<br />

#UserDir disabled #<br />

#<br />

# To enable requests to /~user/ to serve the user's public_html<br />

# directory, remove the "UserDir disabled" line above, and uncomment<br />

# the following line instead:<br />

#<br />

UserDir public_html #<br />

<br />

httpd <br />

# service httpd restart<br />

httpd : [ OK ]<br />

httpd : [ OK ]<br />

sato public_html <br />

$ pwd<br />

/home/sato<br />

$ mkdir public_html<br />

/home/sato /home/sato/public_html 711 <br />

<br />

$ chmod 711 /home/sato<br />

$ chmod 711 /home/sato/public_html/<br />

public_html index.html <br />

[sato@server ~]$ echo "SE<strong>Linux</strong> test" > /home/sato/public_html/index.html<br />

http://192.168.0.10/~sato/SE<strong>Linux</strong> <br />

Forbidden<br />

www.lpi.or.jp 123 (C) LPI-Japan

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!