[ install netbeans 6.7.1 on ubuntu 9.10 ]
1. install JDK via apt
# sudo apt-get install sun-java6-jdk
2. test your new JDK
# java -version

3. download netbeans-6.7.1-ml-java-linux.sh
link: http://services.netbeans.org/bouncer/index.php?product=netbeans-6.7.1-ml-java&os=linux
4. you can calculate md5 checksum and compare the value with one from the NetBeans’ website
# md5sum netbeans-6.7.1-ml-java-linux.sh
5. make downloaded archive executable
# chmod +x netbeans-6.7.1-ml-java-linux.sh
6. execute it
# ./netbeans-6.7.1-ml-java-linux.sh

7. choose your netbeans setup

8. install your netbeans

9. update files

10. finish
[ kill process in linux ]
How do I kill process in Linux.
::kill command::
1. Use this command.
# ps -ef | grep -i <your-target-process>
OR
# ps aux | grep <your-target-process>
e.g: # ps -ef | grep -i jboss
2. Then, choose your target Process ID
# kill 9821
OR
# kill -9 9821
note: -9 is special Kill signal, which kill the process
3. Done
::killall command::
1. Use this command.
# killall -9 <your-target-process>
e.g: # killall -9 firefox
[ sendmail ]
Send email in linux. Just follow this commands:
1. # mail <recipient’s email>
e.g: abc@abc.com
2. # Subject: <your-subject-here>
3. <your-content-here>.
note: make sure finish the content with dot <.>
4. <CC>
Done
[ netsend on linux ]
Just follow this command:
# smbclient -M <your-host> <your-message>
[ check SAMBA version ]
How to check SAMBA version.
# smbd -V
[ mysql: manually delete ]
For Linux based, follow these steps:
1. GOTO: /var/run/mysqld
2. find your database name
3. right click and delete
4. done
[ mysql: create user ]
Use this commands:
- create user <your_user_name>;
- grant all privileges on <your_db_name>.* to ‘<your_user_name>‘@’localhost’ identified by ‘<your_password>‘ with grant option;
- flush privileges;
Note: grant all privileges on *.* blabla.. (for all access)
[ mysql-sedut.masuk ]
Please refer instructions below:
1. enter mysql
# mysql -u root -p
2. create database
# create database <your-db-name>;
# use <your-db-name>;
3. exit from mysql
# exit
4. use this command:
# mysql -u root -p <your-db-name> < <your-db-name>;
5. finish


