install.php
changeset 140 40f7fa5fd061
parent 129 0b5244001799
child 142 ca9118d9c0f2
equal deleted inserted replaced
139:070ff1509cc2 140:40f7fa5fd061
   629        and we need to have access to a MySQL server in order to continue.</p>
   629        and we need to have access to a MySQL server in order to continue.</p>
   630     <p>If you do not have access to a MySQL server, and you are using your own server, you can download MySQL for free from
   630     <p>If you do not have access to a MySQL server, and you are using your own server, you can download MySQL for free from
   631        <a href="http://www.mysql.com/">MySQL.com</a>. <b>Please note that, like Enano, MySQL is licensed under the GNU GPL.</b>
   631        <a href="http://www.mysql.com/">MySQL.com</a>. <b>Please note that, like Enano, MySQL is licensed under the GNU GPL.</b>
   632        If you need to modify MySQL and then distribute your modifications, you must either distribute them under the terms of the GPL
   632        If you need to modify MySQL and then distribute your modifications, you must either distribute them under the terms of the GPL
   633        or purchase a proprietary license.</p>
   633        or purchase a proprietary license.</p>
       
   634     <?php
       
   635     if ( file_exists('/etc/enano-is-virt-appliance') )
       
   636     {
       
   637       echo '<p><b>MySQL login information for this virtual appliance:</b><br /><br />Database hostname: localhost<br />Database login: username "enano", password: "clurichaun" (without quotes)<br />Database name: enano_www1</p>';
       
   638     }
       
   639     ?>
   634     <form name="dbinfo" action="install.php?mode=website" method="post">
   640     <form name="dbinfo" action="install.php?mode=website" method="post">
   635       <table border="0">
   641       <table border="0">
   636         <tr><td colspan="3" style="text-align: center"><h3>Database information</h3></td></tr>
   642         <tr><td colspan="3" style="text-align: center"><h3>Database information</h3></td></tr>
   637         <tr><td><b>Database hostname</b><br />This is the hostname (or sometimes the IP address) of your MySQL server. In many cases, this is "localhost".<br /><span style="color: #993300" id="e_db_host"></span></td><td><input onkeyup="verify();" name="db_host" size="30" type="text" /></td><td><img id="s_db_host" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
   643         <tr><td><b>Database hostname</b><br />This is the hostname (or sometimes the IP address) of your MySQL server. In many cases, this is "localhost".<br /><span style="color: #993300" id="e_db_host"></span></td><td><input onkeyup="verify();" name="db_host" size="30" type="text" /></td><td><img id="s_db_host" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
   638         <tr><td><b>Database name</b><br />The name of the actual database. If you don't already have a database, you can create one here, if you have the username and password of a MySQL user with administrative rights.<br /><span style="color: #993300" id="e_db_name"></span></td><td><input onkeyup="verify();" name="db_name" size="30" type="text" /></td><td><img id="s_db_name" alt="Good/bad icon" src="images/bad.gif" /></td></tr>
   644         <tr><td><b>Database name</b><br />The name of the actual database. If you don't already have a database, you can create one here, if you have the username and password of a MySQL user with administrative rights.<br /><span style="color: #993300" id="e_db_name"></span></td><td><input onkeyup="verify();" name="db_name" size="30" type="text" /></td><td><img id="s_db_name" alt="Good/bad icon" src="images/bad.gif" /></td></tr>