Page 1 of 1

Auto run

PostPosted: 07. January 2009 21:07
by andreicek
Hay all,
I use XAMPP for eyeOS to run localy. Now I am going to set up a server and I would like to use XAMPP. I need an advice how to make XAMPP and APACHE run with Windows. I tried using Start up folder and Tune Up Utilly 2009, the problem is that APACHE runs first (i selected apache_start.bat) and then XAMPP Control . Is there any option that when I run XAMPP that APACHE, FTP, MAIL, MySQL run also (but not as sevice).

TNX

Re: Auto run

PostPosted: 07. January 2009 21:16
by glitzi85
I really do not understand what you want. XAMPP is not a program you can run, it's just a bundle of different programs (Apache, MySQL ...). So please describe exactly what you want to do.

Just for your Information: If you want to start a program before a user is logged in in Windows, you MUST install this program as an service!

glitzi

Re: Auto run

PostPosted: 07. January 2009 21:50
by andreicek
Sry to be unspecified. I want to run XAMPP Control Panel with Windows and when this is done I want to have APACHE run. You said that I have to run APACHE as service to start with Windows LOG ON, will this affect my eyeOS (I wont be able to access it)?

TNX

Re: Auto run

PostPosted: 07. January 2009 23:38
by dmphotography
Open your XAMPP Contol Panel and beside Apache, MySQL, and Filezilla you will see a checkbox that has SVC out beside it.

For just your website, check Apache and MySQL. This will run it as a service, meaning it will start with Windows. This is how to make your web server available when your computer boots up automatically.

As far as the control panel goes, the easiest way is to just add a shortcut to your startup folder under the start menu.

If you chose to start Apache and MySQL as a service, the XAMPP control panel doesn't have to be opened for them to start.

I hope that helps.

Re: Auto run

PostPosted: 08. January 2009 09:38
by andreicek
TNX I will try.

Re: Auto run

PostPosted: 08. January 2009 13:15
by glitzi85
Here a little explanation:

The Control Panel is just an small application to control the single programs in XAMPP (Apache, MySQL...). If we talk about a normal User PC, then the user starts his computer, log in to Windows and then start Apache and MySQL manually. If the user logs off, then both, Apache and MySQL will be stopped automatically. On a Server normally no user is logged in. Therefore Windows has the Services. If you install a program as an Service, then the Application will start when you boot your computer. The application is running before any user can log in to the computer and will stay running if the user logs off.

As far as i understand, eyeOS is an Desktop-Application that runs inside the Windows-Desktop. How do you start eyeOS? If you want to make sure it is always accessible, then follow the steps from dmphotography and install Apache and MySQL as an service. This you should only do if you sit behind an Router or use your Firewall. If you are directly connected and are not using a firewall, everybody on the world with an internet access would be able to access XAMPP on your Computer if you do not change the configuration.

glitzi

Re: Auto run

PostPosted: 08. January 2009 13:25
by andreicek
Yes, I use a computer that using XAMPP behaves as sever. EyeOS is an PHP web desktop solution (http://www.eyeos.org) that is created to run under any sistem and be accesed thru a web server or a localhost. So I installed computer with basic things: Win XP, 120 GB HDD, 512 MB RAM and PENTIUM 4. So then I installed XAMPP, from what I use APACHE and FileZilla. And now, when I turn off my "sever" APACHE and FileZilla also truned off and with windows start they wont start. This thing with ervices solved the problem.

TNX

P.S. How do I change IP adress of FileZilla, default is 127.0.0.1, i want it to be 192.168.1.10? Is that possible?

Re: Auto run

PostPosted: 08. January 2009 14:16
by glitzi85
OK, didn't know too much about eyeOS. In your case the service installation ist fine.

andreicek wrote:P.S. How do I change IP adress of FileZilla, default is 127.0.0.1, i want it to be 192.168.1.10? Is that possible?

By default FileZilla listen on all Addresses. If you mean the Admin-Interface, then start the Admin from the server, connect to 127.0.0.1 and do this:

Edit -> Settings
Then in the left list select "Admin Interface settings". Then on the right side put * in both textboxes. Then you should be able to connect from all computers in your network to the FileZilla Admin-Interface.

glitzi

Re: Auto run

PostPosted: 08. January 2009 16:02
by dmphotography
Yeah, the connect to 127.0.0.1 is just the administration access. Unless you need to access your server remotely to change settings, then I'd recommend leaving it as is.

Filezilla is set to listen on port 21 from any IP it's within range of. You can make it only listen on one IP by going to the settings, and clicking on IP bindings, remove the * and then enter the IP you want it to only listen in on. This can be very useful if you want it to only work on a LAN and not the WAN. I use to for a VPN network so my FTP server is private and secure.

To see what I'm talking about, go to http://www.myownserver.info/index.php/step-4-additonal-settings/10-create-a-vpn-using-hamachi.html and watch the second video there.

Re: Auto run

PostPosted: 08. January 2009 16:08
by andreicek
dmphotography wrote:Filezilla is set to listen on port 21 from any IP it's within range of. You can make it only listen on one IP by going to the settings, and clicking on IP bindings, remove the * and then enter the IP you want it to only listen in on


TNX, but that isnt working for other IP in my network, just for IP address that use my computer (192.168.1.9). I want it to be 192.168.1.10