
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_LAMPP_/_XAMPP_web_development_environment&amp;feed=atom&amp;action=history</id>
		<title>HOWTO: Install LAMPP / XAMPP web development environment - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_LAMPP_/_XAMPP_web_development_environment&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_LAMPP_/_XAMPP_web_development_environment&amp;action=history"/>
		<updated>2013-05-24T08:30:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_LAMPP_/_XAMPP_web_development_environment&amp;diff=10461&amp;oldid=prev</id>
		<title>Onyx at 22:32, 13 March 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Install_LAMPP_/_XAMPP_web_development_environment&amp;diff=10461&amp;oldid=prev"/>
				<updated>2011-03-13T22:32:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;XAMPP is a complete set of integrated applications for localised web development. It includes updated versions of Apache, PHP, MySQL, PHPMyAdmin, Proftpd. It's called XAMPP now because it works on Win32 and OS/X also.&lt;br /&gt;
&lt;br /&gt;
The site for download and general installation instructions is here: [http://www.apachefriends.org/en/xampp-linux.html].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
After downloading simply type in the following commands:&lt;br /&gt;
Go to a Linux shell and login as the system administrator root:&lt;br /&gt;
su&lt;br /&gt;
&lt;br /&gt;
Extract the downloaded archive file to /opt:&lt;br /&gt;
tar xvfz xampp-linux-1.7.4.tar.gz -C /opt&lt;br /&gt;
&lt;br /&gt;
Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.&lt;br /&gt;
&lt;br /&gt;
Warning 2: already installed XAMPP versions get overwritten by this command.&lt;br /&gt;
&lt;br /&gt;
That's all. XAMPP is now installed below the /opt/lampp directory.&lt;br /&gt;
&lt;br /&gt;
To start XAMPP simply call this command:&lt;br /&gt;
/opt/lampp/lampp start&lt;br /&gt;
&lt;br /&gt;
You should now see something like this on your screen:&lt;br /&gt;
&lt;br /&gt;
Starting XAMPP 1.7.4...&lt;br /&gt;
LAMPP: Starting Apache...&lt;br /&gt;
LAMPP: Starting MySQL...&lt;br /&gt;
LAMPP started.&lt;br /&gt;
&lt;br /&gt;
Ready. Apache and MySQL are running.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Now for the Sabayon / Gentoo specific instructions:&lt;br /&gt;
&lt;br /&gt;
at terminal, do:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
su&lt;br /&gt;
&lt;br /&gt;
ln -s /opt/lampp/lampp /usr/bin/lampp&lt;br /&gt;
&lt;br /&gt;
nano /etc/conf.d/local&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then add lines in there to control the startup and shutdown;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Here is where you can put anything you need to start&lt;br /&gt;
# that there is not an init script for.&lt;br /&gt;
&lt;br /&gt;
local_start() {&lt;br /&gt;
        # This is a good place to load any misc programs&lt;br /&gt;
        # on startup (use &amp;amp;&amp;gt;/dev/null to hide output)&lt;br /&gt;
        /opt/lampp/lampp start&lt;br /&gt;
        # We should always return 0&lt;br /&gt;
        return 0&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local_stop() {&lt;br /&gt;
        # This is a good place to unload any misc.&lt;br /&gt;
        # programs you started above.&lt;br /&gt;
        /opt/lampp/lampp stop&lt;br /&gt;
        # We should always return 0&lt;br /&gt;
        return 0&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here a list of missing security in XAMPP:&lt;br /&gt;
&lt;br /&gt;
The MySQL administrator (root) has no password.&lt;br /&gt;
&lt;br /&gt;
The MySQL daemon is accessible via network.&lt;br /&gt;
&lt;br /&gt;
ProFTPD uses the password &amp;quot;lampp&amp;quot; for user &amp;quot;nobody&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
PhpMyAdmin is accessible via network.&lt;br /&gt;
&lt;br /&gt;
Examples are accessible via network.&lt;br /&gt;
&lt;br /&gt;
MySQL and Apache running under the same user (nobody).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So call the lampp security:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
lampp security&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and enter passwords for your system.&lt;br /&gt;
&lt;br /&gt;
Now you can set up an FTP client like FireFTP in Firefox, or FileZilla. Add a connection and point it to localhost, with user ''nobody'', and whatever password you gave in the security mode.&lt;br /&gt;
&lt;br /&gt;
When you connect via FTP to this it is going into /opt/lampp/htdocs. So all your web pages will be started from there.&lt;/div&gt;</summary>
		<author><name>Onyx</name></author>	</entry>

	</feed>