Showing posts with label rpm. Show all posts
Showing posts with label rpm. Show all posts

Sunday, August 25, 2013

yum-my ~ get your public yum-repo rolling on Google AppEngine

Wanna get your public yum repository rolling,

Get started by cloning boilerplate code...
$ git clone https://github.com/abhishekkr/gae-flat-web.git
$ cd gae-flat-web
$ mkdir -p yummy/<distro><releasever>/<basearch>

$ cp <all_my_rpms_of__distro_releasever_basearch> yummy/<distro><releasever>/<basearch>

$ createrepo yummy/<distro><releasever>/<basearch>/

now, place a file 'flat_web/yum-my-el6<or-whichever>.repo' with content 
[yum-my-<distro><releasever>-<basearch>]
name=Yum-My
baseurl=http://YOURYUMMY.appspot.com/yummy/<distro>$releasever/$basearch
enabled=1
gpgcheck=0

and can link this file on your 'flat_web/index.htm' homepage to host: $ google_appengine/appcfg.py update


have a look at my repo code @ https://github.com/abhishekkr/gae-yum-my.git

For demo, here is the one I'm hosting
http://yum-my.appspot.com/flat_web/index.htm

Tuesday, August 3, 2010

{RPM} unRAR in CentOS, Fedora, RedHat

i found CentOS was a bit rude to UnRAR the rar files, and even in 'yum' installing the unrar {at least for me}... so here is rpm way for it... if you are also facing same problem

[] Downloading the suitable RPM {you can download from any location}
wget http://dag.wieers.com/packages/unrar/unrar-3.6.2-1.el4.rf.i386.rpm

[] Installing RPM
rpm -Uvh unrar-3.6.2-1.el4.rf.i386.rpm


[] Using
- to extract RAR files in current dir
unrar e rarfile.rar

- to extract RAR files with Pathname
unrar x rarfile.rar