Securing PHP on CPanel systems From bin man to web developer in one blog
Jun 30

How to update your system

Updating your system regularly is the first step in securing your server. You didn’t think of this did ya?

up2date configuration:
login as root, and issue the following command:

Code:

up2date –configure ENTER
select number for “removeSkipList” ENTER
C ENTER

Code:

select number for “pkgSkipList” ENTER
C ENTER
ENTER

What the above command does is it will remove “kernel” from the skip package list, and hence, everything, including the kernel can now be upgraded automatically.

Register with Redhat

Code:

rhn_register ENTER
NEXT
NEXT
enter a username, password and a valid email address NEXT
NEXT

Tab Tab NEXT
NEXT

FINISH

Enable Updates for the server

HTML Code:

https://rhn.redhat.com/
sign on with the above created username and password.
Click on the Systems Tab
Click System Entitlements
Select DEMO and click “update entitlements”

HTML Code:

Click systems
select the system
you will see !Updates available (more info) [click on more info]
select all the packages and click “update”
click “upgrade packages”
click “Confirm”
you can sign-out now

Update the server:
login as root, and issue the following command

Code:

up2date -u ENTER

If the system says it is busy, try again later.

From next time onwards, all you need to do is remember to issue the up2date -u ENTER command once a week to check and/or after learning that updates are available

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Technorati
  • BlinkList
  • Live
  • Reddit
  • Slashdot
  • StumbleUpon

Leave a Reply