http://en.wiki.galaxytool.eu/api.php?action=feedcontributions&user=LUDa&feedformat=atomGalaxytool wiki - User contributions [en]2024-03-28T10:03:44ZUser contributionsMediaWiki 1.28.0http://en.wiki.galaxytool.eu/index.php?title=Local_GalaxyTool_under_Mac_OS&diff=2581Local GalaxyTool under Mac OS2008-03-25T10:54:12Z<p>LUDa: </p>
<hr />
<div>= Ex ante =<br />
<br />
== Why is this a Mac OS guide only? ==<br />
<br />
Simple answer: I'm a Mac user and don't know how to setup a web server on a PC ;)<br />
<br />
<br />
== What is a local web server? ==<br />
<br />
A web server is a computer which transmits documents to web browsers. Web servers are mainly used as WWW-service in the internet, but also in corporate networks and '''locally'''. This way, documents can be made available world wide, company-internal or locally. <br />
<br />
<br />
== Who will have access to the local Galaxytool? ==<br />
<br />
This guide will tell you how to setup a Galaxytool on a local web server. Thus only yourself and people in the same local network can access it. <br />
In principle, you can make your Galaxytool available to all your Allymates. But the software which is used in this guide is designed for local use only and unsafe if it's used in another way.<br />
<br />
<br />
= The software =<br />
<br />
Under Mac OS there is a pre-installed apache web server. But we need PHP and MySQL modules in order to make the Galaxytool work on the web server.<br />
<br />
[http://www.apachefriends.org/en/xampp-macosx.html#849 XAMPP for Mac OS X]<br />
<br />
<br />
<br />
After downloading simply run the following commands in the terminal (Programs/Utility Programs):<br />
<br />
Installation requires an admin account.<br />
# Enter „sudo su“. You will be prompted for a password.<br />
# tar xfvz xampp-macosx-0.7.2.tar.gz -C /<br />
<br />
Notice: all old installations of XAMPP for MacOS X will be overwritten! <br />
<br />
That's all. XAMPP is now installed below the /Applications/xampp directory.<br />
<br />
<br />
= Activating web-sharing =<br />
<br />
You activate web-sharing under<br />
Programs/Configuration/Sharing<br />
<br />
Simply check the box next to "Web-Sharing"<br />
<br />
= Setting up the Galaxytool =<br />
<br />
First of all, download the latest Galaxytool software<br />
[http://www.galaxytool.eu/galaxytool_4_3_2.tar.gz Version: 4.3.2 tar.gz]<br />
and extract the files to your desktop.<br />
<br />
The following steps are taken from the [http://board.ogame.org/thread.php?threadid=273337 GalaxyTool Guide], but attention, there are some major changes.<br />
<br />
Open TextEdit for this.<br />
<br />
Once TextEdit is open, you will need to open the config folder. I will assume that you saved the extracted file to the desktop.<br />
Open the Galaxy tool folder.<br />
Open config<br />
<br />
We will only be changing four things<br />
<br />
$dbusername = "databasename"; // database username<br />
$dbpassword = "userpassword"; // database password<br />
$dbname = "databasename"; // database name<br />
$dbhost = "mysql"; // host address of your mysql server<br />
<br />
--> insert:<br />
<br />
$dbusername = "root";<br />
$dbpassword = "";<br />
$dbname = "galatool";<br />
$dbhost = "localhost";<br />
<br />
<br />
Once you have made the changes save the file (Not save as).<br />
<br />
Now from TextEdit open attributes.<br />
Here is what you will need to change<br />
<br />
$owner = "youralliancenamehere";<br />
The quotes must remain<br />
<br />
$email_to = 'youremailhere'<br />
Quotes must stay<br />
<br />
$default_language = "languageyouwanthere";<br />
Quotes must remain<br />
<br />
$global_universe = 00;<br />
Put your universe number there. Keep the ;<br />
<br />
Now save this (not save as).<br />
Close TextEdit.<br />
<br />
<br />
= Assembling the Galaxytool and the web server =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/xampp/</nowiki><br />
<br />
Here go to phpMyAdmin and create a new database "galatool" (collation latin1)<br />
<br />
Now take your Galaxytool folder and move it to<br />
<br />
/Your User name/Websites<br />
<br />
<br />
= Installing the Galaxytool =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/~Username/galaxytool/secret/install.php</nowiki><br />
<br />
click "install"<br />
<br />
<br />
= It's ready! =<br />
<br />
Now your offline Galaxytool should be ready, the URL of the login screen is<br />
<br />
<nowiki>http://localhost/~Username/galaxytool</nowiki><br />
<br />
Username: admin<br />
Pw: galatool<br />
<br />
<br />
You will have to start the database every time your systems is rebooted.<br />
You start the database with the "'''XAMPP Control Panel'''" (see xampp folder), simply start all components. <br />
<br />
<br />
= Settings for the Galaxytoolbar =<br />
<br />
OgameServername: unixx.ogame.org<br />
Galaxytool URL: <nowiki>http://localhost/~Username/galaxytool/secret/galaxyplugin.php</nowiki><br />
Username: admin<br />
Password: galatool<br />
<br />
----<br />
<br />
--[[User:LUDa|LUDa]] 11:54, 25 March 2008 (CET)</div>LUDahttp://en.wiki.galaxytool.eu/index.php?title=Local_GalaxyTool_under_Mac_OS&diff=2580Local GalaxyTool under Mac OS2008-03-25T10:50:43Z<p>LUDa: /* Activating web-sharing */</p>
<hr />
<div>= Ex ante =<br />
<br />
== Why is this a Mac OS guide only? ==<br />
<br />
Simple answer: I'm a Mac user and don't know how to setup a web server on a PC ;)<br />
<br />
<br />
== What is a local web server? ==<br />
<br />
A web server is a computer which transmits documents to web browsers. Web servers are mainly used as WWW-service in the internet, but also in corporate networks and '''locally'''. This way, documents can be made available world wide, company-internal or locally. <br />
<br />
<br />
== Who will have access to the local Galaxytool? ==<br />
<br />
This guide will tell you how to setup a Galaxytool on a local web server. Thus only yourself and people in the same local network can access it. <br />
In principle, you can make your Galaxytool available to all your Allymates. But the software which is used in this guide is designed for local use only and unsafe if it's used in another way.<br />
<br />
<br />
= The software =<br />
<br />
Under Mac OS there is a pre-installed apache web server. But we need PHP and MySQL modules in order to make the Galaxytool work on the web server.<br />
<br />
[http://www.apachefriends.org/en/xampp-macosx.html#849 XAMPP for Mac OS X]<br />
<br />
<br />
<br />
After downloading simply run the following commands in the terminal (Programs/Utility Programs):<br />
<br />
Installation requires an admin account.<br />
# Enter „sudo su“. You will be prompted for a password.<br />
# tar xfvz xampp-macosx-0.7.2.tar.gz -C /<br />
<br />
Notice: all old installations of XAMPP for MacOS X will be overwritten! <br />
<br />
That's all. XAMPP is now installed below the /Applications/xampp directory.<br />
<br />
<br />
= Activating web-sharing =<br />
<br />
You activate web-sharing under<br />
Programs/Configuration/Sharing<br />
<br />
Simply check the box next to "Web-Sharing"<br />
<br />
= Setting up the Galaxytool =<br />
<br />
First of all, download the latest Galaxytool software<br />
[http://www.galaxytool.eu/galaxytool_4_3_2.tar.gz Version: 4.3.2 tar.gz]<br />
and extract the files to your desktop.<br />
<br />
The following steps are taken from the [http://board.ogame.org/thread.php?threadid=273337 GalaxyTool Guide], but attention, there are some major changes.<br />
<br />
Open TextEdit for this.<br />
<br />
Once TextEdit is open, you will need to open the config folder. I will assume that you saved the extracted file to the desktop.<br />
Open the Galaxy tool folder.<br />
Open config<br />
<br />
We will only be changing four things<br />
<br />
$dbusername = "databasename"; // database username<br />
$dbpassword = "userpassword"; // database password<br />
$dbname = "databasename"; // database name<br />
$dbhost = "mysql"; // host address of your mysql server<br />
<br />
--> insert:<br />
<br />
$dbusername = "root";<br />
$dbpassword = "";<br />
$dbname = "galatool";<br />
$dbhost = "localhost";<br />
<br />
<br />
Once you have made the changes save the file (Not save as).<br />
<br />
Now from TextEdit open attributes.<br />
Here is what you will need to change<br />
<br />
$owner = "youralliancenamehere";<br />
The quotes must remain<br />
<br />
$email_to = 'youremailhere'<br />
Quotes must stay<br />
<br />
$default_language = "languageyouwanthere";<br />
Quotes must remain<br />
<br />
$global_universe = 00;<br />
Put your universe number there. Keep the ;<br />
<br />
Now save this (not save as).<br />
Close TextEdit.<br />
<br />
<br />
= Assembling the Galaxytool and the web server =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/xampp/</nowiki><br />
<br />
Here go to phpMyAdmin and create a new database "galatool" (collation latin1)<br />
<br />
Now take your Galaxytool folder and move it to<br />
<br />
/Your User name/Websites<br />
<br />
<br />
= Installing the Galaxytool =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/~Username/galaxytool/secret/install.php</nowiki><br />
<br />
click "install"<br />
<br />
<br />
= It's ready! =<br />
<br />
Now your offline Galaxytool should be ready, the URL of the login screen is<br />
<br />
<nowiki>http://localhost/~Username/galaxytool</nowiki><br />
<br />
Username: admin<br />
Pw: galatool<br />
<br />
<br />
You will have to start the database every time your systems is rebooted.<br />
You start the database with the "'''XAMPP Control Panel'''" (see xampp folder), simply start all components. <br />
<br />
<br />
= Settings for the Galaxytoolbar =<br />
<br />
OgameServername: unixx.ogame.org<br />
Galaxytool URL: <nowiki>http://localhost/~Username/galaxytool/secret/galaxyplugin.php</nowiki><br />
Username: admin<br />
Password: galatool</div>LUDahttp://en.wiki.galaxytool.eu/index.php?title=Local_GalaxyTool_under_Mac_OS&diff=2579Local GalaxyTool under Mac OS2008-03-25T01:33:52Z<p>LUDa: </p>
<hr />
<div>= Ex ante =<br />
<br />
== Why is this a Mac OS guide only? ==<br />
<br />
Simple answer: I'm a Mac user and don't know how to setup a web server on a PC ;)<br />
<br />
<br />
== What is a local web server? ==<br />
<br />
A web server is a computer which transmits documents to web browsers. Web servers are mainly used as WWW-service in the internet, but also in corporate networks and '''locally'''. This way, documents can be made available world wide, company-internal or locally. <br />
<br />
<br />
== Who will have access to the local Galaxytool? ==<br />
<br />
This guide will tell you how to setup a Galaxytool on a local web server. Thus only yourself and people in the same local network can access it. <br />
In principle, you can make your Galaxytool available to all your Allymates. But the software which is used in this guide is designed for local use only and unsafe if it's used in another way.<br />
<br />
<br />
= The software =<br />
<br />
Under Mac OS there is a pre-installed apache web server. But we need PHP and MySQL modules in order to make the Galaxytool work on the web server.<br />
<br />
[http://www.apachefriends.org/en/xampp-macosx.html#849 XAMPP for Mac OS X]<br />
<br />
<br />
<br />
After downloading simply run the following commands in the terminal (Programs/Utility Programs):<br />
<br />
Installation requires an admin account.<br />
# Enter „sudo su“. You will be prompted for a password.<br />
# tar xfvz xampp-macosx-0.7.2.tar.gz -C /<br />
<br />
Notice: all old installations of XAMPP for MacOS X will be overwritten! <br />
<br />
That's all. XAMPP is now installed below the /Applications/xampp directory.<br />
<br />
<br />
= Activating web-sharing =<br />
<br />
Activating web-sharing is only necessary if you want other people in your network to have access to your Galaxytool, or if you want to login from another computer (works with Windows PCs btw. ;) ) in your network.<br />
<br />
You activate web-sharing under<br />
Programs/Configuration/Sharing<br />
<br />
Simply check the box next to "Web-Sharing"<br />
<br />
<br />
= Setting up the Galaxytool =<br />
<br />
First of all, download the latest Galaxytool software<br />
[http://www.galaxytool.eu/galaxytool_4_3_2.tar.gz Version: 4.3.2 tar.gz]<br />
and extract the files to your desktop.<br />
<br />
The following steps are taken from the [http://board.ogame.org/thread.php?threadid=273337 GalaxyTool Guide], but attention, there are some major changes.<br />
<br />
Open TextEdit for this.<br />
<br />
Once TextEdit is open, you will need to open the config folder. I will assume that you saved the extracted file to the desktop.<br />
Open the Galaxy tool folder.<br />
Open config<br />
<br />
We will only be changing four things<br />
<br />
$dbusername = "databasename"; // database username<br />
$dbpassword = "userpassword"; // database password<br />
$dbname = "databasename"; // database name<br />
$dbhost = "mysql"; // host address of your mysql server<br />
<br />
--> insert:<br />
<br />
$dbusername = "root";<br />
$dbpassword = "";<br />
$dbname = "galatool";<br />
$dbhost = "localhost";<br />
<br />
<br />
Once you have made the changes save the file (Not save as).<br />
<br />
Now from TextEdit open attributes.<br />
Here is what you will need to change<br />
<br />
$owner = "youralliancenamehere";<br />
The quotes must remain<br />
<br />
$email_to = 'youremailhere'<br />
Quotes must stay<br />
<br />
$default_language = "languageyouwanthere";<br />
Quotes must remain<br />
<br />
$global_universe = 00;<br />
Put your universe number there. Keep the ;<br />
<br />
Now save this (not save as).<br />
Close TextEdit.<br />
<br />
<br />
= Assembling the Galaxytool and the web server =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/xampp/</nowiki><br />
<br />
Here go to phpMyAdmin and create a new database "galatool" (collation latin1)<br />
<br />
Now take your Galaxytool folder and move it to<br />
<br />
/Your User name/Websites<br />
<br />
<br />
= Installing the Galaxytool =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/~Username/galaxytool/secret/install.php</nowiki><br />
<br />
click "install"<br />
<br />
<br />
= It's ready! =<br />
<br />
Now your offline Galaxytool should be ready, the URL of the login screen is<br />
<br />
<nowiki>http://localhost/~Username/galaxytool</nowiki><br />
<br />
Username: admin<br />
Pw: galatool<br />
<br />
<br />
You will have to start the database every time your systems is rebooted.<br />
You start the database with the "'''XAMPP Control Panel'''" (see xampp folder), simply start all components. <br />
<br />
<br />
= Settings for the Galaxytoolbar =<br />
<br />
OgameServername: unixx.ogame.org<br />
Galaxytool URL: <nowiki>http://localhost/~Username/galaxytool/secret/galaxyplugin.php</nowiki><br />
Username: admin<br />
Password: galatool</div>LUDahttp://en.wiki.galaxytool.eu/index.php?title=Local_GalaxyTool_under_Mac_OS&diff=2578Local GalaxyTool under Mac OS2008-03-25T01:11:28Z<p>LUDa: </p>
<hr />
<div>= Ex ante =<br />
<br />
== Why is this a Mac OS guide only? ==<br />
<br />
Simple answer: I'm a Mac user and don't know how to setup a web server on a PC ;)<br />
<br />
<br />
== What is a local web server? ==<br />
<br />
A web server is a computer which transmits documents to web browsers. Web servers are mainly used as WWW-service in the internet, but also in corporate networks and '''locally'''. This way, documents can be made available world wide, company-internal or locally. <br />
<br />
<br />
== Who will have access to the local Galaxytool? ==<br />
<br />
This guide will tell you how to setup a Galaxytool on a local web server. Thus only yourself and people in the same local network can access it. <br />
In principle, you can make your Galaxytool available to all your Allymates. But the software which is used in this guide is designed for local use only and unsafe if it's used in another way.<br />
<br />
<br />
= The software =<br />
<br />
Under Mac OS there is a pre-installed apache web server. But we need PHP and MySQL modules in order to make the Galaxytool work on the web server.<br />
<br />
[http://www.apachefriends.org/en/xampp-macosx.html#849 XAMPP for Mac OS X]<br />
<br />
<br />
<br />
After downloading simply run the following commands in the terminal (Programs/Utility Programs):<br />
<br />
Installation requires an admin account.<br />
# Enter „sudo su“. You will be prompted for a password.<br />
# tar xfvz xampp-macosx-0.7.2.tar.gz -C /<br />
<br />
Notice: all old installations of XAMPP for MacOS X will be overwritten! <br />
<br />
That's all. XAMPP is now installed below the /Applications/xampp directory.<br />
<br />
<br />
= Activating the web server =<br />
<br />
You activate your web server under<br />
Programs/Configuration/Sharing<br />
<br />
Simply check the box next to "Web-Sharing"<br />
<br />
<br />
= Setting up the Galaxytool =<br />
<br />
First of all, download the latest Galaxytool software<br />
[http://www.galaxytool.eu/galaxytool_4_3_2.tar.gz Version: 4.3.2 tar.gz]<br />
and extract the files to your desktop.<br />
<br />
The following steps are taken from the [http://board.ogame.org/thread.php?threadid=273337 GalaxyTool Guide], but attention, there are some major changes.<br />
<br />
Open TextEdit for this.<br />
<br />
Once TextEdit is open, you will need to open the config folder. I will assume that you saved the extracted file to the desktop.<br />
Open the Galaxy tool folder.<br />
Open config<br />
<br />
We will only be changing four things<br />
<br />
$dbusername = "databasename"; // database username<br />
$dbpassword = "userpassword"; // database password<br />
$dbname = "databasename"; // database name<br />
$dbhost = "mysql"; // host address of your mysql server<br />
<br />
--> insert:<br />
<br />
$dbusername = "root";<br />
$dbpassword = "";<br />
$dbname = "galatool";<br />
$dbhost = "localhost";<br />
<br />
<br />
Once you have made the changes save the file (Not save as).<br />
<br />
Now from TextEdit open attributes.<br />
Here is what you will need to change<br />
<br />
$owner = "youralliancenamehere";<br />
The quotes must remain<br />
<br />
$email_to = 'youremailhere'<br />
Quotes must stay<br />
<br />
$default_language = "languageyouwanthere";<br />
Quotes must remain<br />
<br />
$global_universe = 00;<br />
Put your universe number there. Keep the ;<br />
<br />
Now save this (not save as).<br />
Close TextEdit.<br />
<br />
<br />
= Assembling the Galaxytool and the web server =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/xampp/</nowiki><br />
<br />
Here go to phpMyAdmin and create a new database "galatool" (collation latin1)<br />
<br />
Now take your Galaxytool folder and move it to<br />
<br />
/Your User name/Websites<br />
<br />
<br />
= Installing the Galaxytool =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/~Username/galaxytool/secret/install.php</nowiki><br />
<br />
click "install"<br />
<br />
<br />
= It's ready! =<br />
<br />
Now your offline Galaxytool should be ready, the URL of the login screen is<br />
<br />
<nowiki>http://localhost/~Username/galaxytool</nowiki><br />
<br />
Username: admin<br />
Pw: galatool<br />
<br />
<br />
You will have to start the database every time your systems is rebooted.<br />
You start the database with the "'''XAMPP Control Panel'''" (see xampp folder), simply start all components. <br />
<br />
<br />
= Settings for the Galaxytoolbar =<br />
<br />
OgameServername: unixx.ogame.org<br />
Galaxytool URL: <nowiki>http://localhost/~Username/galaxytool/secret/galaxyplugin.php</nowiki><br />
Username: admin<br />
Password: galatool</div>LUDahttp://en.wiki.galaxytool.eu/index.php?title=Local_GalaxyTool_under_Mac_OS&diff=2576Local GalaxyTool under Mac OS2008-03-25T01:07:33Z<p>LUDa: User:LUDa moved to Local GalaxyTool under Mac OS</p>
<hr />
<div>= Ex ante =<br />
<br />
== Why is this a Mac OS guide only? ==<br />
<br />
Simple answer: I'm a Mac user and don't know how to setup a web server on a PC ;)<br />
<br />
<br />
== What is a local web server? ==<br />
<br />
A web server is a computer which transmits documents to web browsers. Web servers are mainly used as WWW-service in the internet, but also in corporate networks and '''locally'''. This way, documents can be made available world wide, company-internal or locally. <br />
<br />
<br />
== Who will have access to the local Galaxytool? ==<br />
<br />
This guide will tell you how to setup a Galaxytool on a local web server. Thus only yourself and people in the same local network can access it. <br />
In principle, you can make your Galaxytool available to all your Allymates. But the software which is used in this guide is designed for local use only and unsafe if it's used in another way.<br />
<br />
<br />
= The software =<br />
<br />
Under Mac OS there is a pre-installed apache web server. But we need PHP and MySQL modules in order to make the Galaxytool work on the web server.<br />
<br />
[http://www.apachefriends.org/en/xampp-macosx.html#849 XAMPP for Mac OS X]<br />
<br />
<br />
= Installing XAMPP =<br />
<br />
After downloading simply run the following commands in the terminal (Programs/Utility Programs):<br />
<br />
Installation requires an admin account.<br />
# Enter „sudo su“. You will be prompted for a password.<br />
# tar xfvz xampp-macosx-0.7.2.tar.gz -C /<br />
<br />
Notice: all old installations of XAMPP for MacOS X will be overwritten! <br />
<br />
That's all. XAMPP is now installed below the /Applications/xampp directory.<br />
<br />
<br />
= Activating the web server =<br />
<br />
You activate your web server under<br />
Programs/Configuration/Sharing<br />
<br />
Simply check the box next to "Web-Sharing"<br />
<br />
<br />
= Setting up the Galaxytool =<br />
<br />
First of all, download the latest Galaxytool software<br />
[http://www.galaxytool.eu/galaxytool_4_3_2.tar.gz Version: 4.3.2 tar.gz]<br />
and extract the files to your desktop.<br />
<br />
The following steps are taken from the [http://board.ogame.org/thread.php?threadid=273337 GalaxyTool Guide], but attention, there are some major changes.<br />
<br />
Open TextEdit for this.<br />
<br />
Once TextEdit is open, you will need to open the config folder. I will assume that you saved the extracted file to the desktop.<br />
Open the Galaxy tool folder.<br />
Open config<br />
<br />
We will only be changing four things<br />
<br />
$dbusername = "databasename"; // database username<br />
$dbpassword = "userpassword"; // database password<br />
$dbname = "databasename"; // database name<br />
$dbhost = "mysql"; // host address of your mysql server<br />
<br />
--> insert:<br />
<br />
$dbusername = "root";<br />
$dbpassword = "";<br />
$dbname = "galatool";<br />
$dbhost = "localhost";<br />
<br />
<br />
Once you have made the changes save the file (Not save as).<br />
<br />
Now from TextEdit open attributes.<br />
Here is what you will need to change<br />
<br />
$owner = "youralliancenamehere";<br />
The quotes must remain<br />
<br />
$email_to = 'youremailhere'<br />
Quotes must stay<br />
<br />
$default_language = "languageyouwanthere";<br />
Quotes must remain<br />
<br />
$global_universe = 00;<br />
Put your universe number there. Keep the ;<br />
<br />
Now save this (not save as).<br />
Close TextEdit.<br />
<br />
<br />
= Assembling the Galaxytool and the web server =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/xampp/</nowiki><br />
<br />
Here go to phpMyAdmin and create a new database "galatool" (collation latin1)<br />
<br />
Now take your Galaxytool folder and move it to<br />
<br />
/Your User name/Websites<br />
<br />
<br />
= Installing the Galaxytool =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/~Username/galaxytool/secret/install.php</nowiki><br />
<br />
click "install"<br />
<br />
<br />
= It's ready! =<br />
<br />
Now your offline Galaxytool should be ready, the URL of the login screen is<br />
<br />
<nowiki>http://localhost/~Username/galaxytool</nowiki><br />
<br />
Username: admin<br />
Pw: galatool<br />
<br />
<br />
= Settings for the Galaxytoolbar =<br />
<br />
OgameServername: unixx.ogame.org<br />
Galaxytool URL: <nowiki>http://localhost/~Username/galaxytool/secret/galaxyplugin.php</nowiki><br />
Username: admin<br />
Password: galatool</div>LUDahttp://en.wiki.galaxytool.eu/index.php?title=Local_GalaxyTool_under_Mac_OS&diff=2575Local GalaxyTool under Mac OS2008-03-25T01:03:45Z<p>LUDa: Local GalaxyTool under Mac OS</p>
<hr />
<div>= Ex ante =<br />
<br />
== Why is this a Mac OS guide only? ==<br />
<br />
Simple answer: I'm a Mac user and don't know how to setup a web server on a PC ;)<br />
<br />
<br />
== What is a local web server? ==<br />
<br />
A web server is a computer which transmits documents to web browsers. Web servers are mainly used as WWW-service in the internet, but also in corporate networks and '''locally'''. This way, documents can be made available world wide, company-internal or locally. <br />
<br />
<br />
== Who will have access to the local Galaxytool? ==<br />
<br />
This guide will tell you how to setup a Galaxytool on a local web server. Thus only yourself and people in the same local network can access it. <br />
In principle, you can make your Galaxytool available to all your Allymates. But the software which is used in this guide is designed for local use only and unsafe if it's used in another way.<br />
<br />
<br />
= The software =<br />
<br />
Under Mac OS there is a pre-installed apache web server. But we need PHP and MySQL modules in order to make the Galaxytool work on the web server.<br />
<br />
[http://www.apachefriends.org/en/xampp-macosx.html#849 XAMPP for Mac OS X]<br />
<br />
<br />
= Installing XAMPP =<br />
<br />
After downloading simply run the following commands in the terminal (Programs/Utility Programs):<br />
<br />
Installation requires an admin account.<br />
# Enter „sudo su“. You will be prompted for a password.<br />
# tar xfvz xampp-macosx-0.7.2.tar.gz -C /<br />
<br />
Notice: all old installations of XAMPP for MacOS X will be overwritten! <br />
<br />
That's all. XAMPP is now installed below the /Applications/xampp directory.<br />
<br />
<br />
= Activating the web server =<br />
<br />
You activate your web server under<br />
Programs/Configuration/Sharing<br />
<br />
Simply check the box next to "Web-Sharing"<br />
<br />
<br />
= Setting up the Galaxytool =<br />
<br />
First of all, download the latest Galaxytool software<br />
[http://www.galaxytool.eu/galaxytool_4_3_2.tar.gz Version: 4.3.2 tar.gz]<br />
and extract the files to your desktop.<br />
<br />
The following steps are taken from the [http://board.ogame.org/thread.php?threadid=273337 GalaxyTool Guide], but attention, there are some major changes.<br />
<br />
Open TextEdit for this.<br />
<br />
Once TextEdit is open, you will need to open the config folder. I will assume that you saved the extracted file to the desktop.<br />
Open the Galaxy tool folder.<br />
Open config<br />
<br />
We will only be changing four things<br />
<br />
$dbusername = "databasename"; // database username<br />
$dbpassword = "userpassword"; // database password<br />
$dbname = "databasename"; // database name<br />
$dbhost = "mysql"; // host address of your mysql server<br />
<br />
--> insert:<br />
<br />
$dbusername = "root";<br />
$dbpassword = "";<br />
$dbname = "galatool";<br />
$dbhost = "localhost";<br />
<br />
<br />
Once you have made the changes save the file (Not save as).<br />
<br />
Now from TextEdit open attributes.<br />
Here is what you will need to change<br />
<br />
$owner = "youralliancenamehere";<br />
The quotes must remain<br />
<br />
$email_to = 'youremailhere'<br />
Quotes must stay<br />
<br />
$default_language = "languageyouwanthere";<br />
Quotes must remain<br />
<br />
$global_universe = 00;<br />
Put your universe number there. Keep the ;<br />
<br />
Now save this (not save as).<br />
Close TextEdit.<br />
<br />
<br />
= Assembling the Galaxytool and the web server =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/xampp/</nowiki><br />
<br />
Here go to phpMyAdmin and create a new database "galatool" (collation latin1)<br />
<br />
Now take your Galaxytool folder and move it to<br />
<br />
/Your User name/Websites<br />
<br />
<br />
= Installing the Galaxytool =<br />
<br />
Open your browser and visit<br />
<br />
<nowiki>http://localhost/~Username/galaxytool/secret/install.php</nowiki><br />
<br />
click "install"<br />
<br />
<br />
= It's ready! =<br />
<br />
Now your offline Galaxytool should be ready, the URL of the login screen is<br />
<br />
<nowiki>http://localhost/~Username/galaxytool</nowiki><br />
<br />
Username: admin<br />
Pw: galatool<br />
<br />
<br />
= Settings for the Galaxytoolbar =<br />
<br />
OgameServername: unixx.ogame.org<br />
Galaxytool URL: <nowiki>http://localhost/~Username/galaxytool/secret/galaxyplugin.php</nowiki><br />
Username: admin<br />
Password: galatool</div>LUDa