Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non interactive aws install #1318

Merged
merged 3 commits into from Sep 2, 2012
Merged

Non interactive aws install #1318

merged 3 commits into from Sep 2, 2012

Conversation

dosire
Copy link
Member

@dosire dosire commented Aug 28, 2012

The current installation manual is very well written. But it is still a bit of work to set up a new server.

To offer an alternative to people wanting to try out Gitlab quickly I made a script that does a complete installation on Amazon Web Services. After pasting one line in the server the next step is to log in to a running server that is properly configured (push/pull/email/resque/etc.).

The TODO's as listed in the script are:

  1. Decide whether to move the howto in this script to installation.md or reference it from there.
  2. Change dosire/gitlabhq/master links to gitlabhq/gitlabhq/stable when merged in the gitlabhq repo.

On the first on I would like your input.

For he second one I will send a merge request when the this one is merged in.

This is quite a bit of code so please let me know if you prefer changes, I have no problem with changing things.

@dzaporozhets
Copy link
Member

  1. squash commits
  2. put all stuff under aws dir

@dosire
Copy link
Member Author

dosire commented Aug 28, 2012

@randx Squashed into one commit and moved into aws dir.

@rspeicher
Copy link
Contributor

How about lib/support/aws and we move the nginx stuff currently there to lib/support/nginx? It seems kind of extreme to give it its own root folder.

@dosire
Copy link
Member Author

dosire commented Sep 2, 2012

@randx Let me know what I can do to get this in. I'll be glad to change the directory to /doc/aws or to multiple dirs (/lib/support/aws & /lib/support/nginx)

@dzaporozhets
Copy link
Member

@dosire Oh sorry. Forget about. Lets do next:

  1. Move under lib/support/aws
  2. Do rebase so i can do merge via ui

@travisbot
Copy link

This pull request passes (merged 1dbc25e3 into aecbd31).

@travisbot
Copy link

This pull request passes (merged a3a24104 into aecbd31).

@travisbot
Copy link

This pull request passes (merged 78015ff7 into aecbd31).

Non-interactive AWS install by running a single script.

Complete non-interactive AWS install with one line.

Squash of 28 commits:

Initial commit of complete install script.

Must be sudo.

Non interactive prostgres.

Install mysql with unique password.

Service file.

Add init file.

Nginx config.

Script contains aws specific settings.

Update references after rename.

Prevent localhost ssh prompt.

Postfix with policyd.

Typo in localhost. Postfix package has other name. sudo -l session needs oneliners.

More sudo commands to prevent permission problems.

Change in existing file.

Change in existing file must be referenced.

Switch order.

Postfix comment.

Old way to generate password, less sudo.

todo login

Must use private ip and login instructions.

Starting up.

Fixed and checked various todos.

Use service. Set host name. Go to default dir.

Only works on next login.

Only replace first host.

Cleaned up the comments.

Link to nginx config.

Move to aws dir.

Update links to aws for interactive install.

Existing script stays at the same location.

Change directory. Use the new init scripts for gitlab service and nginx. Use the branch for file downloads. Update with newest changes to installation.md.

Correct reference.

Use master branch since we need the nginx condfig and use absolute paths.

Need to copy with sudo.
@dosire
Copy link
Member Author

dosire commented Sep 2, 2012

@randx I've moved the files under lib/support/aws as you requested. I've rebased so you should be able to merge via the ui, let me know if this is not the case. In addition I've incorporated the latest changes in installation.md and now use the predefined init files you added 5 days ago.

Merge branch 'master' into non-interactive-aws-install

Conflicts:
	doc/installation.md

Fix merge mess in installation.md
@travisbot
Copy link

This pull request passes (merged f7185193 into aecbd31).

@travisbot
Copy link

This pull request passes (merged 16f1fa5e into aecbd31).

@travisbot
Copy link

This pull request passes (merged ec6d79e6 into aecbd31).

@travisbot
Copy link

This pull request passes (merged 1b0a28a6 into aecbd31).

@travisbot
Copy link

This pull request passes (merged 0c59904 into aecbd31).

dzaporozhets added a commit that referenced this pull request Sep 2, 2012
@dzaporozhets dzaporozhets merged commit 65402f1 into gitlabhq:master Sep 2, 2012
dzaporozhets added a commit that referenced this pull request Jun 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants