LinuxMCE Forums

General => Users => Topic started by: alphapenguin on January 02, 2008, 04:31:30 pm

Title: Web server?
Post by: alphapenguin on January 02, 2008, 04:31:30 pm
Can we run a webserver, or host a homepage from the Core as well as be running linux MCE?
Title: Re: Web server?
Post by: niz23 on January 02, 2008, 04:37:22 pm
alphapenguin,

Can we run a webserver, or host a homepage from the Core as well as be running linux MCE?


You want to run another standalone webserver process?
As long as you don not use tcp port 80 or another already occupied port it should be possible.

However I see no reason why you should run another independent webserver process.
Just add your http stuff under /var/www/.

Modify httpd init files if you need special configuration such as virtual host etc.

/niz23

Title: Re: Web server?
Post by: totallymaxed on January 02, 2008, 04:38:37 pm
Can we run a webserver, or host a homepage from the Core as well as be running linux MCE?

Yes you can add your own php/html pages and open those up for external access... beware though that you then open your server for potential external attack. Someone else here may be able to give you more detail on security measures you could take.
Title: Re: Web server?
Post by: alphapenguin on January 02, 2008, 05:16:00 pm
Thanks niz and totally,
    That is what I was looking for. Mainly I just wanted to be able to serve photos to family members, so I would only be giving them the URL. I will update if I have more issues, and again, thanks for the super fast responses.

Alex/Alphapenguin
Title: Re: Web server?
Post by: totallymaxed on January 02, 2008, 05:43:34 pm
Thanks niz and totally,
    That is what I was looking for. Mainly I just wanted to be able to serve photos to family members, so I would only be giving them the URL. I will update if I have more issues, and again, thanks for the super fast responses.

Alex/Alphapenguin

Just use Web Admin -> Advanced -> Network -> Firewall Rules and put 80 in the left hand filed under 'Source Port' and click 'Add'

Then your all set !
Title: Re: Web server?
Post by: alphapenguin on January 02, 2008, 06:02:25 pm
quick question, is my only way of accessing the /var/www directory is to go to the core physically? I cant seem to find it via the network (i guess I will go to the basement to take a looky)
thanks and have a great new year!
Title: Re: Web server?
Post by: totallymaxed on January 02, 2008, 07:48:52 pm
quick question, is my only way of accessing the /var/www directory is to go to the core physically? I cant seem to find it via the network (i guess I will go to the basement to take a looky)
thanks and have a great new year!

You could ssh in or ftp in and upload files to /var/www/ but /var/www is not part of the share as standard as this would cause some dangerous security implications.
Title: Re: Web server?
Post by: alphapenguin on January 02, 2008, 09:32:53 pm
ok, i am sure I seem inept here, but I am trying to login via filezilla and gFTP. I put in the DCERouter/Core IP address (the one I would type in to get access to the webadmin).

With gFPT for the Host, I put in the IP. then the user I put in what I would normally use to login to the webadmin (login/pswd), and have it set on SSH2. It then tells me my Password is incorrect.

Am I going about this the right way?  Thanks,
Alex
Title: Re: Web server?
Post by: totallymaxed on January 02, 2008, 09:40:15 pm
ok, i am sure I seem inept here, but I am trying to login via filezilla and gFTP. I put in the DCERouter/Core IP address (the one I would type in to get access to the webadmin).

With gFPT for the Host, I put in the IP. then the user I put in what I would normally use to login to the webadmin (login/pswd), and have it set on SSH2. It then tells me my Password is incorrect.

Am I going about this the right way?  Thanks,
Alex

You should use your installation username/password not the Web Admin username/password. If you installed from the DVD then your username/password will be linuxmce/linuxmce if you installed from the CD's then it is whatever you created when you installed.
Title: Re: Web server?
Post by: alphapenguin on January 02, 2008, 10:21:59 pm
Again, I thank you and thank you again. It works, and I am on my way. I think I will add this tidbit into the Wiki, or is this something that would be too common knowledge?

last question, i figured I'd ask here first, while I peruse the web for an answer-
    - permissions: obviously the directory permissions do not allow me to change it. Is the easiest way to do this to go to the core and change it while in the Kubuntu desktop?



ok, i am sure I seem inept here, but I am trying to login via filezilla and gFTP. I put in the DCERouter/Core IP address (the one I would type in to get access to the webadmin).

With gFPT for the Host, I put in the IP. then the user I put in what I would normally use to login to the webadmin (login/pswd), and have it set on SSH2. It then tells me my Password is incorrect.

Am I going about this the right way?  Thanks,
Alex

You should use your installation username/password not the Web Admin username/password. If you installed from the DVD then your username/password will be linuxmce/linuxmce if you installed from the CD's then it is whatever you created when you installed.