<br>
Thanks for the feedback<br>
<br>
User Iam<br>
<br><br><div><span class="gmail_quote">On 12/12/06, <b class="gmail_sendername">maman durahman</b> <<a href="mailto:durahman@gmail.com">durahman@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There is a lot of way to lear mysql. May be ( i have not try it yet)<br>an easiest way to install is XAMPP. With this you have mysql, apache,<br>php in one package. Phpmyadminn too, i think.<br><br>With xampp you need not to install a think. Just download xampp,
<br>extract to a folder, and start.<br><br>Here is a complete writing about it, I found it from ubuntu forum and others;<br><br>HOWTO: Setup easy web development environment (XAMPP)<br>This is a how-to for setting up a web development environment easily.
<br>This guide will install the XAMPP lampp stack into /opt, setup an easy<br>way to start it up and shut it down, and link a folder in your home<br>directory to the webserver.<br><br>WARNING<br>This guide is aimed at a development environment only and should not
<br>be used as a public webserver. To setup a public webserver follow the<br>directions on the Ubuntu wiki<br><a href="https://help.ubuntu.com/community/ApacheMySQLPHP">https://help.ubuntu.com/community/ApacheMySQLPHP</a>
<br><br>As this is Ubuntu, all the major parts of a typical web server are<br>included (in the main repo, or on the Ubuntu Server CD) and this is a<br>great way to setup a server. The ubuntu developers have prepared a<br>
great web server and have made the process as seemless as possible.<br><br>But what if even the official way is still to complicated? What if you<br>just want a quick web server for development?<br><br>Fortunately there is the XAMPP project:
<br><a href="http://www.apachefriends.org/en/xampp.html">http://www.apachefriends.org/en/xampp.html</a>. The XAMPP project bundles<br>Apache, PHP4 & 5, Perl, mySQL, and a bunch of other<br>utilities/applications into an simple package for Mac OSX, Windows,
<br>Solaris, and Linux. Obviously this HOWTO only deals with the linux<br>version.<br><br>For those of you with already existing Apache/mySQL/php installations<br>it installs everything into /opt so it doesn't conflict with any other
<br>installation, and it is completely setup and ready to run.<br><br>Install XAMPP<br><br>Two easy steps:<br><br> 1. Download the most recent version of XAMPP: (at time of writing 1.5.3a)<br> <a href="http://prdownloads.sourceforge.net/x...ar.gz?download">
http://prdownloads.sourceforge.net/x...ar.gz?download</a><br> (Source URL: <a href="http://www.apachefriends.org/en/xampp-linux.html#374">http://www.apachefriends.org/en/xampp-linux.html#374</a>)<br> 2. Extract the archive to /opt using sudo: (make sure you are in
<br>the directory that you downloaded the archive to)<br> Code:<br><br> sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt<br><br><br>Start XAMPP<br><br>To start it up, open a terminal and type this:<br>Code:<br><br>
sudo /opt/lampp/lampp start<br><br>Stop XAMPP<br><br>To stop it, open a terminal and type this:<br>Code:<br><br>sudo /opt/lampp/lampp stop<br><br>Additional XAMPP commands<br><br>To see additional commands, open a terminal and type this:
<br>Code:<br><br>sudo /opt/lampp/lampp<br><br>Sweet XAMPP Control Panel<br><br><br><br>To use the sweet gtk/python control panel:<br><br>Run in a terminal:<br>Code:<br><br>gedit ~/.local/share/applications/xampp-control-panel.desktop
<br><br>Paste the following into the open file and save and exit.<br>Code:<br><br>[Desktop Entry] Comment=Start/Stop XAMPP Name=XAMPP Control Panel<br>Exec=gksudo "python<br>/opt/lampp/share/xampp-control-panel/xampp-
control-panel.py"<br>Icon[en_CA]=/usr/share/icons/Tango/scalable/devices/network-wired.svg<br>Encoding=UTF-8 Terminal=false Name[en_CA]=XAMPP Control Panel<br>Comment[en_CA]=Start/Stop XAMPP Type=Application<br>Icon=/usr/share/icons/Tango/scalable/devices/network-
wired.svg<br><br>"XAMPP Control Panel" will show up in your applications menu under<br>Internet. Use the Alacarte Menu Editor to move it around.<br><br>Test to see if XAMPP is running<br><br>Once XAMPP is up and running open firefox and go to:
<a href="http://localhost/">http://localhost/</a><br><br>You should see the XAMPP test page:<br><br><br><br>Location of files and uploading<br><br>XAMPP by default uses /opt/lampp/htdocs as the root web directory. The<br>
easiest way to start working on files is to link a folder in your home<br>directory into this directory.<br>My user name is peter so I have /home/peter/public_html linked to<br>/opt/lampp/htdocs/peter. So if I navigate to
<a href="http://localhost/peter/">http://localhost/peter/</a> I<br>get a listing of all the files/folders in that directory. (As long is<br>there isn't a index.php/html/etc file)<br>To set this up, run in a terminal:<br><br>
1. Make public_html directory in home directory:<br> Code:<br><br> mkdir ~/public_html<br><br> 2. Link to /opt/lampp/htdocs<br> Code:<br><br> sudo ln -s ~/public_html /opt/lampp/htdocs/$USER<br><br>
Now any files and folders you place in ~/public_html will be published<br>to your personal webserver.<br><br>Bookmark <a href="http://localhost/username">http://localhost/username</a> to make this easy to access.<br><br>WARNING - SECURITY
<br><a href="http://www.apachefriends.org/en/xampp-linux.html#381">http://www.apachefriends.org/en/xampp-linux.html#381</a><br>Open holes:<br><br> 1. The MySQL administrator (root) has no password.<br> 2. The MySQL daemon is accessible via network.
<br> 3. ProFTPD uses the password "lampp" for user "nobody".<br> 4. PhpMyAdmin is accessible via network.<br> 5. Examples are accessible via network.<br> 6. MySQL and Apache running under the same user (nobody).
<br><br>This doesn't leave your whole system wide open, but someone could hack<br>your XAMPP installation, so be wary.<br>To fix most of the security weaknesses open a terminal and run:<br>Code:<br><br>sudo /opt/lampp/lampp security
<br><br>START AND STOP PARAMETERS<br>Parameter Description<br>start Starts XAMPP.<br>stop Stops XAMPP.<br>restart Stops and starts XAMPP.<br>startapache Starts only the Apache.<br>startssl Starts the Apache SSL support. This command activates the
<br>SSL support permanently, e.g. if you restarts XAMPP in the future SSL<br>will stay activated.<br>startmysql Starts only the MySQL database.<br>startftp Starts the ProFTPD server. Via FTP you can upload files for
<br>your web server (user "nobody", password "lampp"). This command<br>activates the ProFTPD permanently, e.g. if you restarts XAMPP in the<br>future FTP will stay activated.<br>stopapache Stops the Apache.
<br>stopssl Stops the Apache SSL support. This command deactivates the<br>SSL support permanently, e.g. if you restarts XAMPP in the future SSL<br>will stay deactivated.<br>stopmysql Stops the MySQL database.
<br>stopftp Stops the ProFTPD server. This command deactivates the<br>ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will<br>stay deactivated.<br>security Starts a small security check programm.
<br>For example: To start Apache with SSL support simply type in the<br>following command (as root):<br><br>/opt/lampp/lampp startssl<br><br>You can also access your Apache server via SSL under <a href="https://localhost">
https://localhost</a>.<br>* What is where?<br>What is where? A big question of our existens, here are some answers! ;)<br>IMPORTANT FILES AND DIRECTORIES<br>File/Directory Purpose<br>/opt/lampp/bin/ The XAMPP commands home. /opt/lampp/bin/mysql calls
<br>for example the MySQL monitor.<br>/opt/lampp/htdocs/ The Apache DocumentRoot directory.<br>/opt/lampp/etc/httpd.conf The Apache configuration file.<br>/opt/lampp/etc/my.cnf The MySQL configuration file.<br>
/opt/lampp/etc/php.ini The PHP configuration file.<br>/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since 0.9.5)<br>/opt/lampp/phpmyadmin/config.inc.php The phpMyAdmin configuration file.<br>* Stopping XAMPP
<br>To stop XAMPP simply call this command:<br><br>/opt/lampp/lampp stop<br><br>You should now see:<br><br>Stopping LAMPP 1.5.5a...<br>LAMPP: Stopping Apache...<br>LAMPP: Stopping MySQL...<br>LAMPP stopped.<br><br>And XAMPP for Linux is stopped.
<br>* Uninstall<br>To uninstall XAMPP just type in this command:<br><br>rm -rf /opt/lampp<br><br>The end.<br><br>On 13/12/06, User Iam <<a href="mailto:vramnum10@gmail.com">vramnum10@gmail.com</a>> wrote:<br>> Hi
<br>><br>> I want to learn MySQL<br>><br>><br>> Did an apt-cache search MySQL<br>><br>> There is a lot of stuff there!!!!!!<br>><br>> What is the best min install...<br>><br><br>--<br>Wasalam,
<br>Durahman<br>=====================<br><a href="http://durahman.wordpress.com/">http://durahman.wordpress.com/</a><br><a href="https://durahman.wordpress.com">https://durahman.wordpress.com</a><br><br>--<br>ubuntu-users mailing list
<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
</a><br></blockquote></div><br>