User:666threesixes666

drupal
Drupal is an open source lamp stack content management system.

Preinstall
Drupal is a lamp stack web application. As such we need apache mysql & php.

Add dev-lang/php pdo

Edit /etc/conf.d/apache and add -D PHP5 to APACHE2_OPTS

Mysql
Create a database for drupal to interact with.

Install
link drupal to your webroot

Fix permissions so apache web server can edit files

then point your browser @ http://localhost/drupal/

ircserver
freenode uses ircd-seven-1.1.3

Barkeep
bar keep is a git source review web application written with ruby.

Preinstall
merge the packages barkeep is dependent upon.

Install
Clone the barkeep sources.

mysqladmin -u root --password='changeme' create barkeep cd /var/www/localhost/htdocs/barkeep su -c 'gem install grit' su -c 'bundle install' & hopefully all is well and ready for passengering

= reviewboard =

preinstall
this is a rough translation of http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/

git clone git://github.com/reviewboard/reviewboard.git git clone git://github.com/djblets/djblets.git

pylucene
we must manually compile this to enable search functions.

= fuse = filesystem in userspace

= halflife-steam = this is the HLDS package to run a half life dedicated server.

= b43 = b43 is the broadcom driver for several chips. it supports managed, ad-hoc, monitor, and access point modes.

instillation
b43-firmware takes care of download of broadcom-wl-5.100.138, extraction of archive, firmware cutting, and insertion of firmware into /lib/firmware.

= minix =

minix is another kernel/unix system, that linux was derived from apparently. it lacks a compiler, it will probably need deployed & installed & compiler bootstrapped then tared into stage3. doesnt boot in qemu, its GARBAGE.

= skype =

= webcam = webcams require kernel driver support. uvc is most common in new webcams.

Kernel Configuration
laptop users might also need to enable

= Adobe Flash = Adobe flash is used at many media streaming websites, such as youtube.

License
You must accept the license agreement to use flash on your system.

= Shotwell =

shotwell is a photo management suite.

Unmask
= Rstudio =

umask the beast

merge the beast

= latest gitlab =

Disclaimer
This guide is a rough port from the official guide and various internet references.

Some of the steps have been consolidated and obviously customized to the standard Gentoo environment.

If something is missing, please make a point of updating this article, with special attention to dependencies please.

Prerequisites/Dependencies

 * version 2.7.x
 * version 1.9.x
 * version 2.7.x
 * version 1.9.x

Prepare the Necessary Users
Gitlab uses the git user, so add it:

MySQL/MariaDB
Merge mysql if you have not already.

Setup root mysql password.

Turn on mysql.

Set mysql to start upon reboot.

Create the database and user:

Test connecting to the databases with the new user:

PostgreSQL
For PostgreSQL there are different methods of authentification. For a installation on the local machine I prefer using the local account when connecting trough a socket. By default this is enabled.

Create a database and a new user without a password and give him ownership of it. Remember, when connecting trough the socket the shell user is used for authentification, so its name must be gitlab.

The gitlab user will need access to the PostgreSQL socket, so it's required to add him to the postgres group

And a little test, just to be shure everything went fine:

Copy the example database configuration file:


 * Edit the new configuration file and add the database credentials just created:

Configure the Package
Use your favorite editor to change localhost to your FQDN:

Make sure GitLab can write to the log/ and tmp/ directories:

Make a directory for satellites

Unicorn
GitLab makes use of the Unicorn RoR HTTP server to connect to your main webserver:

Then copy and edit the configuration file :

''If you choose to use TCP, adjust accordingly later. It is useful for testing with Links''

Configure GitLab Hooks
The GitLab hook system allows you to hook into other external systems you have setup, such as issue trackers, another production server, an irc bot, etc.

Install Needed Gems

 * mysql


 * postgresql

Download and Start the Initscript
Gentoo user andmarios has been kind enough to create an init script:

Nginx
Download the official template and activate it:

Use your favorite text editor to change the relevant portions:

Apache/Passenger
go over to the rails page, and fix up passenger...

You need to deviate on the configuration of file, to adapt DocumentRoot and  directives to use. Thus, add the following virtual host to manage gitlab :

dont forget to

&&

Finish Installing
Use your favorite web browser to navigate to the new host you set up

If everything loads properly, the installer has made an admin account for you.

Diagnostics
Run this command to get your full diagnostic.

Push, Pull, Clone
Users to push, pull, clone generate ssh-rsa key.

Using the GitLab web page interface, add your user key to your user, & create new repository.

Many commands will show up, they need to be run on your users computer.

The command 'git push -u origin master' will activate the repository created and allow cloning.

clone using the url the web interface gives you. (replace localhost with IP address, or fully qualified domain name)

Omniauth
In the file /home/gitlab/gitlab/config/gitlab.yml is a section that controls login from remote sites such as google, twitter, and github. change enabled: false to enabled: true. then scroll down and remove all ## marks from


 * 1)    - { name: 'google_oauth2', app_id: 'YOUR APP ID',
 * 2)        app_secret: 'YOUR APP SECRET',

and ensure to leave the leading - on the first line.