Unix
From CSBLwiki
(Difference between revisions)
(→Apache) |
|||
Line 23: | Line 23: | ||
<pre>xhost -</pre> | <pre>xhost -</pre> | ||
===Apache=== | ===Apache=== | ||
+ | *activating user directory | ||
+ | <pre> | ||
+ | ~$ cd /etc/apache2/mods-enabled/ | ||
+ | /etc/apache2/mods-enabled$ sudo ln -s ../mods-available/userdir.* . | ||
+ | /etc/apache2/mods-enabled$ ls userdir.* | ||
+ | userdir.conf userdir.load | ||
+ | </pre> | ||
+ | *check ''userdir.conf'' | ||
+ | <pre> | ||
+ | UserDir public_html | ||
+ | UserDir disabled | ||
+ | UserDir enabled user_id | ||
+ | </pre> | ||
+ | |||
===Misc.=== | ===Misc.=== | ||
*SCIM - [http://www.ubuntu.or.kr Input Hangul] | *SCIM - [http://www.ubuntu.or.kr Input Hangul] | ||
*Linux (Unix) [http://hancoma.springnote.com/pages/621424.xhtml commands] | *Linux (Unix) [http://hancoma.springnote.com/pages/621424.xhtml commands] | ||
*[http://tldp.org/ The Linux Document Projects] - Numerous useful documents & tutorials are available | *[http://tldp.org/ The Linux Document Projects] - Numerous useful documents & tutorials are available |
Revision as of 04:19, 17 June 2010
Contents |
Maintenance
Compilers
SSH
- SSH - how to connect the Lab. PC from your home
- X11 connection
- Easy safe way is to use SSH's X forwarding:
ssh -X me@remotemachine
- check ssh_config & sshd_config (/etc/ssh/) by SSH
X11Forward yes
- old way - no need to follow
Your display will look to the remote machine like:
echo $DISPLAY localhost:10.0 firefox --display=$DISPLAY &
xhost/export DISPLAY
- On your local machine:
xhost + remotemachine
- On the remote machine:
export DISPLAY=localhost:0.0
- After you're done, remove remote machine access from your xhost:
xhost -
Apache
- activating user directory
~$ cd /etc/apache2/mods-enabled/ /etc/apache2/mods-enabled$ sudo ln -s ../mods-available/userdir.* . /etc/apache2/mods-enabled$ ls userdir.* userdir.conf userdir.load
- check userdir.conf
UserDir public_html UserDir disabled UserDir enabled user_id
Misc.
- SCIM - Input Hangul
- Linux (Unix) commands
- The Linux Document Projects - Numerous useful documents & tutorials are available