[Chugalug] Amazon EC2 woes

James Nylen jnylen at gmail.com
Thu Aug 22 01:58:05 UTC 2013


What tools do you use to render markdown into HTML for sending via gmail?


On Wed, Aug 21, 2013 at 9:44 PM, Sean Brewer <seabre986 at gmail.com> wrote:

> Sorry guys, I'm not having a good day. Let's just use plain text..
>
> <Directory />
>    Redirect permanent / http://jbirdvegas.org/gitlab/
> </Directory>
>
>
> On Wed, Aug 21, 2013 at 9:42 PM, Sean Brewer <seabre986 at gmail.com> wrote:
>
>> Also, just to be clear, the stuff you should add to gitlab.conf is:
>>
>> <Directory />
>>    Redirect permanent / [http://jbirdvegas.org/gitlab/](http://jbirdvegas.org/gitlab/)</Directory>
>>
>> I usually use markdown to apply pretty styling to my code snippets in my
>> e-mails for scripts so they're more clear, but I pulled the trigger too
>> soon somehow on that e-mail, which is why it looks funny there. Oh well.
>>
>>
>> On Wed, Aug 21, 2013 at 9:37 PM, Sean Brewer <seabre986 at gmail.com> wrote:
>>
>>> Crap, I pressed enter or something before I finished. Anyway, supposedly
>>> there's a script called `ctlscript.sh` somewhere. Maybe at `/opt` or
>>> `/opt/bitnami`, after you make those changes to gitlab.conf, you need to
>>> run `./ctrlscript.sh restart` Then, hopefully, whenever you go to
>>> http://jbirdvegas.org, you get redirected to
>>> http://jbirdvegas.org/gitlab You can probably ditch the CNAME record
>>> for git.jbirdvegas.org after that.
>>>
>>>
>>> On Wed, Aug 21, 2013 at 9:34 PM, Sean Brewer <seabre986 at gmail.com>wrote:
>>>
>>>> Wait. Looks like you're on the BitNami stack, which uses
>>>> Passenger+Apache. I didn't use BitNami, but this is the same server stack I
>>>> use for gitlab.
>>>>
>>>> I'm not totally sure where the apache config on the bitnami stack
>>>> lives, but after a minute or two of googling (
>>>> http://stackoverflow.com/questions/15900937/bitnami-how-to-configure-gitlab-5-0-application-in-apache2-not-to-have-relative),
>>>> it looks like it lives here: /opt/bitnami/apps/gitlab/conf/gitlab.conf
>>>>
>>>> Edit that file, and but this before `PassengerDefaultUser git`:
>>>> ```ApacheConf
>>>> <Directory />
>>>>    Redirect permanent / http://jbirdvegas.org/gitlab/
>>>> </Directory>
>>>> ```
>>>>
>>>> Also, supposedly there's a script called `ctlscript.sh` somewhere.
>>>> Maybe at `/opt
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Aug 21, 2013 at 4:47 PM, Jon Stanford <jbirdvegas at aokp.co>wrote:
>>>>
>>>>> yea I'm using the default server setup and of coarse I'd be happy to
>>>>> share any knowledge gained!
>>>>>
>>>>> Here is what I have (I tried to upload the pics directly but was
>>>>> denied because the total message was too large)
>>>>>
>>>>> https://docs.google.com/file/d/0B3j3a-rjK4spVEE3Q2x4alE0cW8/edit?usp=sharing
>>>>>
>>>>> https://docs.google.com/file/d/0B3j3a-rjK4spSGJGZndJWUZJTTg/edit?usp=sharing
>>>>>
>>>>> Both the pointer and the subdomain do not work :(
>>>>>
>>>>> any ideas?
>>>>>
>>>>> ------------------------------
>>>>> *From: *"Sean Brewer" <seabre986 at gmail.com>
>>>>> *To: *"Chattanooga Unix Gnu Android Linux Users Group" <
>>>>> chugalug at chugalug.org>
>>>>> *Sent: *Wednesday, August 21, 2013 10:39:33 AM
>>>>> *Subject: *Re: [Chugalug] Amazon EC2 woes
>>>>>
>>>>>
>>>>> What he said. Also, what server setup are you using? I'm assuming
>>>>> Nginx + unicorn, since that's the default.
>>>>>
>>>>> Along with what wes said, make sure you changed YOUR_SERVER_FQDN on
>>>>> line 11:
>>>>> https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/nginx/gitlab
>>>>>
>>>>> to this, if you want your gitlab instance on a subdomain:
>>>>> git.jbirdvegas.net
>>>>>
>>>>>
>>>>> On Wed, Aug 21, 2013 at 3:55 AM, wes <wes at the-wes.com> wrote:
>>>>>
>>>>>> I use EC2 for all sorts of stuff, including hosting applications on
>>>>>> subdomains.
>>>>>>
>>>>>>
>>>>>> I'd really like to use the main domain for a future project and move
>>>>>>> the gitlab to a subdomain like git.jbirdvegas.org
>>>>>>>
>>>>>>> I've tried everything I can think... (admittedly it isn't much as
>>>>>>> this is my first time attempting to host a domain)
>>>>>>>
>>>>>>> on Route 57: I created a "Hosted Zone" for my git subdomain and
>>>>>>> attempted to edit the Record Sets to include "NS" (Name Server) and a "SOA"
>>>>>>> (Start of Authority) I've tried creating a "PTR" (Pointer) to just forward
>>>>>>> the traffic however nothing works.
>>>>>>>
>>>>>>
>>>>>> you need an "A" or "CNAME" record to do what you're trying to do. if
>>>>>> you choose to use an A record, give the IP address of your EC2 instance. if
>>>>>> you choose CNAME, give the dns name
>>>>>> (like ec2-1-2-3-4.compute-1.amazonaws.com.).
>>>>>>
>>>>>>
>>>>>>> So any pointers? Has anyone on this list had success creating a
>>>>>>> subdomain on an EC2 instance? I choose an EC2 instance for the obvious its
>>>>>>> free reason but I've seen others use subdomains on their EC2 so I know its
>>>>>>> possible.
>>>>>>>
>>>>>>
>>>>>> my only other pointer at this stage is to point you toward the apache
>>>>>> documentation. you need to learn about name-based hosting and virtual host
>>>>>> configuration. hint: start with the usage of DocumentRoot. once you read
>>>>>> up, if you have any further specific questions, feel free to come back here
>>>>>> and someone will help you out.
>>>>>>
>>>>>>
>>>>>>> I realize lots of you guys are admins and are probably laughing at
>>>>>>> the neophile domain host right now but I'm simply lost and thought I would
>>>>>>> plea to those with more experience than I have... Thanks ahead of time guys.
>>>>>>>
>>>>>>
>>>>>> we all started the same way - from scratch. you will naturally
>>>>>> struggle with this for a while and then reach a point where it's easy.
>>>>>> hopefully at that point you will turn around and help the next newbie.
>>>>>>
>>>>>>
>>>>>>> Oh and I can forward the domains I didn't associate with the EC2
>>>>>>> instance just fine so jbirdvegas.net forwards correctly to
>>>>>>> jbirdvegas.org/gitlab same for .com and .info.
>>>>>>>
>>>>>>
>>>>>>
>>>>>> I'm going to guess the forwarding works because you're using
>>>>>> godaddy's pre-built forwarding service. that's a lot easier to get working
>>>>>> than virtual hosting with apache on linux.
>>>>>>
>>>>>> best of luck.
>>>>>>
>>>>>> -wes
>>>>>>
>>>>>> _______________________________________________
>>>>>> Chugalug mailing list
>>>>>> Chugalug at chugalug.org
>>>>>> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Chugalug mailing list
>>>>> Chugalug at chugalug.org
>>>>> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Chugalug mailing list
>>>>> Chugalug at chugalug.org
>>>>> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>>>>>
>>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20130821/0f34052a/attachment-0001.html>


More information about the Chugalug mailing list