| Linux Web Server |
So I came up with the idea I wanted to install a Web File Sharing server. Read a lot of articles, some referenced FTP servers, some referenced Web Servers, but I only found one piece of software that did exactly what I wanted it to do. I wanted a web base, customizable front end, file sharing server that didn't require anybody I wanted to share files with learn anything about FTP, or install an FTP client.Took me a file to find one, and it came in a nice, self-installing package that ran a listening service instead of running MySQL, PHP, Apache and all the other fun stuff a normal web server requires. |
| Read more... |
| Linux Web Server |
|
|
|
|
So I came up with the idea I wanted to install a Web File Sharing server. Read a lot of articles, some referenced FTP servers, some referenced Web Servers, but I only found one piece of software that did exactly what I wanted it to do. I wanted a web base, customizable front end, file sharing server that didn't require anybody I wanted to share files with learn anything about FTP, or install an FTP client.Took me a file to find one, and it came in a nice, self-installing package that ran a listening service instead of running MySQL, PHP, Apache and all the other fun stuff a normal web server requires.
So I install this Easy File-Sharing Web Server program, works great! Quick easy install, Only problem is it is rather limiting on what it can do (outside it's programmed scope) and how customizable it is before you completely break it and make it look like something that came out of the south end of a north bound Rhino. Basically, it is not a web server, just an application that looks like a web server. Period Pro's:
Con's:
My project was to try to emulate what they did, make it my own, and make it completely customizable and do anything I wanted to and have the flexibility and security of Linux to back it up (not to mention getting out of buying another XP license), and have a standard platform commonly found among web servers. The Theory has been working for years, why "fix" something that work. Talked with Mom, got the crazy idea of standing up my own LAMP server (Linux, Apache, MySql, PHP) running Joomla and use plugins to do the same kind of functionality. Wasn't asking for alot, but everybody talked FTP or Java. Hate Java, I wanted something server based, ie: PHP that didn't require the client to have Java installed, and let them just download, and let me upload. Did some research, installed some VM's, got my Fedora Core running on a VM in a couple locations and started the long grueling fight to get this working.
Folks... this was 3 weeks ago... Since then I have been through 5 re-installs, 4 distros, countless articles, had my girlfriend get mad at me due to how much time I was spending on the project, and had 10's of thousands of moments I wanted to shoot the writers of Apache for making SuExec soooo freaking difficult to understand and use. Findings: SuExec sucks, is not truly needed, server works fine in all ways with multiple tested modules as is, no additional installs. Problem being is if your installing on a distro using your package get command like yum or apt-get, they install Apache for you easy and fine, but they do NOT install or build in the SuExec mod. You have to compile Apache from source to get that add-in, not something I like doing. Below is what I did to get a fully functional web server running Joomla in Linux:
You will have to do the above for /usr/share/joomla15 as well. Your commands are only changing the files that are below the joomla15 folder, so not creating a security hole for your system.
Reason being is that the user www-data does not have rights to the /tmp folder, only root does, and you dont want to give any web access user rights to anything on the / of your drive. Also, the Apache server running on this does not keep your web root files within either of these directories, only the Joomla specific files. Make sure you keep it patched, the TurnKey Joomla install has an auto update for the OS and modules automatically built into it for daily updates. Nicest thing about Linux, you don't have to reboot unless you want to :) You will have to use Webmin (https://Server IP address:12321) to setup your firewall, easy as well. Up along the top after you login there is a section for Networking, select Linux Firewall, scroll to the bottom, select Reset Firewall, select Block all Except those needed for virtual hosting, and hit apply. Only the ports needed by your server are left open. Even has a mail server built in, but you will need to delete the firewall rules using the same Linux Firewall section for the mail server if you aren't using it. If you are not using a service/process, turn off the rule, less open ports the better, but don't lock yourself out. After all of this, everything works the way I want it to, when I want it to, and it didn't require SuExec. I hate compiling from source, I really do :) Havn't tried doing all of this on a normal Fedora Install, I got something that works, and that is good enough for me.
Pro's:
Con's:
Thanks to the guys at TurnKey for putting these packages together, makes for a lot less hair pulling and more productivity. |



