Help Webmin
Webmin has no problem finding rpm-installed Apache and MySQL servers and will usually get those configuration files displayed correctly. It might not be so with tarball installation. So we will tell Webmin where those files are.
Let us go
Log in to Webmin at https://localhost:10000.
Select Servers page and look for Apache and MySQL server icons. Click where appropriate.
Apache2 server:
Click Module Config
Find Apache server root directory and change the content of the box to /usr/local/apache2
Find Path to httpd executables and change the content of the box to /usr/local/apache2/bin/apachectl
Leave the rest untouched.
Scroll down and look for the Save button. Click it to save the configuration.
Icons for various Apache configuration files will appear. If not, start Apache. Oh well, start it anyway. Look for Apply Changes or Start Apache and click it.
MySQL server:
Click Module Config
Go to System Configuration section
Find Path to mysqlshow command and change the content of the box to /usr/local/mysql/bin/mysqlshow
Find Path to mysqladmin command and change the content of the box to /usr/local/mysql/bin/mysqladmin
Find Path to mysql command and change the content of the box to /usr/local/mysql/bin/mysql
Find Path to mysqlimport command and change the content of the box to /usr/local/mysql/bin/mysqlimport
Find Path to mysql database directory and change the content of the box to /usr/local/mysql/data
Find mysql socket and change the content of the box to /tmp/mysql.socket
Click Save button to save.
Icons for various MySQL configuration files will appear. If not, start MySQL.
Q&A
I have done what you said but nothing happens, why?
Click Module Config and check all edited lines carefully. Usually it is just a typographic error. If the configuration files still do not show, use the whereis or locate command to get the full path and key in accordingly.
Why is PHP not configured on Webmin?
There is no need to configure PHP for Webmin. There linkage to Apache and MySQL is set during its configure stage or similar routine done by RPM in the case of rpm installation. (Refer to Installing PHP guide.)
|