Setting up a server
-
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
Zac Greve wrote:
And yes, I have RTFM!
How many times?
-
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
-
Hi, About the source control system, I prefer to GIT. Git is the same distributed type as Mercurial. :)
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
-
Zac Greve wrote:
And yes, I have RTFM!
How many times?
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
-
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
-
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
-
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
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?"
-
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?"
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
-
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
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?"
-
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
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.
-
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
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
-
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.
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
-
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?"
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
-
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
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
-
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
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...
-
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...
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
-
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
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 ?
-
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 ?
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