LinuxMCE Forums
June 19, 2013, 02:47:49 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: using linuxmce as a  (Read 1010 times)
Govo
Veteran
***
Posts: 67


View Profile
« on: February 20, 2009, 05:16:22 pm »

Hi there . is it possible to use linux mce as a web server . i want to do  this to save on esb . rite now i have  trixbox pc ,a web server pc and storage pc

i would like to run them all under linux mce ,

could this be done

cheers
Gov
P.s all these machines are protected by linux smoothwall firewall
Logged
Dale_K
Veteran
***
Posts: 149


View Profile
« Reply #1 on: February 20, 2009, 05:39:07 pm »

I'm really a LMCE noob so I don't have any "hard data" on this.  However, if your LMCE box is like mine, it's up and down with a frequency that I would find undesirable for a web server.  Also, thinking about running any other non-LMCE service on my Core makes me feel queesy (again, no hard evidence whatsoever, just my gut feeling).

And that, I'm sure, was of absolutely no use to you.  Sad
Logged
fearingsept
Guru
****
Posts: 369



View Profile
« Reply #2 on: February 20, 2009, 05:51:35 pm »

I think it would be possible to use as a web server. I use  mine all time time as a ftp host for files I wish to access remotely from work.
Now that I have worked out my hardware issues with my core I think I may have restarted it once in about 3 or 4 months. My internet has gone down 2 times but not related to LMCE at all... basically cox broke my modem when they sent upgrades to it without my knowledge. I had to call them to find out....

... anyway.. if you are willing to work with it a little then I bet you could find a way to make it work.
Logged

Core: Broken Sad
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #3 on: February 20, 2009, 10:16:17 pm »

It already is a web server, what do you think the admin site is?! I believe plenty of other people have used this for web serving as well, and things like vdr-admin are just extensions by adding new web sites to it. Obviously, don't go at it with a chainsaw, but yes... (my core, generally is up for days or weeks at a time, and is only down for a reboot of 2 mins... certainly not unreliable)
Logged
Govo
Veteran
***
Posts: 67


View Profile
« Reply #4 on: March 02, 2009, 08:56:07 am »

how to i get into the web server to add more domains. ie if some types in www.piknclik.com it would pick up the corrected folder up?


please advise on how to add more domains or folders to  the web server on linux mce.


cheers
Govo
Logged
zug
Veteran
***
Posts: 60


View Profile WWW
« Reply #5 on: March 02, 2009, 10:32:48 pm »

you need to look in /etc/apache2/sites-available/
Create a new file called piknclik and then enter the following :

<VirtualHost *>
        ServerAdmin webmaster@localhost
        ServerName www.piknclik.com
        DocumentRoot /var/www/piknclik/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/piknclik/>
              Options Indexes FollowSymLinks MultiViews
              AllowOverride None
              Order allow,deny
              allow from all
        </Directory>
        ErrorLog /var/log/apache2/error.log
        CustomLog /var/log/apache2/access.log combined
</VirtualHost>


This assumes /var/www/piknclik is where your html files are. Change this accordingly.

Then run 'sudo a2ensite piknclik' , and then run 'sudo /etc/init.d/apache2 reload'

Job Done Smiley
Logged

Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at www.hightechpad.com.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!