Serving

Jun. 14th, 2004 01:03 pm
lostcarpark: (Lego Spaceman)
[personal profile] lostcarpark
I've been having fun setting up a Linux server, which will hopefully be able to run some of my websites. This will mean I won't have to pay for hosting as well as broadband, and it will allow me to run email filtering I can't with my current host.

I'd already set up Linux once, but it's a fairly old box, and when I left the graphical components enabled it ran like treacle.

The wonderful [livejournal.com profile] lproven gave me a new version of Suse, so I decided to do a complete reinstall. Because the PC doesn't know how to boot from CD I first had to make boot disks, but once I got past those the install ran fairly smoothly. I turned off all the KDE and Gnome options, sticking to a fairly simple install with Apache, PHP and MySQL. It plucked components off four of the five CDs, then after a reboot it was up and running. I had to do a little persuading to get it to talk to the network card, then I was able to run the automatic update to download the latest patches from the web.

I then set about getting it serving web pages. Apache and PHP didn't give any major problems, though at the moment I have to start them manually (I'm sure there's an easy way to make them autostart, so no worries there). MySQL is a different story. When I try to start it, it tells me that it won't start as root, and if really want to do it read the manual. Apparently it's supposed to run as a user called "mysql", but I can't seem to "su" to become this user. I'm sure when I read up a little more, I'll figure out why it's not autostarting and how to get it to work.

I've set up a few (non-databasey) webpages, and they're working from within my local network, and hopefully when the guy from my ISP gets back to me with a fixed IP address this afternoon, they will work from the web too.

I'll do a bit more testing to make sure I'm happy with the security before I tell anyone how to access it, though.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

January 2016

S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627 282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 1st, 2026 07:14 pm
Powered by Dreamwidth Studios