User Tools

Site Tools


debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

debian [2011/05/18 13:03] (current)
elch created
Line 1: Line 1:
 +====== Gentoo ======
 +Following commands must be executed by root.
 +===== Portage =====
 +==== Installation with layman ====
 +  - Install layman.<​code>​
 +    #​USE="​git"​ emerge app-portage/​layman</​code>​
 +  - Configure your layman properly with layman manual page [[http://​layman.sourceforge.net/​|layman manual]].
 +  - Create your new overlay xml file in /​var/​lib/​layman/​.<​code>​
 +    #vim /​var/​lib/​layman/​overlay-bijk.xml</​code>​
 +  - And past into it code bellow.<​file>​
 +    <?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></​file>​
 +  - Now edit your /​etc/​layman/​layman.cfg . And add url to the xml file under **overlays**.<​file>​
 +    overlays ​ : http://​www.gentoo.org/​proj/​en/​overlays/​repositories.xml
 +                file:///​var/​lib/​layman/​var/​lib/​layman/​overlay-bijk.xml #this line</​file>​
 +  - Add overlay-bijk with layman.<​code>​
 +    #layman -f -a overlay-bijk</​code>​
 +  - Sync.<​code>​
 +    #layman -s overlay-bijk</​code>​
 +  - Now we need to add new category to portage.<​code>​
 +    #echo perl-gcpan >> /​etc/​portage/​categories</​code>​
 +  - At last we can install bijk-node.<​code>​
 +    #emerge bijk-node</​code>​
 +  - Now just run your bijk-node.<​code>​
 +    #/​etc/​init.d/​bijk-node start</​code>​
 +  - For adding your server to [[http://​www.bijk.com|bijk.com]] you'll also need a client hash.<​code>​
 +    #cat /​etc/​bijk/​client_hash</​code>​
 +     
 +==== Custom installation ====
 +  - Install git.<​code>​
 +    #emerge dev-vcs/git app-portage/​eix</​code>​
 +  - Clone our repository from server to your favorite local directory.<​code>​
 +    #cd /usr/local/
 +    #git clone git://​gentoo.bijk.com/​overlay-bijk.git</​code>​
 +  - Then add your new repository to make.conf.<​code>​
 +    #vim /​etc/​make.conf</​code>​
 +  - Create or edit PORTDIR_OVERLAY. <​file>​
 +    #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"​ </​file>​
 +  - Then we need to set right owner.<​code>​
 +    #chown -R portage:​portage /​usr/​local/​overlay-bijk</​code>​
 +  - Let's sync our portage overlay trees. <​code>​
 +    #eix-sync overlay-bijk</​code>​
 +  - Now we need to add new category to portage.<​code>​
 +    #echo perl-gcpan >> /​etc/​portage/​categories</​code>​
 +  - At last we can install bijk-node.<​code>​
 +    #emerge bijk-node</​code>​
 +  - Now just run your bijk-node.<​code>​
 +    #/​etc/​init.d/​bijk-node start</​code>​
 +  - For adding your server to [[http://​www.bijk.com|bijk.com]] you'll also need a client hash.<​code>​
 +    #cat /​etc/​bijk/​client_hash</​code> ​
 +===== Paludis =====
 +Following commands needs installed and correctly configured paludis package manager. [[http://​paludis.pioto.org/​overview/​gettingstarted.html | Getting started with paludis]] . \\
 +**For paludis package manager you really need to now what you're doing.**
  
 +==== Installation ==== 
 +  - First we need to make sure that paludis has **portage useflag enabled**. If not then follow commands bellow. \\
 +  - We also need to install git.<​code>​
 +    #echo '​sys-apps/​paludis portage'​ >> /​etc/​paludis/​use.conf
 +    #cave resolve -x  sys-apps/​paludis dev-vcs/git </​code>​
 +  - Open your favorite repository directory for example /usr/local/ and clone the overlay-bijk.<​code>​
 +    #cd /usr/local/
 +    chown -R portage:​portage /​usr/​local/​overlay-bijk
 +    #git clone git://​gentoo.bijk.com/​overlay-bijk.git</​code>​
 +  - Now create a new file in /​etc/​paludis/​repositories. <​code>​
 +    #vim /​etc/​paludis/​repositories/​overlay-bijk.conf</​code>​
 +  - Setup new overlay-bijk.conf file.<​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
 +    </​file>​
 +  - Sync.<​code>​
 +    #cave sync</​code>​
 +  - Install your bijk-node.<​code>​
 +    #cave resolve -x bijk-node</​code>​
 +  - Now just run paludis init script.<​code>​
 +    #/​etc/​init.d/​bijk-node start</​code>​
 +  - For adding your server to [[http://​www.bijk.com|bijk.com]] you'll also need a client hash.<​code>​
 +    #cat /​etc/​bijk/​client_hash</​code>​
debian.txt ยท Last modified: 2011/05/18 13:03 by elch