nuno's web blog

laksonoadi.web.id/blog

Archive for the ‘linux’ tag

Membuat userdir public_html di Apache Ubuntu

with 2 comments

Cara membuat http://localhost/~username di Ubuntu.

Buat folder public_html  di home directory

mkdir ~/public_html

Kita Enable user directory – nya

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

Edit /etc/apache2/mods-enabled/php5.conf

sudo nano /etc/apache2/mods-enabled/php5.conf

Cari bagian yang di bawah ini kemudian tambahkan karakter ‘#’ di awal setiap baris:

<IfModule mod_userdir.c>
    <Directory /home/*/public_html>
        php_admin_value engine Off
    </Directory>
</IfModule>

Jadinya seperti ini:

#<IfModule mod_userdir.c>
#    <Directory /home/*/public_html>
#        php_admin_value engine Off
#    </Directory>
#</IfModule>

Restart Apache

sudo /etc/init.d/apache2 restart

sumber:

http://selinap.com/2009/04/enable-ubuntu-public_html-user-directory-for-apache/

http://littlebrain.org/2010/09/13/enable-php-in-apache-userdir-in-lucid-lynx-ubuntu-10-04/

Written by laksonoadi

October 13th, 2011 at 8:14 am

Installing software from source in Linux

without comments

< The procedure >

The installation procedure for software that comes in tar.gz and tar.bz2 packages isn’t always the same, but usually it’s like this:

# tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)

# cd package

# ./configure

# make

# make install

If you’re lucky, by issuing these simple commands you unpack, configure, compile, and install the software package and you don’t even have to know what you’re doing. However, it’s healthy to take a closer look at the installation procedure and see what these steps mean.
Read the rest of this entry »

Written by laksonoadi

February 20th, 2010 at 2:15 pm

Posted in informatika

Tagged with ,

auto mounting partisi dengan pysdm (storage device manager)

with 2 comments

Written by laksonoadi

February 6th, 2010 at 3:13 am

bikin ip static di ubuntu

without comments

kebetulan lagi setting2 ip router jadi sekalian nulis yang beginian.. kebiasaan ane kalo setting ip mesti, lewat konsole, dan itu berulang2 kalo tu komputer mati atao restart,, tapi kadang juga ga perlu ganti atao setting ulang kalo via grafisnya udah kesetting juga,,
kalo yang grafis tu kaya gini :
System -> Preferences –> Network Connections

disitu nti tampil seperti ini
(tampilan di atas memiliki 2 network jaringan / 2 interfaces)
Read the rest of this entry »

Written by laksonoadi

January 7th, 2010 at 2:49 am

Posted in informatika

Tagged with , ,

Switch to our mobile site