Friday, May 6, 2011

Repository Ubuntu 11.04 ( Server Indonesia )Lokal

If you are indonesian user, we need more speed to download our respository. you could use this respositories :

1. Intitut Teknologi Bandung
deb ftp://ftp.itb.ac.id/pub/ubuntu natty main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu natty-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu natty-security main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu natty-backports main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu natty-proposed main restricted universe multiverse
2. Kambing UI
deb http://kambing.ui.ac.id/ubuntu/ natty main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ natty-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ natty-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ natty-backports main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ natty-proposed main restricted universe multiverse
3. KOMO
deb http://komo.padinet.com/ubuntu/ natty main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ natty-security main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ natty-backports main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ natty-proposed main restricted universe multiverse
4.FOSS ID
deb http://dl2.foss-id.web.id/ubuntu/ natty main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/natty-updates main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/natty-security main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/natty-backports main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu/natty-proposed main restricted universe multiverse

Download Ubuntu-Server 11.04 (Natty Narwhal)

 

We could selected, ISO file you want.

Server install CD

The server install CD allows you to install Ubuntu-Server permanently on a computer for use as a server. It will not install a graphical user interface.
There are four images available, each for a different type of computer:
PC (Intel x86) server install CD
For almost all PCs. This includes most machines with Intel/AMD/etc type processors and almost all computers that run Microsoft Windows, as well as newer Apple Macintosh systems based on Intel processors. Choose this if you are at all unsure.
64-bit PC (AMD64) server install CD
Choose this to take full advantage of computers based on the AMD64 or EM64T architecture (e.g., Athlon64, Opteron, EM64T Xeon, Core 2). If you have a non-64-bit processor made by AMD, or if you need full support for 32-bit code, use the Intel x86 images instead.
64-bit Mac (AMD64) server install CD
Choose this to take full advantage of computers based on the AMD64 or EM64T architecture (e.g., Athlon64, Opteron, EM64T Xeon). If you have a non-64-bit processor made by AMD, or if you need full support for 32-bit code, use the Intel x86 images instead. This image is adjusted to work properly on Mac systems.
Mac (PowerPC) and IBM-PPC (POWER5) server install CD
For Apple Macintosh G3, G4, and G5 computers, including iBooks and PowerBooks as well as IBM OpenPower machines.

Server install image

The server install image allows you to install Ubuntu-Server permanently on a computer for use as a server. It will not install a graphical user interface.
There are two images available, each for a different type of computer:
Texas Instruments OMAP3 server install image
For OMAP3 boards.
Texas Instruments OMAP4 server install image
For OMAP4 boards.
A full list of available files can be found below.
If you need help burning these images to disk, see the CD Burning Guide or the USB Image Writing Guide.

Saturday, March 26, 2011

HOWTO : MariaDB 5.2 on Ubuntu Server 10.10

Since MySQL is now owned by Oracle, the developers of previous MySQL reformed and developed MariaDB under GPL v2. It is compatible to MySQL and running much faster than MySQL too. You can use MariaDB as alternative. The commands and API are the same, such as "mysql -u root -p".

Step 1 :

Prepare for installation of MariaDB

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1BB943DB

Step 2 :

sudo nano /etc/apt/sources.list.d/mariadb.list

Append the following lines.

deb http://mirrors.xmission.com/mariadb/repo/5.2/ubuntu maverick main
deb-src http://mirrors.xmission.com/mariadb/repo/5.2/ubuntu maverick main


Save the change and install the following.

Step 3 :

sudo apt-get update

sudo apt-get install mariadb-server mariadb-client

** You can also replace your MySQL to MariaDB in this way. The MySQL will be uninstall automatically. You can also use the my.cnf of MySQL without any problem or replace by the new one.

Step 4 : (Optional)

To tune the performance of MariaDB is the same as tuning MySQL. Please see this link for reference. The settings are the same.

That's all! See you.

Thursday, March 24, 2011

HOWTO : MySQL and XCache performance tuning on Ubuntu 10.10

The following settings is for tuning the MySQL database performance on Ubuntu 10.10. It is well tested on Intel Xeon 4 core CPU x 2 and 8 GB RAM. It is also well tested on Drupal 6.2.

Step 1 :

sudo nano /etc/mysql/my.cnf

Change the values as the following :

[mysqld_safe]
nice = -5

[mysqld]
key_buffer = 384M
thread_cache_size = 384
max_connections = 500
table_cache = 1800
# If you have 8 cores CPU, the value should be 16 (no. of processor x 2)
thread_concurrency = 16
query_cache_limit = 4M
query_cache_size = 128M

[isamchk]
key_buffer = 64M


Step 2 :

sudo restart mysql

Step 3 (Optional) :

If you are using Hiawatha Web Server and PHP5, the following settings will further tune the performance also.

sudo apt-get install php5-xcache

Step 3a (Optional) :

sudo nano /etc/php5/conf.d/xcache.ini

Change the value of xcache.size as the following :

xcache.size = 64M

Step 3b (Optional) :

sudo /etc/init.d/php-fcgi restart

Step 3c (Optional) :

To test if it is working or not :

sudo php-cgi -v

If you can see the "with XCache v1.3.0, Copyright (c) 2005-2009, by mOo", your xcache is working.

That's all! See you.

Sunday, February 6, 2011

HOWTO : vsFTPd on Ubuntu Server 10.10

Step 1 :
Install the vsFTPd.

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install vsftpd


Step 2 :
Edit the configure file of vsFTPd.

sudo nano /etc/vsftpd.conf

Change the setting as the following.

# If you allow anonymous login then
anonymous_enable=YES
# If you do not allow anonymous login then
#anonymous_enable=NO
local_enable=YES
write_enable=YES
# Users are allowed to walk around at his directory only
chroot_local_user=YES


If you are behind a firewall or router, the following setting should be implemented and append to the end of the file.

pasv_enable=YES
#pasv_promiscuous=YES
pasv_min_port=50000
pasv_max_port=50100
# If your server's IP address is 192.168.0.15
pasv_address=192.168.0.15


Make sure port 20, 21, and 50000-50100 are opened at your firewall or router. The ports should be forwarded to and opened at the vsFTPd server. Anonymous user can be download the files at /home/ftp directory.

Step 3 :
Restart vsFTPd.

sudo /etc/init.d/vsftpd restart

That's all. See you!