[ install netbeans 6.7.1 on ubuntu 9.10 ]

1 November 2009 orang_letrik Leave a comment

1. install JDK via apt

# sudo apt-get install sun-java6-jdk

2. test your new JDK

# java -version

test 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

install netbeans

7. choose your netbeans setup

Screenshot-NetBeans IDE Installer

8. install your netbeans

Screenshot-NetBeans IDE Installer-1

9. update files

Screenshot-crop

10. finish

Categories: [ ubuntu ]

[ foss.my 09 ]

1 November 2009 orang_letrik Leave a comment

foss-my-2009

Great Event!

Categories: [ ubuntu ]

[ kill process in linux ]

10 October 2008 orang_letrik Leave a comment

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

Categories: [ linux commands ] Tags:

[ sendmail ]

10 October 2008 orang_letrik Leave a comment

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 ]

10 October 2008 orang_letrik Leave a comment

Just follow this command:

# smbclient -M <your-host> <your-message>

Categories: [ linux commands ] Tags:

[ check SAMBA version ]

10 October 2008 orang_letrik Leave a comment

How to check SAMBA version.

# smbd -V

Categories: [ linux commands ] Tags:

[ burn ISO file ]

10 October 2008 orang_letrik 1 comment

How to burn ISO files.

1. Download ISO file

2. Right click on the file and choose Write to Disc

3. Click Write to execute the process

4. Done

Categories: [ ubuntu ] Tags: ,

[ mysql: manually delete ]

6 October 2008 orang_letrik Leave a comment

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 ]

6 October 2008 orang_letrik Leave a comment

Use this commands:

  1. create user <your_user_name>;
  2. grant all privileges on <your_db_name>.* to ‘<your_user_name>‘@’localhost’ identified by ‘<your_password>‘ with grant option;
  3. flush privileges;

Note: grant all privileges on *.* blabla.. (for all access)

[ mysql-sedut.masuk ]

6 October 2008 orang_letrik Leave a comment

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

Categories: [ database ] Tags: ,