MySQL database server, installing
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
(port from linkstationwiki.org) |
|||
| (5 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Template:Articles}} | ||
1. First let's install MySQL. Use the command: | 1. First let's install MySQL. Use the command: | ||
| Line 7: | Line 8: | ||
<font color=red>apt-get install php4-mysql libapache-mod-auth-mysql </font> | <font color=red>apt-get install php4-mysql libapache-mod-auth-mysql </font> | ||
| - | 3. Copy over the base small | + | 3. Copy over the base small server configuration (for systems with <= 64MB of RAM): |
| - | <font color=red>cp /usr/share/doc/mysql-server/examples/my-small.cnf /etc/mysql/my.cnf </font> | + | <font color=red>cp /usr/share/doc/mysql-server-5.0/examples/my-small.cnf /etc/mysql/my.cnf </font> |
4. Configure MySQL through Webmin (see [[Articles/DebianWebmin]]). | 4. Configure MySQL through Webmin (see [[Articles/DebianWebmin]]). | ||
| + | |||
| + | [[Category:Debian]] | ||
| + | |||
| + | <center><font color=red>''Originally by frontalot from linkstationwiki.org''</font></center> | ||
Latest revision as of 18:26, 30 January 2007
1. First let's install MySQL. Use the command:
apt-get install mysql-server
2. If you wish to use MySQL with PHP or Apache (most people do), then you should install these packages too:
apt-get install php4-mysql libapache-mod-auth-mysql
3. Copy over the base small server configuration (for systems with <= 64MB of RAM):
cp /usr/share/doc/mysql-server-5.0/examples/my-small.cnf /etc/mysql/my.cnf
4. Configure MySQL through Webmin (see Articles/DebianWebmin).

