Archive for the ‘linux’ tag
Membuat userdir public_html di Apache Ubuntu
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/
Installing software from source in Linux
< 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 »
auto mounting partisi dengan pysdm (storage device manager)
bikin ip static di ubuntu
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 »

