Archive for the ‘Uncategorized’ Category

Upgrade CentOS 3.3 to 3.4 using yum

centOS freely available linux distribution  based on Red Hat Enterprices Linux which is 100% binary compatible with the upstream product and within its mainline and update. It is very stable and great Operating system to work with.

Check here the process to upgrade from CentOS 3.3 to 3.4 using yum;  

First step, download

rpm -ivh http://mirror.centos.org/centos/3.4/os/i386/RedHat/RPMS/centos-yumcache-3.1-0.20050105.3.noarch.rpm
rpm -Fvh http://mirror.centos.org/centos/3.4/os/i386/RedHat/RPMS/centos-release-3-4.2.i386.rpm
yum update

Your yum config should look something like the following:

[main]
exclude=mod_ssl* httpd* perl mysql* php* #this is mainly for cpanel servers
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[base]
name=CentOS-$releasever - Base
baseurl=http://beta.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1

#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://beta.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://beta.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://beta.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1

#centosplus repo - updated packages that extend beyond rhel release versions
#run auto update with this repo enabled only if you know you want extended functonality
#[centosplus]
#name=CentOS-$releasever - CentOSplus
#baseurl=http://beta.centos.org/centos/$releasever/centosplus/$basearch/
#gpgcheck=1

#packages in testing
#[testing]
#name=CentOS-$releasever - Testing
#baseurl=http://beta.centos.org/centos/$releasever/testing/$basearch/
#gpgcheck=1

To avoid any problem for upgrading it is recommended that  you backup of your /etc/named.conf file before upgrading.

permalinkRead More CommentComments (0) CatUncategorized

Firefox-Restoring bookmark backups

Due to some unseen event in firefox if your bookmarks stored become corrupted or lost your bookmarks within the last five days, you can restore them from the set of backups that Firefox maintains. follow these steps to restore your bookmarks backups;

* From the menu at the top of the Firefox window, select File and then select the Exit menu item.
* Reboot your computer.
* When the computer restarts, select the Start Menu in the Windows Taskbar. Then, select Run.
* In the Run dialog, enter the following:
%APPDATA%\Mozilla\Firefox\Profiles
* Click OK.
* A window displays all your Firefox profiles as a set of folders.
* Each Profile folder is named something like the following:
xxxxxxxx.<ProfileName>
where xxxxxxxx is an assortment of random letters or numerals
<ProfileName> corresponds to the name of the profile.
* For example, the folder containing the default profile is named xxxxxxxx.default.
* Select the folder for your current profile.
* In the profile folder, the file bookmarks.html stores your bookmarks and has become corrupted. Right-click this file, and select Rename….
* Rename the file to a unique name, such as the following:
bookmarks_backup.html
* Open the folder named bookmarkbackups.
* In the bookmarks backup folder, you should see up to five files with names like the following
bookmarks-xxxx-xx-xx.html
where
xxxx-xx-xx corresponds to the date the backup was made.
* You must copy one of these backups to the profile folder. Right-click the most recently dated backup. Select Copy.
* Go back to the previous folder, which now contains the bookmarks_backup.html file.
* Right-click in the white space of the folder. Select Paste.
* Right click the file you just pasted (bookmarks-xxxx-xx-xx.html). Select Rename….
* Rename the file to bookmarks.html
* Restart Firefox. now you can locate your bookmarks from the boomark Menu.

permalinkRead More CommentComments (0) CatUncategorized
CSS Template by RamblingSoul || Tomodachi theme by Theme Lab