Re: [gentoo-user] Getting started with a web server
On Saturday, 1 June 2024 16:01:26 BST Peter Humphrey wrote: > Hello list, > > It seems to be time again to see if I can set up a local web server*. I want > to build a site for myself, and one way is to work it up on my own machine, > then transfer it to a hosting service when it's "ready". > > The first problem I face is in choosing a server: Apache is huge and > complex, and NGINX is foreign to me, so what should I do? > > The Gentoo Apache wiki is unhelpful. It assumes that the reader is > experienced in running web servers, and just points out the way things are > done differently here. Then it occupies several pages with the entire > configuration file calling chain, every line of every file being shown; > what is the point of that? It only succeeds in sowing confusion. Well, it > does in me, anyway; I'm no wiser at the end than the beginning. > > It even trips up right at the start, showing what to set for each MPM, but > without explaining why I should choose any particular one. The wiki seems to > have been written by a programmer, not a user (this is a woefully common > shortcoming in software documents). > > In short, it's useless. > > Is there a more accessible guide anywhere? Google hasn't found anything for > me. > > * I've asked this here before, but never got anywhere with it. I did build > a 130-page site for the local choir years ago, in pure HTML and CSS, but > that experience has evaporated. I don't know if there are any more helpful guides for Apache, but Apache is a bit of a beast. If you need to dive into the nuances of its configuration, then sooner or later you'll end up spending time reading the Apache documentation. https://httpd.apache.org/docs/current/en/ For MPM in particular take a look here: https://httpd.apache.org/docs/current/en/mpm.html#defaults I suggest you do not specify an MPM. Apache will choose its own module depending on the capability of your hardware, or for a home project with low number of requests just set it as 'prefork'. However, unless setting up and managing a webserver is a sysadmin hobby you wish to get entangled in, I suggest you find a reliable hosting company and undertake both web hosting and development online. Hosting a local website for development and testing was a necessity back in the dial-up Internet days and when data download was metered by your ISP, but domestic web hosting today will cause more of a hindrance than help. You can use the CMS preferred and offered by your web hosting provider, instead of hacking HTML & CSS by hand, while trying to keep up with continuous changes in standards. I have found Wordpress is easier to set up and look after for simple websites, as long as you keep the plugins to a minimum and stick to default themes. HTH signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Getting started with a web server
Hi Peter, If you only want to build a static site (ie. just HTML, CSS, JS etc; no server-side scripting) then you don't need to install and configure something like Apache to test it out. You could just open the files you're working on straight from the disk. Or if you want to test with server you can use one of the super simple servers designed for testing. There is one built in to Python. Simply run "python -m http.server" in your project directory. You could also consider using a static site builder like Hugo or Jekyll which can build your site using templates. These have their own test servers built in. -- George On Sat, 1 Jun 2024, 16:02 Peter Humphrey, wrote: > Hello list, > > It seems to be time again to see if I can set up a local web server*. I > want > to build a site for myself, and one way is to work it up on my own > machine, > then transfer it to a hosting service when it's "ready". > > The first problem I face is in choosing a server: Apache is huge and > complex, > and NGINX is foreign to me, so what should I do? > > The Gentoo Apache wiki is unhelpful. It assumes that the reader is > experienced > in running web servers, and just points out the way things are done > differently > here. Then it occupies several pages with the entire configuration file > calling > chain, every line of every file being shown; what is the point of that? It > only > succeeds in sowing confusion. Well, it does in me, anyway; I'm no wiser at > the > end than the beginning. > > It even trips up right at the start, showing what to set for each MPM, but > without explaining why I should choose any particular one. The wiki seems > to > have been written by a programmer, not a user (this is a woefully common > shortcoming in software documents). > > In short, it's useless. > > Is there a more accessible guide anywhere? Google hasn't found anything > for > me. > > * I've asked this here before, but never got anywhere with it. I did > build a > 130-page site for the local choir years ago, in pure HTML and CSS, but > that > experience has evaporated. > > -- > Regards, > Peter. >
Re: [gentoo-user] Getting Started
Am Montag 14 Mai 2007 08:46 schrieb [EMAIL PROTECTED]: > I am new to Gentoo, and working on getting things up and going. I am > running an HP Pavilion with an Athlon 64 processor. I'll build a > desktop eventually when I have the time, but for now this is it. > > I am attempting to install the x86 version of Gentoo from the i686 > stage3 tarball, and so far have had no luck getting the ATI video > drivers to compile. (My reason for this is that I wish to be able to > run the current version of blender, which seems to have issues under > AMD64 at this time.) However, if I do a networkless install, it works > fine, but there are strange issues with upgrading. Portage has no love > for a synthesized system. :P > > Anyway, I will probably post actual error messages in the near future if > I can't figure it out myself. In the mean time, I'm wondering how many > people on the list are military or retired military living in the > pacific AOR (especially Kanto). If you want you can respond directly on > this one. ^_^ I'm not asking to fill the list with the info! Hehe. > > Also, what is the difference between the Gentoo LiveCD and the LiveDVD? > What are the advantages of the DVD? I am considering downloading it if > there is adequate benefit. > > --- > Ken. Hi Ken! As long as you've got a decent Internet connection there is no real reason for using the LiveDVD. I don't know how good the new 2007.0 is. 2006.1 was a real pain. However, if you want the system up and going really quick, it might be worth a try since you can use more precompiled packages from the DVD. Back to your ATI issue: At first, I'd like to make sure you've followed some good howtos. Just take a look to this site if there is a guide to your laptop [1]. If not, you can follow this one [2]. [1] http://tuxmobil.org/hp.html [2] http://gentoo-wiki.com/HOWTO_ATI_Drivers Regards Florian Philipp pgpp32GWOpymC.pgp Description: PGP signature
RE: [gentoo-user] Getting Started
Do you have any advice for making sure that the Xorg install is successful? Seems to always die during the compile process for the ati driver. ^^;; -Original Message- From: Vladimir Rusinov [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 4:21 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Getting Started On 5/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Also, what is the difference between the Gentoo LiveCD and the LiveDVD? What are the advantages of the DVD? I am considering downloading it if there is adequate benefit. AFAIK LiveDVD Just contains more distfiles and packages. My suggestion is not use networkless install. Keep in sync. -- Vladimir Rusinov GreenMice Solutions: IT-решения на базе Linux http://greenmice.info/
Re: [gentoo-user] Getting Started
On 5/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Also, what is the difference between the Gentoo LiveCD and the LiveDVD? What are the advantages of the DVD? I am considering downloading it if there is adequate benefit. AFAIK LiveDVD Just contains more distfiles and packages. My suggestion is not use networkless install. Keep in sync. -- Vladimir Rusinov GreenMice Solutions: IT-решения на базе Linux http://greenmice.info/
[gentoo-user] Getting Started
I am new to Gentoo, and working on getting things up and going. I am running an HP Pavilion with an Athlon 64 processor. I'll build a desktop eventually when I have the time, but for now this is it. I am attempting to install the x86 version of Gentoo from the i686 stage3 tarball, and so far have had no luck getting the ATI video drivers to compile. (My reason for this is that I wish to be able to run the current version of blender, which seems to have issues under AMD64 at this time.) However, if I do a networkless install, it works fine, but there are strange issues with upgrading. Portage has no love for a synthesized system. :P Anyway, I will probably post actual error messages in the near future if I can't figure it out myself. In the mean time, I'm wondering how many people on the list are military or retired military living in the pacific AOR (especially Kanto). If you want you can respond directly on this one. ^_^ I'm not asking to fill the list with the info! Hehe. Also, what is the difference between the Gentoo LiveCD and the LiveDVD? What are the advantages of the DVD? I am considering downloading it if there is adequate benefit. --- Ken. -- [EMAIL PROTECTED] mailing list