Auto run

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Auto run

Postby andreicek » 07. January 2009 21:07

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
Last edited by andreicek on 07. January 2009 21:51, edited 1 time in total.
My name is Andrei, I use XAMPP for building my own LAN NETWORK INTRANET.
andreicek
 
Posts: 16
Joined: 07. January 2009 20:59

Re: Auto run

Postby glitzi85 » 07. January 2009 21:16

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
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Auto run

Postby andreicek » 07. January 2009 21:50

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
My name is Andrei, I use XAMPP for building my own LAN NETWORK INTRANET.
andreicek
 
Posts: 16
Joined: 07. January 2009 20:59

Re: Auto run

Postby dmphotography » 07. January 2009 23:38

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.
For great video and written tutorials and guides on creating your own web server and installing things such as forums, blogs, etc., visit http://myownhomeserver.com
dmphotography
 
Posts: 191
Joined: 15. December 2008 14:25
Location: Columbus, MS
Operating System: Windows 7

Re: Auto run

Postby andreicek » 08. January 2009 09:38

TNX I will try.
My name is Andrei, I use XAMPP for building my own LAN NETWORK INTRANET.
andreicek
 
Posts: 16
Joined: 07. January 2009 20:59

Re: Auto run

Postby glitzi85 » 08. January 2009 13:15

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
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Auto run

Postby andreicek » 08. January 2009 13:25

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?
My name is Andrei, I use XAMPP for building my own LAN NETWORK INTRANET.
andreicek
 
Posts: 16
Joined: 07. January 2009 20:59

Re: Auto run

Postby glitzi85 » 08. January 2009 14:16

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
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Auto run

Postby dmphotography » 08. January 2009 16:02

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.
For great video and written tutorials and guides on creating your own web server and installing things such as forums, blogs, etc., visit http://myownhomeserver.com
dmphotography
 
Posts: 191
Joined: 15. December 2008 14:25
Location: Columbus, MS
Operating System: Windows 7

Re: Auto run

Postby andreicek » 08. January 2009 16:08

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
My name is Andrei, I use XAMPP for building my own LAN NETWORK INTRANET.
andreicek
 
Posts: 16
Joined: 07. January 2009 20:59


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 69 guests