|This page is part of the 'build MineOS CRUX-from-the-ground-up series'. The information here is provided for comprehensiveness in documenting the steps in creating MineOS CRUX from CRUX Linux 2.7. These steps are already automated in the mainline release ISO.|
The MySQL password is not set by default (blank), and can only be set when the MySQL daemon is running (upon first boot). To set the password, execute the following command:
If you are certain you have no need for MySQL, either for websites or for your Minecraft server mods, you may remove it from the services list.
Enabling remote access/TCP-IP connectivity
Remote access/TCP-IP connectivity is disabled by default on installs <= 0.4.6--later versions can ignore this step as it has already been automated. All these actions must be done as root:
Edit the /etc/my.cnf file and comment out the line:
Edit the hosts.allow file as well to add the mysqld daemon:
mysqld: ALL SSHD: ALL
Have all localhost generated packets accepted by default in iptables:
iptables -A INPUT -i lo -j ACCEPT iptables-save > /etc/iptables-rules
You will need to restart the mysqld daemon for these changes to take effect.