Wednesday, November 26, 2008

MySQL 5.1.23 Now Available

MySQL software is published under an open source license and is available in two ways:
1. MySQL Community Edition is the freely downloadable version of the world's most
popular open source database. It is supported by a huge and active community of
open source developers and enthusiasts. MySQL Community Edition uses the GPL
License, is released early and often, and includes all features, including the
latest features under development.

2. MySQL Network is available for users who want access to our world-class support
services, Knowledge Base and certified software. This subscription service is
designed to save developers and DBAs time and effort.
* Enterprise-grade support to help solve the toughest issues
* Online automated software advisors to keep your servers up to date
* Certified MySQL Software that saves time and eliminates guesswork
* Comprehensive KnowledgeBase of best practices technical articles

Get support with MySQL Network

Please see documentation at the MySQL Documentation site.

Monday, November 10, 2008

Java Software Development Kit Installation

we must install java sdk in our computer, if we want to program java.

let us install j2sdk on linux :

1. download java sdk from sun website
(not java jre -- java runtime environment)
2. we'll get a file jdk-6u10-linux-i586.bin (general linux processor x86) or
jdk-6u10-linux-i586-rpm.bin(for redhat, fedora, suse, mandriva)
3. change access your file
chmod +x jdk-6u10-linux-i586.bin
4. then you execute that file dot bin
./ jdk-6u10-linux-i586.bin

4a. if you use a rpm file, after that command you must install with rpm :
rpm -i jdk-6u10-linux-i586-rpm.rpm OR
urpm -i jdk-6u10-linux-i586-rpm

5. edit your profile at /etc/profile , add your home java installation.
example :
JAVA_HOME = /usr/local/j2sdk/bin
JAVA_JRE = /usr/local/j2sdk/jre

export JAVA_HOME
export JAVA_JRE

6. logout from your computer, then login again.
7. test from prompt.
$javac >>>> for compile the java code program
or $java -version
your screen 'll like :
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)

8. success

Friday, November 7, 2008

PostgreSQL updates released

The PostgreSQL Global Development Group has released minor versions 8.3.5, 8.2.11, 8.1.15, 8.0.19 and 7.4.23. All users should upgrade to receive the latest fixes.

Download the latest updates

Wednesday, October 22, 2008

Celebrating 10 Years of NetBeans!

Since 1998, NetBeans has grown from a student project into an award winning Open Source project, IDE and application platform. With millions of downloads a year worldwide, the NetBeans community boasts an active and diverse following of software developers, students, instructors and partner companies. Throughout the week, visit this page for unique content—video greetings, community profiles and more—that will highlight some of the key initiatives and dedicated individuals whose contributions have kept the NetBeans momentum going strong.

Friday, September 26, 2008

SELAMAT 'IDUL FITRI

SELAMAT 'IDUL FITRI

MAAF LAHIR BATHIN

Tuesday, September 23, 2008

PostgreSQL updates released

The PostgreSQL Global Development Group has released minor versions 8.3.4, 8.2.10, 8.1.14, 8.0.18 and 7.4.22. All users should upgrade to receive the latest fixes.

Download it !!!

Monday, September 22, 2008

Postgresql Installation on Linux (2)

We have installed postgresql successfully.

Now we can do anything post-installation step by step.

1. Shared Libraries
On some systems that have shared libraries (which most systems do) you
need to tell your system how to find the newly installed shared
libraries.
The method to set the shared library search path varies between
platforms, but the most widely usable method is to set the environment
variable LD_LIBRARY_PATH like so: In Bourne shells ("sh", "ksh",
"bash", "zsh"):

LD_LIBRARY_PATH=/usr/local/pgsql/lib
export LD_LIBRARY_PATH


or in "csh" or "tcsh":
setenv LD_LIBRARY_PATH /usr/local/pgsql/lib


Replace /usr/local/pgsql/lib with whatever you set "--libdir" to in
step 1. You should put these commands into a shell start-up file such
as "/etc/profile" or "~/.bash_profile". Some good information about the
caveats associated with this method can be found at
http://www.visi.com/~barr/ldpath.html.
On some systems it might be preferable to set the environment variable
LD_RUN_PATH *before* building.

2. Environment Variables
If you installed into "/usr/local/pgsql" or some other location that is
not searched for programs by default, you should add
"/usr/local/pgsql/bin" (or whatever you set "--bindir" to in step 1)
into your PATH. Strictly speaking, this is not necessary, but it will
make the use of PostgreSQL much more convenient.

To do this, add the following to your shell start-up file, such as
"~/.bash_profile" (or "/etc/profile", if you want it to affect every
user):

PATH=/usr/local/pgsql/bin:$PATH
export PATH


If you are using "csh" or "tcsh", then use this command:
set path = ( /usr/local/pgsql/bin $path )


To enable your system to find the man documentation, you need to add
lines like the following to a shell start-up file unless you installed
into a location that is searched by default:

MANPATH=/usr/local/pgsql/man:$MANPATH
export MANPATH


3. Create a user account for the PostgreSQL server. This is the user
the server will run as. For production use you should create a
separate, unprivileged account ("postgres" is commonly used). If
you do not have root access or just want to play around, your own
user account is enough, but running the server as root is a
security risk and will not work.
You must have a root access

root#adduser postgres

4. Create a database installation with the "initdb" command. To run
"initdb" you must be logged in to your PostgreSQL server account.
It will not work as root.

root# mkdir /usr/local/pgsql/data
root# chown postgres /usr/local/pgsql/data
root# su - postgres
postgres$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data


The "-D" option specifies the location where the data will be
stored. You can use any path you want, it does not have to be under
the installation directory. Just make sure that the server account
can write to the directory (or create it, if it doesn't already
exist) before starting "initdb", as illustrated here.

At this point, if you did not use the "initdb" -A option, you might
want to modify "pg_hba.conf" to control local access to the server
before you start it. The default is to trust all local users.

The previous "initdb" step should have told you how to start up the
database server. Do so now. The command should look something like:

/usr/local/pgsql/bin/postgres -i -D /usr/local /pgsql/data

option -i , if you want the databases can be access from other host (via network)

This will start the server in the foreground. To put the server in
the background use something like:

nohup /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data \
>server.log 2>&1

To stop a server running in the background you can type:
kill `cat /usr/local/pgsql/data/postmaster.pid`

You should put this script on script initiation ( /etc/init.d/pgsql ).

5. Then you can test a create database.

createdb dbexample

and you can work in your database

psql dbexample


6. OK you succesfully installed the postgresql.

GOOD LUCK



Thursday, September 18, 2008

PostgreSQL 8.3.3 and 8.2.9 released

The PostgreSQL Global Development Group has released minor versions 8.3.3 and 8.2.9. All users should upgrade to receive the latest fixes.

Please download it

Tuesday, September 2, 2008

what's the best antivirus ???

Everybody, which do you choice antivirus (norton, mcafee, sophos, avg, clamav, norman, bitdefender, panda , and others ) ???

Thursday, August 28, 2008

Apache-Tomcat Installation on Linux

Tomcat is web container for java (servlet, jsp or other). It is a part of apache development.
In this case we will install tomcat on linux step by step from source targz . We assumed java development kit (jdk version 1.5 or 1.6) was installed.

1. Download apache-tomcat newer version(ex. apache-tomcat-6.0.18.tar.gz) from apache-tomcat
extract your tomcat software from downloaded :
$tar zxvf apache-tomcat-6.0.18.tar.gz
2. please change your directory to tomcat extracted
$cd apache-tomcat-6.0.18
3. then copy it to your directory (ex. /usr/local/tomcat6 )

4. your tomcat's already installed
5. start your tomcat
$tomcat_home/bin/startup.sh
note: tomcat_home = your directory where tomcat's installed
$tomcat_home/bin/shutdown.sh
this command 'll shutdown your tomcat

If you use debian linux & family , you can use apt-get command (must a root acces) and install it from mirror debian :
1. #apt-get update
2. #apt-cache search tomcat
3. #apt-get install tomcat

RedHat, Fedora & family :
1. #rpm -i tomcat-version.rpm

Tuesday, August 26, 2008

Postgresql Installation on Linux

Postgresql is a relational database management system (RDBMS). It is opensource, we can get it free.
Now , we'll install postgresql on linux step by step, assumed gcc & make was installed.

1. Download postgresql from POSTGRESQL HOME
ex: postgresql-version.tar.gz or postgresql-version.tar.bz2
2. Extract it with command :
$tar zxvf postgresql-version.tar.gz or
$tar jxvf postgresql-version.tar.bz2

3. Change your directory to your extracted it, ex :
$cd postgresql-version

4. Configure your postgresql :
$./configure --prefix=/usr/local/pgsql --with-pgport=5432 and bla bla bla
please type ./configure --help

Wait for some minute

5. Compile the results of your configure
$make

Wait for a minute. It depends your processor and memory

6. Then install it. You must have a root access
#make install

7. Successfull