User Tools

Site Tools


gentoo

This is an old revision of the document!


Gentoo

Following commands must be executed by root.

Installation with layman

  1. Install layman.
        #USE="git" emerge app-portage/layman
  2. Configure your layman properly with layman manual page layman manual.
  3. Create your new overlay xml file in /var/lib/layman/.
        #vim /var/lib/layman/overlay-bijk.xml
  4. And past into it code bellow.
        <?xml version="1.0" ?>                                                                                                     
          <repositories version="1.0">
           <repo priority="50" quality="stable" status="unofficial">
            <name>overlay-bijk</name>
            <description>Bijk.com Gentoo repository</description>
            <homepage>http://www.bijk.com/</homepage>
            <owner>
               <email>support@bijk.com</email>
            </owner>
            <source type="git">git://IP/overlay-bijk.git</source> CHANGE!!!
           </repo>
         </repositories>
  5. Now edit your /etc/layman/layman.cfg . And add url to the xml file under overlays.
        overlays  : http://www.gentoo.org/proj/en/overlays/repositories.xml
                    file:///var/lib/layman//var/lib/layman/overlay-bijk.xml #this line
  6. Add overlay-bijk with layman.
        #layman -f -a overlay-bijk
  7. Sync.
        #layman -s overlay-bijk
  8. Now we need to add new category.
        #echo perl-gcpan >> /etc/portage/categories
  9. At last we can install bijk-node.
        #emerge bijk-node
  10. Now just run your bijk-node.
        #/etc/init.d/bijk-node start
  11. For adding your server to bijk.com you'll also need a client hash.
        #cat /etc/bijk/client_hash

Custom installation

  1. Install git.
        #emerge dev-vcs/git app-portage/eix
  2. Clone our repository from server to your favorite local directory.
        #cd /usr/local/
        #git clone 
  3. Then add your new repository to make.conf.
        #vim /etc/make.conf
  4. Create or edit PORTDIR_OVERLAY.
        #add the line below to the end of your file but if you have in make.conf something like this: source /var/lib/layman/make.conf then put the PORTDIR_OVERLAY just obove that.
        PORTDIR_OVERLAY="/usr/local/overlay-bijk" 
  5. Then we need to set right owner.
        #chown -R portage:portage /usr/local/overlay-bijk
  6. Now we need to sync our portage overlay trees.
        #eix-sync overlay-bijk
  7. Now we need to add new category.
        #echo perl-gcpan >> /etc/portage/categories
  8. At last we can install bijk-node.
        #emerge bijk-node
  9. Now just run your bijk-node.
        #/etc/init.d/bijk-node start
  10. For adding your server to bijk.com you'll also need a client hash.
        #cat /etc/bijk/client_hash
gentoo.1305642282.txt.gz · Last modified: 2011/05/17 16:24 by elch