[arch-general] Done! Website move to 1st Archlinux Box
Guys, Thanks for all of your help. My first Arch install and server config is almost 100% complete (some server apps still remain, but that's just install time) Archlinux works like a champ. It is a great, lightweight, full featured distribution. In case any other Arch user is looking to do a full apache2 install with SSL, PHP & MySQL support, the LAMP wiki page will get you going. http://wiki.archlinux.org/index.php/LAMP. PHP and MySQL support comes from nothing more than making sure the module include statements in /etc/httpd/conf/httpd.conf are active as detailed in the LAMP page. The only trick there is that for some reason the php object module isn't included in the default httpd.conf file so you need to add the following to the end of the LoadModule list: LoadModule php5_module modules/libphp5.so Secure http (https) support takes a little more. The simple part of SSL setup, as with PHP and MySQL, is just making sure the shared object module is loaded in etc/httpd/conf/httpd.conf: LoadModule ssl_module modules/mod_ssl.so Usually the more challenging part of secure http setup is generating the server keys and certificates that apache will use to offer ssl support. To make this easier, I have created a script to automate this process and install the server key, certificate and signing request under /etc/httpd/certs. You can grab a copy of the script at: http://archangel.3111skyline.com/download/Archlinux/apache2/apache-ssl-Arch (don't panic if it is temporarily not available as I am still moving servers around and will normally have it back up in 20 minutes or so) After download, if you want to generate your server keys automatically **edit** the script variables: COUNTRY=US STATE=Texas LOCAL=Nacogdoches ON="Rankin Law Firm, PLLC" OU=Attorneys EMAIL=help@3111skyline.com or you will end up with a server certificate that contains my defaults. Once you make the changes, just run the script as root like: apache-ssl-Arch <CN> where <CN> is just the 'Common Name' (usually your FQDN for your server). If you omit the CN, you will be prompted. If you just want to gen the keys, request and cetrificate manually, you can always just cut and paste the commands from the script. In addition to the script, I also put my httpd.conf and httpd-ssl.conf (both without comments) on the site if anybody wants to reference them for the changes required: http://archangel.3111skyline.com/download/Archlinux/apache2/httpd.conf http://archangel.3111skyline.com/download/Archlinux/apache2/httpd-ssl.conf Lastly, I spun up what I think is a cool Archlinux footer image based on one of the images in /usr/share/arch-artwork/. If you like it -- take it. http://archangel.3111skyline.com/download/Archlinux/apache2/ArchFooter-small... That's it, thanks to all for helping me learn Arch! (I guess that should be 'learn enough to get running') We all know, the learning is never really done;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
I like this guy :) You've shown yourself to be indeed an awesome community member. Thanks, and I hope that Arch continues to make you happy. And I agree, I always thought Arch would do well for a server if you take precautions around updates. :) -Andrei "Garoth" Thorp On Sat, Apr 25, 2009 at 4:18 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Guys,
Thanks for all of your help. My first Arch install and server config is almost 100% complete (some server apps still remain, but that's just install time) Archlinux works like a champ. It is a great, lightweight, full featured distribution.
In case any other Arch user is looking to do a full apache2 install with SSL, PHP & MySQL support, the LAMP wiki page will get you going. http://wiki.archlinux.org/index.php/LAMP. PHP and MySQL support comes from nothing more than making sure the module include statements in /etc/httpd/conf/httpd.conf are active as detailed in the LAMP page. The only trick there is that for some reason the php object module isn't included in the default httpd.conf file so you need to add the following to the end of the LoadModule list:
LoadModule php5_module modules/libphp5.so
Secure http (https) support takes a little more. The simple part of SSL setup, as with PHP and MySQL, is just making sure the shared object module is loaded in etc/httpd/conf/httpd.conf:
LoadModule ssl_module modules/mod_ssl.so
Usually the more challenging part of secure http setup is generating the server keys and certificates that apache will use to offer ssl support. To make this easier, I have created a script to automate this process and install the server key, certificate and signing request under /etc/httpd/certs. You can grab a copy of the script at:
http://archangel.3111skyline.com/download/Archlinux/apache2/apache-ssl-Arch
(don't panic if it is temporarily not available as I am still moving servers around and will normally have it back up in 20 minutes or so)
After download, if you want to generate your server keys automatically **edit** the script variables:
COUNTRY=US STATE=Texas LOCAL=Nacogdoches ON="Rankin Law Firm, PLLC" OU=Attorneys EMAIL=help@3111skyline.com
or you will end up with a server certificate that contains my defaults. Once you make the changes, just run the script as root like:
apache-ssl-Arch <CN>
where <CN> is just the 'Common Name' (usually your FQDN for your server). If you omit the CN, you will be prompted.
If you just want to gen the keys, request and cetrificate manually, you can always just cut and paste the commands from the script.
In addition to the script, I also put my httpd.conf and httpd-ssl.conf (both without comments) on the site if anybody wants to reference them for the changes required:
http://archangel.3111skyline.com/download/Archlinux/apache2/httpd.conf http://archangel.3111skyline.com/download/Archlinux/apache2/httpd-ssl.conf
Lastly, I spun up what I think is a cool Archlinux footer image based on one of the images in /usr/share/arch-artwork/. If you like it -- take it.
http://archangel.3111skyline.com/download/Archlinux/apache2/ArchFooter-small...
That's it, thanks to all for helping me learn Arch! (I guess that should be 'learn enough to get running')
We all know, the learning is never really done;-)
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Andrei Thorp wrote:
I like this guy :)
You've shown yourself to be indeed an awesome community member. Thanks, and I hope that Arch continues to make you happy. And I agree, I always thought Arch would do well for a server if you take precautions around updates.
:)
-Andrei "Garoth" Thorp
Thanks Andrei, that means I batting 50%. The others just call me a Troll:-) (Note, I had to boot back to suse for a bit so I can export the rest of the mysql databases and web apps. I moved the Arch files apache file over to another server so they are accessible while I finish up.) Thanks again. Look forward to working with you all while I learn Arch; I really like this distro. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Troll? Hmmm.... No, you are not a troll. (Not that I participate on these lists all that much myself). It is interesting though seeing that is someone migrating from OpenSuse to Arch Linux, as they are almost polar opposites as far as Linux distros go. I use OpenSuse a lot at work (not my choice), but I prefer Arch (which I use on my own workstation and servers I maintain, and Arch is currently the only Linux distro I use at home). On Sat, Apr 25, 2009 at 11:41 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Andrei Thorp wrote:
I like this guy :)
You've shown yourself to be indeed an awesome community member. Thanks, and I hope that Arch continues to make you happy. And I agree, I always thought Arch would do well for a server if you take precautions around updates.
:)
-Andrei "Garoth" Thorp
Thanks Andrei, that means I batting 50%. The others just call me a Troll:-)
(Note, I had to boot back to suse for a bit so I can export the rest of the mysql databases and web apps. I moved the Arch files apache file over to another server so they are accessible while I finish up.)
Thanks again. Look forward to working with you all while I learn Arch; I really like this distro.
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
On Sat, Apr 25, 2009 at 9:20 PM, Andrei Thorp <garoth@gmail.com> wrote:
I like this guy :)
You've shown yourself to be indeed an awesome community member. Thanks, and I hope that Arch continues to make you happy. And I agree, I always thought Arch would do well for a server if you take precautions around updates.
:)
Me too, he's even making me want to be active in the community, even though I have no time for that! I'm in the final year of my university course and involved in a lot of projects there. But, still. It's good to be able to give a hint or two when you know the answer =] Thank you, David! -- Malformed message exception
Guilherme M. Nogueira wrote:
On Sat, Apr 25, 2009 at 9:20 PM, Andrei Thorp <garoth@gmail.com> wrote:
I like this guy :)
You've shown yourself to be indeed an awesome community member. Thanks, and I hope that Arch continues to make you happy. And I agree, I always thought Arch would do well for a server if you take precautions around updates.
:)
Me too, he's even making me want to be active in the community, even though I have no time for that! I'm in the final year of my university course and involved in a lot of projects there. But, still. It's good to be able to give a hint or two when you know the answer =]
Thank you, David!
Guilherme, Thank you for the kind words. Some people play golf, some play tennis, I play Linux;-) Linux is my game of chess so to speak. Something you will never really ever know all aspects of, but something that offers you a continued challenge to learn. I don't know how old you are, but I will tell you that your time to be involved in anything never grows, you just have to make the time. Just wait until you are in your 40's with a career, a wire, 3 children under 10, dogs, cats... you'll know what I mean. That's also why you will see a majority of my posts after 11:00 pm at night ;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Yeah, it's a funny reality that there is no such thing as "not enough time" but only priorities. I guess my main problem is prioritizing lazy activities over more important, gainful ones. Something to work on. Cheers, -AT On Sun, Apr 26, 2009 at 9:34 AM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Guilherme M. Nogueira wrote:
On Sat, Apr 25, 2009 at 9:20 PM, Andrei Thorp <garoth@gmail.com> wrote:
I like this guy :)
You've shown yourself to be indeed an awesome community member. Thanks, and I hope that Arch continues to make you happy. And I agree, I always thought Arch would do well for a server if you take precautions around updates.
:)
Me too, he's even making me want to be active in the community, even though I have no time for that! I'm in the final year of my university course and involved in a lot of projects there. But, still. It's good to be able to give a hint or two when you know the answer =]
Thank you, David!
Guilherme,
Thank you for the kind words. Some people play golf, some play tennis, I play Linux;-) Linux is my game of chess so to speak. Something you will never really ever know all aspects of, but something that offers you a continued challenge to learn. I don't know how old you are, but I will tell you that your time to be involved in anything never grows, you just have to make the time.
Just wait until you are in your 40's with a career, a wire, 3 children under 10, dogs, cats... you'll know what I mean.
That's also why you will see a majority of my posts after 11:00 pm at night ;-)
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
participants (4)
-
Andrei Thorp
-
David C. Rankin
-
Dwight Schauer
-
Guilherme M. Nogueira