Sunday, 10 June 2012

What is Swap Space?

Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which have a slower access time than physical memory. Swap space can be a dedicated swap partition (recommended), a swap file, or a combination of swap partitions and swap files. The size of your swap should be equal to twice your computer's physical RAM for up to 2 GB of physical RAM. For physical RAM above 2 GB, the size of your swap should be equal to the amount of physical RAM above 2 GB. The size of your swap should never less than...

MYSQL

1. HOW TO INSTALL MYSQL ON RHEL5 [root@training ~]# yum install mysql-server mysql [root@training ~]# service mysqld restart [root@training ~]# chkconfig mysqld on 2. TO MAKE ADMIN USER IN MYSQL [root@training ~]# mysqladmin -u root password PASS@123 [root@training ~]# mysql -u root -p Enter password: Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.0.45 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer.   3. TO CHECK CURRENT VERSION mysql> SELECT VERSION();       +-----------+ | VERSION() | +-----------+ | 5.0.45    | +-----------+ 1 row in set (0.00 sec) 4.TO CHECK CURRENT DATE mysql> SELECT CURRENT_DATE();   +----------------+ |...

Page 1 of 3123Next

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes