User Tools

Site Tools


gentoo

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gentoo [2011/05/17 15:56]
elch
gentoo [2011/05/18 13:05] (current)
elch old revision restored
Line 1: Line 1:
-===== Gentoo =====+====== Gentoo ​======
 Following commands must be executed by root. Following commands must be executed by root.
 +===== Portage =====
 ==== Installation with layman ==== ==== Installation with layman ====
   - Install layman.<​code>​   - Install layman.<​code>​
     #​USE="​git"​ emerge app-portage/​layman</​code>​     #​USE="​git"​ emerge app-portage/​layman</​code>​
   - Configure your layman properly with layman manual page [[http://​layman.sourceforge.net/​|layman manual]].   - 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 ==== ==== Custom installation ====
   - Install git.<​code>​   - Install git.<​code>​
Line 10: Line 42:
   - Clone our repository from server to your favorite local directory.<​code>​   - Clone our repository from server to your favorite local directory.<​code>​
     #cd /usr/local/     #cd /usr/local/
-    #git clone </​code>​+    #git clone git://​gentoo.bijk.com/​overlay-bijk.git</​code>​
   - Then add your new repository to make.conf.<​code>​   - Then add your new repository to make.conf.<​code>​
     #vim /​etc/​make.conf</​code>​     #vim /​etc/​make.conf</​code>​
Line 18: Line 50:
   - Then we need to set right owner.<​code>​   - Then we need to set right owner.<​code>​
     #chown -R portage:​portage /​usr/​local/​overlay-bijk</​code>​     #chown -R portage:​portage /​usr/​local/​overlay-bijk</​code>​
-  - Now we need to sync our portage overlay trees. <​code>​+  - Let'​s ​sync our portage overlay trees. <​code>​
     #eix-sync overlay-bijk</​code>​     #eix-sync overlay-bijk</​code>​
-  - Now we need to add new category.<​code>​+  - Now we need to add new category ​to portage.<​code>​
     #echo perl-gcpan >> /​etc/​portage/​categories</​code>​     #echo perl-gcpan >> /​etc/​portage/​categories</​code>​
   - At last we can install bijk-node.<​code>​   - At last we can install bijk-node.<​code>​
Line 27: Line 59:
     #/​etc/​init.d/​bijk-node start</​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>​   - 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>​ +    #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>​
gentoo.1305640589.txt.gz · Last modified: 2011/05/17 15:56 by elch