Dalam tutorial ini saya menggunakan source code kernel 3.0.4 dari alamat :
http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.4.tar.bz2
Versi sebelum compile 2.6.43.8-1
[root@udin ~]# uname -a
Linux udin 2.6.43.8-1.fc15.i686 #1 SMP Mon Jun 4 20:28:56 UTC 2012 i686 i686 i386 GNU/Linux
Install paket-paket untuk proses compilasi
[root@udin ~]# yum install ncurses-devel gcc autoconf
Masuk ke folder src, lalu download source kernel dan exstrac linux-3.0.4.bz2 akan menghasikan folder linux-3.0.4
[root@udin ~]# cd /usr/src/
[root@udin src]# wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.4.tar.bz2
[root@udin src]# tar -xvf linux-3.0.4.tar.bz2
[root@udin src]# ls -la
total 74988
drwxr-xr-x. 5 root root 4096 Jun 27 17:35 .
drwxr-xr-x. 12 root root 4096 Jun 27 15:40 ..
drwxr-xr-x. 2 root root 4096 May 18 2011 debug
drwxr-xr-x. 2 root root 4096 May 18 2011 kernels
drwxrwxr-x. 24 root root 4096 Jun 28 02:52 linux-3.0.4
-rw-r--r--. 1 root root 76759291 Aug 30 2011 linux-3.0.4.tar.bz2
Masuk ke folder linux-3.0.4 dan Konfigurasi kernel dilakukan dengan printah :
[root@udin src]# cd linux-3.0.4
[root@udin linux-3.0.4]# make menuconfig
pilih <EXIT>
Compile dan instalasi
Jalankan compilasi
[root@udin linux-3.0.4]# make
Membuat image vmlinus
[root@udin linux-3.0.4]# make bzlmage
Membuat module aktif
[root@udin linux-3.0.4]# make modules
Install modul
[root@udin linux-3.0.4]# make modules_install
Install kernel yang baru
[root@udin linux-3.0.4]# make install
Edit file menu.lst default=1 menjadi default=0
[root@udin linux-3.0.4]# nano /boot/grub/menu.lst
Restart
[root@udin linux-3.0.4]# reboot
Versi setelah compilasi 3.0.4
[root@udin ~]# uname -a
Linux udin 3.0.4 #1 SMP Wed Jun 27 22:14:04 WIT 2012 i686 i686 i386 GNU/Linux
kurang lebih seperti itu, semoga bermanfaat
Selasa, 26 Juni 2012
Rabu, 13 Juni 2012
Install phpBB3 di debian
Langkah install phpBB3 pada debian 6.0.0
Menggunakan repo
deb http://ftp.debian.org/debian unstable main contrib non-free
deb http://http.us.debian.org/debian/ unstable main contrib non-free
root@debian:~# apt-get install unzip
root@debian:~# apt-get install nginx
root@debian:~# /etc/init.d/nginx start
server {
# .domain.com will match both domain.com and anything.domain.com
server_name .example.com;
# It is best to place the root of the server block at the server level, and not the location level
# any location block path will be relative to this root.
root /var/www/;
# It's always good to set logs, note however you cannot turn off the error log
# setting error_log off; will simply create a file called 'off'.
access_log /var/log/nginx/example.access.log;
error_log /var/log/nginx/example.error.log;
# This can also go in the http { } level
index index.html index.htm index.php;
location / {
# if you're just using wordpress and don't want extra rewrites
# then replace the word @rewrites with /index.php
try_files $uri $uri/ @rewrites;
}
location @rewrites {
# Can put some of your own rewrite rules in here
# for example rewrite ^/~(.*)/(.*)/? /users/$1/$2 last;
# If nothing matches we'll just send it to /index.php
rewrite ^ /index.php last;
}
# This block will catch static file requests, such as images, css, js
# The ?: prefix is a 'non-capturing' mark, meaning we do not require
# the pattern to be captured into $1 which should help improve performance
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
# Some basic cache-control for static files to be sent to the browser
expires max;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
# remove the robots line if you want to use wordpress' virtual robots.txt
location = /robots.txt { access_log off; log_not_found off; }
location = /favicon.ico { access_log off; log_not_found off; }
# this prevents hidden files (beginning with a period) from being served
location ~ /\. { access_log off; log_not_found off; deny all; }
location ~ \.php {
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
}
root@debian:~# /etc/init.d/nginx restart
root@debian:~# apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt
php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
root@debian:~# /etc/init.d/php5-fpm restart
root@debian:~# Mysql -u root -p (enter dan masukkan password mysql)
mysql> CREATE DATABASE db_sinau;
mysql> CREATE USER sariff@localhost;
mysql> SET PASSWORD FOR sariff@localhost= PASSWORD('typepasswordhere');
mysql> GRANT ALL PRIVILEGES ON db_sinau.* TO sariff@localhost IDENTIFIED BY 'password';
mysql> flush privileges;
mysql> exit
root@debian:~# mkdir /var/www
root@debian:~# unzip phpBB-3.0.10.zip -d /var/ww
root@debian:/var/www/phpBB3# chmod 666 -R config.php
root@debian:/var/www/phpBB3# chmod 777 -R cache
root@debian:/var/www/phpBB3# chmod 777 -R files
root@debian:/var/www/phpBB3# chmod 777 -R images/avatars/upload
root@debian:/var/www/phpBB3# chmod 777 -R store
Welcome to installation =>proceed to next step
Installation compatibility =>start install
Database configuration (isi database server 'localhost' database name 'db_sinau' database user name 'sariff'' database password 'ketik password database') =>proceed to next step
Database connection =>proceed to next step
Administrator configuration (isi administrator username, administrator password, contact e-mail address) =>proceed to next step
Administrator details =>proceed to next step
Configuration file =>proceed to next step

Advanced settings =>proceed to next step
Create database tebles =>proceed to next step

Final stage =>login

Send statistical information
Klik go to the ACP start page
Welcome to phpBB warning(Harap menghapus, memindahkan atau mengganti nama direktori instalasi)
root@debian:/var/www/phpBB3# chmod 644 -R config.php
Welcome to phpBB
Menggunakan repo
deb http://ftp.debian.org/debian unstable main contrib non-free
deb http://http.us.debian.org/debian/ unstable main contrib non-free
- Update terlebih dahulu, install unzip, nginx dan restart.
root@debian:~# apt-get install unzip
root@debian:~# apt-get install nginx
root@debian:~# /etc/init.d/nginx start
- Rubahlah isi file default menjadi seperti di bawah ini dan save.
server {
# .domain.com will match both domain.com and anything.domain.com
server_name .example.com;
# It is best to place the root of the server block at the server level, and not the location level
# any location block path will be relative to this root.
root /var/www/;
# It's always good to set logs, note however you cannot turn off the error log
# setting error_log off; will simply create a file called 'off'.
access_log /var/log/nginx/example.access.log;
error_log /var/log/nginx/example.error.log;
# This can also go in the http { } level
index index.html index.htm index.php;
location / {
# if you're just using wordpress and don't want extra rewrites
# then replace the word @rewrites with /index.php
try_files $uri $uri/ @rewrites;
}
location @rewrites {
# Can put some of your own rewrite rules in here
# for example rewrite ^/~(.*)/(.*)/? /users/$1/$2 last;
# If nothing matches we'll just send it to /index.php
rewrite ^ /index.php last;
}
# This block will catch static file requests, such as images, css, js
# The ?: prefix is a 'non-capturing' mark, meaning we do not require
# the pattern to be captured into $1 which should help improve performance
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
# Some basic cache-control for static files to be sent to the browser
expires max;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
# remove the robots line if you want to use wordpress' virtual robots.txt
location = /robots.txt { access_log off; log_not_found off; }
location = /favicon.ico { access_log off; log_not_found off; }
# this prevents hidden files (beginning with a period) from being served
location ~ /\. { access_log off; log_not_found off; deny all; }
location ~ \.php {
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
}
root@debian:~# /etc/init.d/nginx restart
- Install php.
root@debian:~# apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt
php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
- Tambahkan kedalam file /etc/php5/fpm/php-fpm.conf di bawah ini lalu seve dan restart
root@debian:~# /etc/init.d/php5-fpm restart
- Install mysql, create database dan create user.
root@debian:~# Mysql -u root -p (enter dan masukkan password mysql)
mysql> CREATE DATABASE db_sinau;
mysql> CREATE USER sariff@localhost;
mysql> SET PASSWORD FOR sariff@localhost= PASSWORD('typepasswordhere');
mysql> GRANT ALL PRIVILEGES ON db_sinau.* TO sariff@localhost IDENTIFIED BY 'password';
mysql> flush privileges;
mysql> exit
- Download file phpBB-3.0.10.zip, membuat folder /var/www dan extract file phpBB-3.0.10.zip ke folder www
root@debian:~# mkdir /var/www
root@debian:~# unzip phpBB-3.0.10.zip -d /var/ww
- Merubah permision (masuklah ke folder /var/www/phpBB3)
root@debian:/var/www/phpBB3# chmod 666 -R config.php
root@debian:/var/www/phpBB3# chmod 777 -R cache
root@debian:/var/www/phpBB3# chmod 777 -R files
root@debian:/var/www/phpBB3# chmod 777 -R images/avatars/upload
root@debian:/var/www/phpBB3# chmod 777 -R store
- Ketik di Browser http://192.168.1.213/phpBB3/install
Welcome to installation =>proceed to next step
Installation compatibility =>start install
Database configuration (isi database server 'localhost' database name 'db_sinau' database user name 'sariff'' database password 'ketik password database') =>proceed to next step
Database connection =>proceed to next step
Administrator configuration (isi administrator username, administrator password, contact e-mail address) =>proceed to next step
Administrator details =>proceed to next step
Configuration file =>proceed to next step

Advanced settings =>proceed to next step
Create database tebles =>proceed to next step

Final stage =>login

Send statistical information
Klik go to the ACP start page
Welcome to phpBB warning(Harap menghapus, memindahkan atau mengganti nama direktori instalasi)
- Merubah nama folder install dan merubah permision config.php
root@debian:/var/www/phpBB3# chmod 644 -R config.php
Welcome to phpBB
finished
Kamis, 07 Juni 2012
Install joomla di Debian
Langkah-langkah install joomla di linux debian
Dalam contoh ini saya menggunakan debian 6.0.0 dan mengunakan repo lokal:
deb http://debian.indika.net.id/debian squeeze main contrib non-free
deb-src http://debian.indika.net.id/debian squeeze main contrib non-free
Sebelum di install update terlebihdahulu
root@debian:~# apt-get update
Setelah berhasil update langkah selanjutnya install paket yang di butuhkan seperti htop, unzip, sudo dll,
root@debian:~# apt-get install htop
root@debian:~# apt-get install unzip
root@debian:~# apt-get install sudo
dll
Selanjutnya
1. Install apache2
root@debian:~# apt-get install apache2
2. Install mysql
root@debian:~# apt-get install mysql-server mysql-client
3. Install php
root@debian:~# apt-get instal libapache2-mod-php5
root@debian:~# apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
4. Restart apache2 & Restart mysql
root@debian:~# service apache2 restart
root@debian:~# service mysql restart
5. Membuat database
root@debian:~#mysql -u root -p (enter)
Enter password: (ketik password)
mysql> create database sinau;
Query OK, 1 row affected (0.00 sec)
mysql> quit
Bye
root@debian:~#
6. Download joomla
root@debian:~# wget http://downloads.joomlacode.org/frsrelease/7/3/5/73508/Joomla_2.5.4-Stable-Full_Package.zip
7. Membuat folder belajar di dalam folder /var/www/
root@debian:~# mkdir /var/www/belajar
8. Extract joomlanya yang telah di download kedalam folder /belajar
root@debian:~# unzip Joomla_2.5.4-Stable-Full_Package.zip -d /var/www/belajar
9. Buka di browser dengan mengetik ip yang di gunakan contoh saya mengunakan ip 192.168.1.191
http://192.168.1.191/belajar
10. Di browser muncul Joomla 2.5.4 installation,
root@debian:~# touch /var/www/belajar/configuration.php
12. Masukkan copyan tadi kedalam file configuration.php
root@debian:~# nano /var/www/belajar/configuration.php
'''SAVE'''
13. Remove folder installation yang berada didalam belajar
root@debian:~# rm -r /var/www/belajar/installation
14. Klik bagian atas kanan Administrator
15. Coba buka di Browser http://192.168.1.191/belajar
'''SEMOGA BERMANFAAT '''
Dalam contoh ini saya menggunakan debian 6.0.0 dan mengunakan repo lokal:
deb http://debian.indika.net.id/debian squeeze main contrib non-free
deb-src http://debian.indika.net.id/debian squeeze main contrib non-free
Sebelum di install update terlebihdahulu
root@debian:~# apt-get update
Setelah berhasil update langkah selanjutnya install paket yang di butuhkan seperti htop, unzip, sudo dll,
root@debian:~# apt-get install htop
root@debian:~# apt-get install unzip
root@debian:~# apt-get install sudo
dll
Selanjutnya
1. Install apache2
root@debian:~# apt-get install apache2
2. Install mysql
root@debian:~# apt-get install mysql-server mysql-client
3. Install php
root@debian:~# apt-get instal libapache2-mod-php5
root@debian:~# apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
4. Restart apache2 & Restart mysql
root@debian:~# service apache2 restart
root@debian:~# service mysql restart
5. Membuat database
root@debian:~#mysql -u root -p (enter)
Enter password: (ketik password)
mysql> create database sinau;
Query OK, 1 row affected (0.00 sec)
mysql> quit
Bye
root@debian:~#
6. Download joomla
root@debian:~# wget http://downloads.joomlacode.org/frsrelease/7/3/5/73508/Joomla_2.5.4-Stable-Full_Package.zip
7. Membuat folder belajar di dalam folder /var/www/
root@debian:~# mkdir /var/www/belajar
8. Extract joomlanya yang telah di download kedalam folder /belajar
root@debian:~# unzip Joomla_2.5.4-Stable-Full_Package.zip -d /var/www/belajar
9. Buka di browser dengan mengetik ip yang di gunakan contoh saya mengunakan ip 192.168.1.191
http://192.168.1.191/belajar
10. Di browser muncul Joomla 2.5.4 installation,
- Choose language pilih Bahasa yang ingin di gunakan, '''Next'''
- Pre-Installation Check (mengecek yang sudah berhasil di instal), '''Next'''
- License, langsung '''Next'''
- Database Configuration (isi username '''root''', password '''masukkan password database''', Database name '''masukkan nama database''') '''Next'''
- FTP Configuration, Langsung '''Next''' saja
- Main Configuration (isi colom site name '''web yang akan digunakan''', your email '''email yang digunakan''' Admin password '''masukkan password admin yang akan digunakan''') '''Next'''
- Finish (Proses install telah selesai, copy di dalam colom bagian bawah 'configuration.php and upload it to your site root folder' ke folder belajar dengan nama file '''configuration.php''
root@debian:~# touch /var/www/belajar/configuration.php
12. Masukkan copyan tadi kedalam file configuration.php
root@debian:~# nano /var/www/belajar/configuration.php
'''SAVE'''
13. Remove folder installation yang berada didalam belajar
root@debian:~# rm -r /var/www/belajar/installation
14. Klik bagian atas kanan Administrator
15. Coba buka di Browser http://192.168.1.191/belajar
'''SEMOGA BERMANFAAT '''
Install joomla di cpanel
Silahkan login ke cpanel terlebih dahulu
pertama membuat subdomain
1. klik pada menu Subdomain
2. Create a Subdomains, dalam contoh ini saya membuat subdomain joomla.applebusuk.com
kedua membuat database
1. klik pada menu MySQL® Database
2. Create New Database, dalam contoh ini saya membuat database apple_maniez
3. Add New User, dalam contoh ini saya add user apple_enak
4. Add User To Database, centang semua (klik pada ALL PRIVILEGES)
5. klik Make Changes
ketiga upload Joomla yang telah di download
1. klik File Manager (pilih subdomain yang telah dibuat tadi) klik Go
2. klik public_html dan klik New Folder (dalam contoh ini saya membuat folder joomla didalam public_html)
3. klik Upload (meng upload joomla kedalam folder yang telah dibuat lalu Extract)
keempat masuk ke Browser dengan mengetik joomla.applebusuk.com (akan memasuki proses installation)
1. Choose language, pilih bahasa yang akan digunakan => Next
2. Pre-Installation Check, mengecek yang telah up => Next
3. License, langsung => Next
4. Database Configuration :
- Masukkan username (masukkan user database yang telah dibuat tadi "apple_enak")
- Masukkan password (password user database)
- Masukkan databasename (masukkan databasename yang telah dibuat tadi "apple_maniez")
- masukkan site name (nama webnya)
- masukkan Your Email (email yang anda gunakan)
- masukkan password Admin => Next
7. Finish,
- Copy dalam colom bagian kanan, bawah tulisan ('configuration.php' and upload it your site root folder) kedalam folder joomla pada public_html, dengan membuat file 'configuration.php' => save
- Lalu Delete folder instalation pada folder joomla
Selamat mencoba dan semoga bermanfaat
Langganan:
Komentar (Atom)































