Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Setting up a server

Setting up a server

Scheduled Pinned Locked Moved The Lounge
windows-adminhelpphpapachesysadmin
19 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Brisingr Aerowing

    I am going to be working on my build/source control server later today, and it will be running Windows Server 2012 Standard (Or Datacenter, I have product keys for both through DreamSpark). Instead of IIS, I will be using Apache as the web server, as I like it better than IIS, as IIS has so many "features" that it is hard to figure out what an error message means, and sometimes an error message may not point to the actual problem (although WS2012 and Windows 8 are actually rather good at giving helpful information on errors!). Most of those kinds of useless error messages are usually from 3rd party products (with PHP being one of them, but it is not as bad as some others!), though. I will be using Jenkins as the build/CI server, and Mercurial as the source control system. Wish me luck in getting it to work. And yes, I have RTFM! ;)

    Bob Dole

    The internet is a great way to get on the net.

    :doh: 2.0.82.7292 SP6a

    P Offline
    P Offline
    PIEBALDconsult
    wrote on last edited by
    #2

    Zac Greve wrote:

    And yes, I have RTFM!

    How many times?

    B 1 Reply Last reply
    0
    • B Brisingr Aerowing

      I am going to be working on my build/source control server later today, and it will be running Windows Server 2012 Standard (Or Datacenter, I have product keys for both through DreamSpark). Instead of IIS, I will be using Apache as the web server, as I like it better than IIS, as IIS has so many "features" that it is hard to figure out what an error message means, and sometimes an error message may not point to the actual problem (although WS2012 and Windows 8 are actually rather good at giving helpful information on errors!). Most of those kinds of useless error messages are usually from 3rd party products (with PHP being one of them, but it is not as bad as some others!), though. I will be using Jenkins as the build/CI server, and Mercurial as the source control system. Wish me luck in getting it to work. And yes, I have RTFM! ;)

      Bob Dole

      The internet is a great way to get on the net.

      :doh: 2.0.82.7292 SP6a

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #3

      Hi, About the source control system, I prefer to GIT. Git is the same distributed type as Mercurial. :)

      B 1 Reply Last reply
      0
      • L Lost User

        Hi, About the source control system, I prefer to GIT. Git is the same distributed type as Mercurial. :)

        B Offline
        B Offline
        Brisingr Aerowing
        wrote on last edited by
        #4

        I never was able to 'git' the hang of that system. :-\

        Bob Dole

        The internet is a great way to get on the net.

        :doh: 2.0.82.7292 SP6a

        L 1 Reply Last reply
        0
        • P PIEBALDconsult

          Zac Greve wrote:

          And yes, I have RTFM!

          How many times?

          B Offline
          B Offline
          Brisingr Aerowing
          wrote on last edited by
          #5

          I lost count. I kept reading it over and over because there are a lot of Whiskey Tango Foxtrot things there (It is sometimes worse than documentation from Microsoft!).

          Bob Dole

          The internet is a great way to get on the net.

          :doh: 2.0.82.7292 SP6a

          F 1 Reply Last reply
          0
          • B Brisingr Aerowing

            I never was able to 'git' the hang of that system. :-\

            Bob Dole

            The internet is a great way to get on the net.

            :doh: 2.0.82.7292 SP6a

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #6

            Try it on this time ? ;)

            B 1 Reply Last reply
            0
            • L Lost User

              Try it on this time ? ;)

              B Offline
              B Offline
              Brisingr Aerowing
              wrote on last edited by
              #7

              I honestly like Mercurial better. I find it easier to use.

              Bob Dole

              The internet is a great way to get on the net.

              :doh: 2.0.82.7292 SP6a

              1 Reply Last reply
              0
              • B Brisingr Aerowing

                I am going to be working on my build/source control server later today, and it will be running Windows Server 2012 Standard (Or Datacenter, I have product keys for both through DreamSpark). Instead of IIS, I will be using Apache as the web server, as I like it better than IIS, as IIS has so many "features" that it is hard to figure out what an error message means, and sometimes an error message may not point to the actual problem (although WS2012 and Windows 8 are actually rather good at giving helpful information on errors!). Most of those kinds of useless error messages are usually from 3rd party products (with PHP being one of them, but it is not as bad as some others!), though. I will be using Jenkins as the build/CI server, and Mercurial as the source control system. Wish me luck in getting it to work. And yes, I have RTFM! ;)

                Bob Dole

                The internet is a great way to get on the net.

                :doh: 2.0.82.7292 SP6a

                A Offline
                A Offline
                Anna Jayne Metcalfe
                wrote on last edited by
                #8

                Sounds like a solid combination, though I'd recommend going with Standard rather than Datacenter, as the latter is way overkill. I reckon the first time you set up a CI server is a bit of a lightbulb moment. Certainly the first time I did it (with CruiseControl.NET rather than Jenkins) I could only think "why on earth didn't we do this sooner?". Have fun!

                Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                B 1 Reply Last reply
                0
                • A Anna Jayne Metcalfe

                  Sounds like a solid combination, though I'd recommend going with Standard rather than Datacenter, as the latter is way overkill. I reckon the first time you set up a CI server is a bit of a lightbulb moment. Certainly the first time I did it (with CruiseControl.NET rather than Jenkins) I could only think "why on earth didn't we do this sooner?". Have fun!

                  Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                  B Offline
                  B Offline
                  Brisingr Aerowing
                  wrote on last edited by
                  #9

                  I am using standard. I have use Jenkins before, and it is very easy to use. I haven't actually set it up yet (I just have Apache sorta set up), but will get it set up soon (hopefully). I have found Apache easier to use, but the configuration is a little odd sometimes.

                  Bob Dole

                  The internet is a great way to get on the net.

                  :doh: 2.0.82.7292 SP6a

                  A 1 Reply Last reply
                  0
                  • B Brisingr Aerowing

                    I am using standard. I have use Jenkins before, and it is very easy to use. I haven't actually set it up yet (I just have Apache sorta set up), but will get it set up soon (hopefully). I have found Apache easier to use, but the configuration is a little odd sometimes.

                    Bob Dole

                    The internet is a great way to get on the net.

                    :doh: 2.0.82.7292 SP6a

                    A Offline
                    A Offline
                    Anna Jayne Metcalfe
                    wrote on last edited by
                    #10

                    It's a while since I've set up an Apache install, but I seem to remember the config being a bit weird in places. I've not setup a Jenkins server though - must get around to that one day, if for no other reason that we really should get on with writing a Jenkins plug-in for Visual Lint.

                    Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                    B 1 Reply Last reply
                    0
                    • B Brisingr Aerowing

                      I am going to be working on my build/source control server later today, and it will be running Windows Server 2012 Standard (Or Datacenter, I have product keys for both through DreamSpark). Instead of IIS, I will be using Apache as the web server, as I like it better than IIS, as IIS has so many "features" that it is hard to figure out what an error message means, and sometimes an error message may not point to the actual problem (although WS2012 and Windows 8 are actually rather good at giving helpful information on errors!). Most of those kinds of useless error messages are usually from 3rd party products (with PHP being one of them, but it is not as bad as some others!), though. I will be using Jenkins as the build/CI server, and Mercurial as the source control system. Wish me luck in getting it to work. And yes, I have RTFM! ;)

                      Bob Dole

                      The internet is a great way to get on the net.

                      :doh: 2.0.82.7292 SP6a

                      7 Offline
                      7 Offline
                      77465
                      wrote on last edited by
                      #11

                      I guess you are using Windows because the very best money co clients love Windows. If not, just use Linux. It makes no sense to use a parody of a server OS if you do not want to use ASP .NET and the rest of Microsoft technologies, which indeed have enough unique features to justify Windows, but only if you really need them.

                      B 1 Reply Last reply
                      0
                      • B Brisingr Aerowing

                        I am going to be working on my build/source control server later today, and it will be running Windows Server 2012 Standard (Or Datacenter, I have product keys for both through DreamSpark). Instead of IIS, I will be using Apache as the web server, as I like it better than IIS, as IIS has so many "features" that it is hard to figure out what an error message means, and sometimes an error message may not point to the actual problem (although WS2012 and Windows 8 are actually rather good at giving helpful information on errors!). Most of those kinds of useless error messages are usually from 3rd party products (with PHP being one of them, but it is not as bad as some others!), though. I will be using Jenkins as the build/CI server, and Mercurial as the source control system. Wish me luck in getting it to work. And yes, I have RTFM! ;)

                        Bob Dole

                        The internet is a great way to get on the net.

                        :doh: 2.0.82.7292 SP6a

                        K Offline
                        K Offline
                        kmoorevs
                        wrote on last edited by
                        #12

                        Good luck! I can't believe how far behind the times I am...On of my ongoing tasks is replacing my 9 y/o w2k3 home/office server with a new (actually built a year and a half ago) box running w2k8 Standard. I think it is an indication of how much better and more reliable hardware has become over the last 10-12 years. The old server's 2.8Ghz P4 still gets the job done. Hopefully, the new server and I will be due for retirement at about the same time!

                        "Go forth into the source" - Neal Morse

                        B 1 Reply Last reply
                        0
                        • 7 77465

                          I guess you are using Windows because the very best money co clients love Windows. If not, just use Linux. It makes no sense to use a parody of a server OS if you do not want to use ASP .NET and the rest of Microsoft technologies, which indeed have enough unique features to justify Windows, but only if you really need them.

                          B Offline
                          B Offline
                          Brisingr Aerowing
                          wrote on last edited by
                          #13

                          I am using it as a personal build server for my .NET applications.

                          Bob Dole

                          The internet is a great way to get on the net.

                          :doh: 2.0.82.7292 SP6a

                          1 Reply Last reply
                          0
                          • A Anna Jayne Metcalfe

                            It's a while since I've set up an Apache install, but I seem to remember the config being a bit weird in places. I've not setup a Jenkins server though - must get around to that one day, if for no other reason that we really should get on with writing a Jenkins plug-in for Visual Lint.

                            Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                            B Offline
                            B Offline
                            Brisingr Aerowing
                            wrote on last edited by
                            #14

                            The configuration for Apache 2.4.3 (The latest version) is somewhat better than earlier versions. The PHP configuration is rather self explanatory (Thanks to all of the comments(!) in the configuration files). MySQL, though, is a pain-in-the-posterior to set up correctly. I have Jenkins working now, and I have Apache set up as a reverse proxy to the Jenkins instance. I think I will just set up the mercurial binaries and have Jenkins poll my BitBucket repositories every so often, and build when there is a change. That will save me some headaches getting Mercurial's web system working correctly. That is a massive headache, on Windows and (somewhat less so) on Linux. Most problems are due to IIS being unhelpful, but there are some quirks in the Mercurial configuration system that cause some rather unusual error messages from Mercurial itself. I still have some work to do, though. As an afterthought, I am thinking of setting up a Windows Service to pull updates from my BitBucket repositories every so often, and have Jenkins build if there is an update. That will allow me to configure the build system to use post commit hooks and the like, and might make things easier in the long run.

                            Bob Dole

                            The internet is a great way to get on the net.

                            :doh: 2.0.82.7292 SP6a

                            1 Reply Last reply
                            0
                            • K kmoorevs

                              Good luck! I can't believe how far behind the times I am...On of my ongoing tasks is replacing my 9 y/o w2k3 home/office server with a new (actually built a year and a half ago) box running w2k8 Standard. I think it is an indication of how much better and more reliable hardware has become over the last 10-12 years. The old server's 2.8Ghz P4 still gets the job done. Hopefully, the new server and I will be due for retirement at about the same time!

                              "Go forth into the source" - Neal Morse

                              B Offline
                              B Offline
                              Brisingr Aerowing
                              wrote on last edited by
                              #15

                              I used WS2K8 before, and the configuration on it was a little, well, out there, to say the least. WS2K12 is actually rather easy to set up and configure, and has the useful ability to manage multiple servers at once. So you can, say, have one central management server with a GUI, and use it to manage a number of other servers without GUIs. Or you can just use Powershell. ;)

                              Bob Dole

                              The internet is a great way to get on the net.

                              :doh: 2.0.82.7292 SP6a

                              1 Reply Last reply
                              0
                              • B Brisingr Aerowing

                                I am going to be working on my build/source control server later today, and it will be running Windows Server 2012 Standard (Or Datacenter, I have product keys for both through DreamSpark). Instead of IIS, I will be using Apache as the web server, as I like it better than IIS, as IIS has so many "features" that it is hard to figure out what an error message means, and sometimes an error message may not point to the actual problem (although WS2012 and Windows 8 are actually rather good at giving helpful information on errors!). Most of those kinds of useless error messages are usually from 3rd party products (with PHP being one of them, but it is not as bad as some others!), though. I will be using Jenkins as the build/CI server, and Mercurial as the source control system. Wish me luck in getting it to work. And yes, I have RTFM! ;)

                                Bob Dole

                                The internet is a great way to get on the net.

                                :doh: 2.0.82.7292 SP6a

                                R Offline
                                R Offline
                                RafagaX
                                wrote on last edited by
                                #16

                                May the lord be with you... otherwise you'll experience hell in earth. ;P

                                CEO at: - Rafaga Systems - Para Facturas - Modern Components for the moment...

                                B 1 Reply Last reply
                                0
                                • R RafagaX

                                  May the lord be with you... otherwise you'll experience hell in earth. ;P

                                  CEO at: - Rafaga Systems - Para Facturas - Modern Components for the moment...

                                  B Offline
                                  B Offline
                                  Brisingr Aerowing
                                  wrote on last edited by
                                  #17

                                  The server is working perfectly fine (other than MySQL, that is a PITA to make work).

                                  Bob Dole

                                  The internet is a great way to get on the net.

                                  :doh: 2.0.82.7292 SP6a

                                  1 Reply Last reply
                                  0
                                  • B Brisingr Aerowing

                                    I lost count. I kept reading it over and over because there are a lot of Whiskey Tango Foxtrot things there (It is sometimes worse than documentation from Microsoft!).

                                    Bob Dole

                                    The internet is a great way to get on the net.

                                    :doh: 2.0.82.7292 SP6a

                                    F Offline
                                    F Offline
                                    Florin Jurcovici
                                    wrote on last edited by
                                    #18

                                    Zac Greve wrote:

                                    I kept reading it over and over because there are a lot of Whiskey Tango Foxtrot things there (It is sometimes worse than documentation from Microsoft!).

                                    I'm puzzled. What's your motivation to set it up on Windows? I mean, what you're telling me is something as simple as running the Kubuntu setup, followed by sudo apt-add-repository https://launchpad.net/~mercurial-ppa/+archive/releases sudo apt-get update sudo apt-get upgrade sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 323293EE sudo apt-get install mercurial apache tomcat6 jenkins I didn't check the details, but that should be it, give or take some package names on the last command line. That gives you a fully working and configured setup, where all components are already integrated, on an OS with reportedly better IO performance (which should help at least the web server), and which also updates everything by itself, not just the OS, without breaking things. Why would you download and install each component individually, and go through the hurdles of installing an OS which ?

                                    B 1 Reply Last reply
                                    0
                                    • F Florin Jurcovici

                                      Zac Greve wrote:

                                      I kept reading it over and over because there are a lot of Whiskey Tango Foxtrot things there (It is sometimes worse than documentation from Microsoft!).

                                      I'm puzzled. What's your motivation to set it up on Windows? I mean, what you're telling me is something as simple as running the Kubuntu setup, followed by sudo apt-add-repository https://launchpad.net/~mercurial-ppa/+archive/releases sudo apt-get update sudo apt-get upgrade sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 323293EE sudo apt-get install mercurial apache tomcat6 jenkins I didn't check the details, but that should be it, give or take some package names on the last command line. That gives you a fully working and configured setup, where all components are already integrated, on an OS with reportedly better IO performance (which should help at least the web server), and which also updates everything by itself, not just the OS, without breaking things. Why would you download and install each component individually, and go through the hurdles of installing an OS which ?

                                      B Offline
                                      B Offline
                                      Brisingr Aerowing
                                      wrote on last edited by
                                      #19

                                      I am using the server as a build server for my .NET applications. I decided to have Jenkins poll my BitBucket repositories every so often instead of installing the HGWeb system. It saved me some headaches in the long run.

                                      Bob Dole

                                      The internet is a great way to get on the net.

                                      :doh: 2.0.82.7292 SP6a

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups