User Tools

Site Tools


gentoo

Gentoo

Following commands must be executed by root.

Portage

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://gentoo.bijk.com/overlay-bijk.git</source>
           </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 to portage.
        #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 git://gentoo.bijk.com/overlay-bijk.git
  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. Let's sync our portage overlay trees.
        #eix-sync overlay-bijk
  7. Now we need to add new category to portage.
        #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

Paludis

Following commands needs installed and correctly configured paludis package manager. Getting started with paludis .
For paludis package manager you really need to now what you're doing.

Installation

  1. First we need to make sure that paludis has portage useflag enabled. If not then follow commands bellow.
  2. We also need to install git.
        #echo 'sys-apps/paludis portage' >> /etc/paludis/use.conf
        #cave resolve -x  sys-apps/paludis dev-vcs/git 
  3. Open your favorite repository directory for example /usr/local/ and clone the overlay-bijk.
        #cd /usr/local/
        chown -R portage:portage /usr/local/overlay-bijk
        #git clone git://gentoo.bijk.com/overlay-bijk.git
  4. Now create a new file in /etc/paludis/repositories.
        #vim /etc/paludis/repositories/overlay-bijk.conf
  5. Setup new overlay-bijk.conf file.
        master_repository = gentoo
        location = /usr/local/overlay-bijk/
        sync = git://IP/overlay-bijk.git
        names_cache = /var/cache/paludis/names     #path to your names_cache, this one is just default example from paludis web
        write_cache = /var/cache/paludis/metadata  #path to your write chache, this one is just default example from paludis web
        format = e                                 #format = ebuild is deprected
        
  6. Sync.
        #cave sync
  7. Install your bijk-node.
        #cave resolve -x bijk-node
  8. Now just run paludis init script.
        #/etc/init.d/bijk-node start
  9. For adding your server to bijk.com you'll also need a client hash.
        #cat /etc/bijk/client_hash
gentoo.txt · Last modified: 2011/05/18 13:05 by elch