Wednesday, 14 May 2014

7 easy steps to reset forgotten root password on CentOS/Red Hat Linux

Terlupa centos root password?

7 langkah mudah untuk memperbaharui kata-laluan root di CentOS/Red Hat.


7 easy steps to reset forgotten root password on CentOS/Red Hat


1. Boot the system and when you see the following message "Press any key to enter the menu", press any key. (You will see the list of available kernel versions.)

2. Press e in order to edit commands before booting.

3. Highlight the list item with vmlinuz in it by using the arrow keys and press e.

4. Now type single or init 1 at the end of the line.

5. Then press enter and b to boot the system with the new argument. (The system will boot into single user mode and you will see bash prompt)

Now it's time to change the password:
6. Type passwd


1.### Shell Commands ###
2.passwd
3.Enter new UNIX password:
4.Retype new UNIX password:
5.passwd: password updated successfully

7. Type reboot to restart the system.

Saturday, 10 May 2014

OSS adalah singkatan untuk "Open Source Software" atau "Perisian Sumber Terbuka"

Pengenalan.

OSS adalah singkatan untuk "Open Source Software" atau "Perisian Sumber Terbuka". Sekiranya anda telah menggunakan Google atau Yahoo, telefon pintar yang menggunakan Android, maka anda adalah seorang pengguna OSS!


Mengapa OSS?

OSS menjimat wang.
OSS menghalang cetak-rompak.
OSS menggalak daya-cipta.
OSS mengurang wang keluar negara.

How to Set Default Font in LibreOffice / OpenOffice.org

 

Set Default Font in LibreOffice / OpenOffice.org Calc/Writer

After much struggling with wanting to change the default font in Calc/Writer to anything but eco green fonts, I discovered just how to change the default font. I will be using Liberation Sans for this example, but any font installed on your system will work.

Set a Default Font

First, we will need to set a default font. With LibreOffice Calc open, select Styles and Formatting from the Format menu. This will open the Styles and Formatting window. Default should be the default item select (first item). Right click default and choose Modify… Choose the font settings you wish to set for the default font and click OK. The font information will change to the settings you just set.
You’re not done yet. We need to save as a template.

Save as Template

From the File menu, choose Templates > Save… (Shift+F11). Enter a name for the template and click OK. The default template, listed in the right area for the Templates window is default. I did not want to overwrite this template, so I called mine Liberation Sans.
Now that we have created and saved the template, we need to set it as the default template.

Set as Default Template

We will be setting the template we just created as the default template to use. From the File menu, choose Templates > Organize… This will open the Template Management window. The left area will display the template folders. The template we just created above is inside My Templates. Double click the My Templates folder. The templates will appear right below the folder. Choose the template you wish to use.
On the right hand side of the window there a button labeled Commands. Click Commands and select Set as Default Template. Click Close.
Now when you create a new file in LibreOffice Calc, the template you created, saved and set as default will be used.

(Original Source: os4me.com)

Terima Kasih.
Hj Mohsin bin Sarip