Archive for the “Operating System” Category

We can easily manage partitions on our Hard disk drive at Microsoft Window Vista without installed any third party tools or applications.  It also does not need to reboot the system and allowed to make the changes at anytime after installed the Vista Operating System on our computer.   

To create a new partition at Windows Vista:

1) Just goto ”Control panel”

2) At Administrative Tools > select “Create and Format hard disk Partitions”

3) At Disk Management > Right click on C drive

vista disk mgmt 350x204 Create Partitions at Windows Vista

4) Choose “Shrink volume

vista shrink volume 350x198 Create Partitions at Windows Vista

5) Set the disk size to free up

6) Next your will see new empty partition appears > Right click on it

7) Choose “New Simple volume” to create new partition

8) Specify the Size for the new volume/partition 

9) Assign the drive letter > Label the volume & Format > Done.

Tags: , , , , , ,

Comments No Comments »

Example in SSH:
# tracert kslim.net
OR
# tracert 110.4.40.106

Error:
traceroute to kslim.net (110.4.40.106), 30 hops max, 40 byte packets
sendto: Operation not permitted

Solution:
1) Goto WHM > “ConfigServer Security & Firewall – csf

2) Allow the “Destination IP address” through the firewall and add to the allow file (csf.allow)

3) Goto “Firewall Configuration” to edit the configuration file for the csf firewall and lfd

4) Allow outgoing UDP ports – to allow outgoing traceroute, add 33434:33523 to this list

UDP_OUT = 20,21,53,113,123,873,953,6277, 33434:33523

5) Apply the “Change” to Firewall and restart the Firewall service.

Done & try trace route again.

Tags: , , , , ,

Comments No Comments »

The following is the way to find out and command to display the basic specifications of a Linux System Hardware:

To view CPU information:
- Processor number = n+1 (count from “0″)
$ cat /proc/cpuinfo | less

To view Memory information:
$ cat /proc/meminfo

To view Hard disk drives:
$ fdisk -l | grep Disk

To view HDD partitions:
(HDD1 = sda, HDD2 = sdb, HDD3 = sdc & so on…)
$ df -h

To display the detail of particular partition:
(but these does not supported on SCSI disks)
$ hdparm -I /dev/sda | less
$ hdparm -I /dev/sdb | less
$ sudo hdparm -I /dev/sda

Tags: , , , , , , , , ,

Comments No Comments »

David found this funny video from youtube and sharing with us…

FYI, this MV is produced by SAULIN PRODUCTION (少林制作室)

Tags: , , , , , , , , ,

Comments No Comments »

The following is the steps to setup mysql service on Linux server:

$ yum install mysql-server

To start the server
$ /etc/init.d/mysqld start

To set the login for Administrator:
$ mysqladmin -u root password ******

Login the MySQL:
$ mysql -u root -p
Enter the password: ******

$ mysql
# mysql> show databases;

You will see something like this:
+—————-+
| Database
+—————-+
| mysql
| test
+—————-+
2 rows in set (0.00 sec)

$ mysql > use mysql;

$ mysql > show tables;

$ mysql > select * from user;

$ mysql > CREATE USER {db_user} IDENTIFIED BY ‘userpass‘;

$ mysql > CREATE DATABASE {db_name};

$ mysql > GRANT ALL PRIVILEGES on {db_name}.* to ‘db_user‘@’localhost’ IDENTIFIED by ‘userpass‘;

$ mysql > select * from user;

$ mysql > SHOW GRANTS for ‘{db_user}‘@’localhost’;

$ mysql> quit

$ mysql> exit

Try manage the service:

$ service mysqld start

$ service mysqld stop

$ service mysqld restart

Tags: , , , , , ,

Comments No Comments »