Server Setup
apt-server host: ubuntu8.10 I386
prerequisite pkgs: apt-rpm-repository, apache2
Other prerequisites: RHEL4 U7 DVD disk inserted and mounted
repository initialization:
1. $sudo mkdir -p /var/www/redhat/apt/i386/RPMS.U7
2. $sudo cp -rf /cdrom/RedHat/RPMS/* /var/www/redhat/apt/i386/RPMS.U7
3. $sudo genbasedir /var/www/redhat/apt/i386
#3 will probably take a couple of minutes, and this will generate /var/www/redhat/apt/i386/base under which files look like this:
$ ls /var/www/redhat/apt/i386/base
pkglist.U7 pkglist.U7.bz2 release release.U7
Client Setup
apt-client host: RHEL4 U6 I386
Brief Steps:
1. Download&install apt from below url
2. edit /etc/apt/sources.list
rpm i386 U7
3. apt-get update
4. apt-get install pkgname
阅读(917) | 评论(0) | 转发(0) |