Page 1 of 1
LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Aug 23rd, '13, 18:35
by LaCiccia
Hi there,
I just need some guidance in choosing a tutorial.
I want to install the LAMP stack on Mageia in order to run a wordpress blog locally (on my system) and maybe some time later, upload everything to a paying web server. I found the following two links: do you think the 1st one is equivalent to the 2nd one? Can I follow the DistroGeek tutorial without fear of breaking my computer?
1)
DistroGeek2)
Mageia wiki
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Aug 23rd, '13, 21:08
by dbg
There is a meta package that will install a lamp server.
- Code: Select all
urpmi task-lamp
or use the MCC, search for task-lamp. Make sure the "view" filter (the one on the left in the MCC install software section) is set to "All" or "Meta Packages". There is also a meta package called task-lamp-extras which has...you guessed it... extra programs you may want/need. Click on the arrow next to "New Dependencies" to see what it will install.
One of those tutorials suggests that you install the server kernel. If you are just testing the lamp programs you probably do not need to do that. I've been running Apache for years with the desktop kernel without a problem. But my server is not getting hundreds of hits per second!
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Aug 24th, '13, 18:13
by jiml8
The server kernel is a stripped kernel that removes a lot of support for features that are usually associated with a desktop workstation. You should NOT install the server kernel on any dev environment, if you want to run graphics, sound, and other conveniences efficiently. It won't matter at all, having a bigger kernel.
Shouldn't even particularly slow down Apache, presuming you have adequate processor horsepower and your hard drive isn't busy doing anything other than what Apache/PHP/mysql (maria) might want.
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Aug 25th, '13, 10:01
by LaCiccia
Ok, what tutorial do most users follow to install a simple LAMP stack for personal use, such as a blog?
I suppose I don't really need a kernel server for my purpose?
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Aug 28th, '13, 17:01
by wintpe
you need to choose how you want your blog to look and,
how much coding you are willing to do.
at the end of the day the content of your blog is what matters ,
and not the code.
That is unless this is a programming/learning exercise.
my first lamp server, I wrote all the php and learned phpmysql
wrote my very own cms basicly, learned loads about php and mysql.
the second time i did it, i used joomla.
much better than my own, and easy to apply styles to.
theres also drupel.
some people now use ruby on rails, to do the same thing, or pythons django or perls catalyst.
if you decide to follow my example, then joomla, is a simple matter of installing a lamp server, and then unbundling the joomla
tar ball into a directory, setting up a mysql account, running the install script, moving the config file, and then managing the whole thing via a web gui.
you may want to add gallery2 while your at it to provide a picture gallery to go with it, install is much the same, mysql account etc.
phpmysql is also a helpful add on to a lamp server, but restrict its virtualhost in apache so it cant be accessed from outside , or lock it down with a .httaccess, or something similar.
I would also add a second layer access to the joomla administration panel, as thats a favourite for crackers.
from the outside world i would use a cheap dns provider like fasthosts, its only a fiver for 2 years.
regards peter
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Aug 28th, '13, 18:41
by LaCiccia
Thanks peter for your input.
I was thinking about WordPress as a CMS, rather than Joomla. I would like to experiment from time to time in php, css writing but that's not paramount at the beginning.
Any other suggestion for a free web hosting service? (I'm kind of hard up, at the moment) Can you please point me to any free-domain-registration web hosting service out there?
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Aug 29th, '13, 11:54
by wintpe
free no
ukreg, which is part of fasthosts is five pounds for 2 years.
you wont get much better than that.
with that you get free email forwarding , and web forwarding.
then run that php/mysql server up on your adsl line, thats what i do.
www.linuxpc.co.uk is done exactly that way.
regards peter
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Sep 7th, '13, 21:31
by zeebra
I have LAMP installed on my laptop for (programming) and viewing PHP. Simply install the package "task-lamp" found in "install and remove software" in Megeia start menu, and you are good to go. To avoid having to start everything manually after the installation, and avoid any potential issues, its easier to just reboot the computer.
When you are logged back in, type "localhost" in your browser and it should say "it works".
Third thing to do is to go to /var/www and add a "testfolder" and assign your access rights to it (chgrp "myname" "testfolder"). Then you are free to write files into that folder and can add your own index.htm and other content.
Do the programming and type localhost/testfolder in your browser to browse the html in your "testfolder".
Phpmyadmin is also included in the task-lamp package to make things a lot easier.
Then go to Joomla and Wordpress or phpbb or whatever things you want to test, download it and extract it in your testfolder and set it up, then you are good to go for those also.
PM me or ask here directly if you need help, using a webhost for testing is completely unecessary!
Good luck!
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Sep 10th, '13, 14:09
by LaCiccia
Thank you zeebra. You don't happen to know any free web hosting service with a good uptime, do you?
Re: LAMP stack on Mageia: easy-to-follow tutorial?

Posted:
Sep 10th, '13, 18:50
by zeebra
LaCiccia wrote:Thank you zeebra. You don't happen to know any free web hosting service with a good uptime, do you?
As far as I know, they all come with spam and crapware. It's best to pay for webhosting or host yourself. Make sure you get one with SSH access.
Why do you want a free webhost?