WARNING: According to eApps policy if you edit any system files manually, they might not support the changes you have made. Use at your own risk.
NOTE: If SQLite is installed in HSPc, do NOT uninstall it after having done this.
SSH into your VPS as root and follow these instructions.
Firstly, create a source directory to work from:
mkdir /usr/local/src/yumcd /usr/local/src/yum
Then, download the following packages:
wget http://mirror.centos.org/centos/4/apt/i386/RPMS.os/python-urlgrabber-2.9.8-2.noarch.rpm
wget http://mirror.centos.org/centos/4/apt/i386/RPMS.os/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://mirror.centos.org/centos/4/apt/i386/RPMS.os/python-elementtree-1.2.6-5.el4.centos.i386.rpm
wget http://mirror.centos.org/centos/4/apt/i386/RPMS.os/python-urlgrabber-2.9.8-2.noarch.rpm
wget http://mirror.centos.org/centos/4/apt/i386/RPMS.os/yum-2.4.3-3.el4.centos.noarch.rpm
wget http://mirror.centos.org/centos/4/apt/i386/RPMS.os/sqlite-3.3.6-2.i386.rpm
Now install them:
rpm -Uvh *.rpm
Finally, update your system:
yum -u update
All done! Now if you want to install an application, just run:
yum -y install application
[OPTIONAL] You may also want to delete the source directory:
rm -rf /usr/local/src/yum
No comments:
Post a Comment