Google
 

Linux Distro Counter

Welcome to Open Source Software and Linux Blog.

Hi, everyone!. I just created this blog to share knowledge about open source software and Linux. If you all have knowledge and info related to open source / Linux, please share or send me an email. Thanks ^_^

Thursday, January 17, 2008

Good stuff from Amazon.com

Here is some stuff from amazon related on information technology. You can direct shopping from here.

Tuesday, November 20, 2007

How to: Easy Intrusion Detection System (IDS) setup with EasyIDS


Last day, my boss ask me to install one IDS for our office. He just say "Please install the open source product". After seek on the internet for whole day, I found the EasyIDS. I have tested on my office's PC with details:

Pentium 4 2.8ghz
512MB DDR-RAM
40GB Hard disk
2 Network interface card (10/100baseT)
52X CD-ROM

This is the way I do it:
1. Download from the EasyIDS website http://www.skynet-solutions.net/easyids/

2. The download file is on ISO type which mean you can burn it to CD.

3. After burn on the CD, I just install the software with the CD-ROM boot first. You can setting the CD-ROM boot first in your BIOS setting.

4. I just follow the step by step until finish.

5. After it restart and update the patches, it display tty1 as the default with the black and white screen. You can login as root here.

6. After the EasyIDS properly setup you can go to another PC and open the browser. Type http://youreasyIDS. Its will popup the username and password. The default login is admin and the password is password.

7. After login, you see the interface base on ACID which some people call php-acid. This interface is easy to administrating the EasyIDS. I'm so glad this kind of software have develop by open source community. Thanks.

You can go to EasyIDS website http://www.skynet-solutions.net/easyids/ for more details.

EasyIDS Features:
Base on Centos 4.5
Snort
BASE
ACID
Oinkmaster
ntop

Thanks for EasyIDS team for develop this tools. Keep it up! :-)

Thursday, November 8, 2007

Tomboy: The easiest Note-taking Program in Gnome


Relatively new application that has found its way into recent versions of almost all Linux distributions is Tomboy. It is in cross-indexing tool and a quick publisher all rolled into one. Tomboy is also very addictive and easy to use, and does away with the hassle of naming files and remembering the directory paths. It is an evolving application and the latest release is still at version 0.6.

To start:
1. Go to Application --> Accessories --> Tomboy Notes, which lunched Tomboy as an applet on your panel. Once lunched it remains active and you can access your note quickly from the applet icon till you log out or quit the applet.

2. To give automatic lunched Tomboy every time you boot the system; you can use this guide (for gnome):
- right-clicking on an empty space on the panel and selecting the 'Add to Panel' option. Once you have 'Add to Panel' window up, select the Tomboy Notes application and click the 'Add' button to add it in your panel.

Many feature Tomboy can do. For more infomation about Tomboy please visit http://www.gnome.org/projects/tomboy/

Friday, October 19, 2007

How to block root to access ssh to your server (CentOS 5)

1. First open your terminal
2. vi /etc/ssh/sshd_config
3. Find PermitRootLogin yes
4. Change PermitRootLogin no
5. Save and exit
6. Restart your sshd by type /etc/init.d/sshd restart

That's all.

Wednesday, October 3, 2007

How to give MySql Root Password

As default, Mysql database didn't have any password. For some security reason, you need give the Mysql with a password. This is the way how to give the password to your Mysql database.

1. Go in to Mysql by type mysql

2. Type update user set password=password ('yourpassword') where user='root'; and enter. yourpassword mean enter your own password.

3. Type flush privileges

4. Exit mysql

To test:

1. Go in to Mysql by type mysql -u root -p and enter

2. It promt you to enter the password. Enter you password given before.

3. If you can login with you password, it mean your work is successfully.


Error after install Phpmyadmin

Last day my friend had asked me about the error after install phpmyadmin in his Linux.

The error say
"The configuration file now needs a secret passphrase (blowfish_secret)"

This is the solution:
1. Go to phpmyadmin directory on your linux. Eg: /usr/share/phpmyadmin (in Centos5).

2. File the config.inc.php with your favorite editor eg. vi

3. Find $cfg ['blowfish_secret'] = ' ';

4. Fill in the password or phassphrase, example
$cfg ['blowfish_secret'] = ' 123456';

5. Save and quit the editor. That all


Thursday, September 6, 2007

How to: Resetting Mysql root password

Sometimes, you cannot remember the mysql password. After try many time to login, you still cannot login to database. This is the solution.

1. You need to open 2 terminal/shell.

At terminal 1:
2. At terminal 1, stop your mysql deamon if it running: $ /etc/init.d/mysqld stop and enter. The mysql deamon is stop now.
3.
Type $ mysqld_safe --skip-grant-tables


Terminal 2:
4.
Change root password to new password: mysql> update user set password=password('newpassword') where user='root';
5. Flush mysql privileges: mysql> flush privileges;
6.
Exit mysql: mysql> exit
7. Restart mysql: $ /etc/init.d/mysqld start

After finish all process, go to your terminal 1 and press Ctrl-C on your keyboard.

Thats all.