Changes

From SME Server
Jump to navigationJump to search
Line 94: Line 94:  
After the first boot, an new root (admin) password will be asked. This may be the same as you used for the initial installation of SL or you can set a new one. After setting the root password, SME Server will configure additional settings and automatically reboot
 
After the first boot, an new root (admin) password will be asked. This may be the same as you used for the initial installation of SL or you can set a new one. After setting the root password, SME Server will configure additional settings and automatically reboot
    +
 +
==== Reset MySQL root password ====
 +
SME Server uses a secure random password for the MySQL root user. A new MySQL root password has to be generated to overwrite the SL root MySQL password. How to do this is explained [[http://wiki.contribs.org/MySQL#Resetting_the_MySQL_root_password|here]]. As root issue the following commands:
 +
cd /var/service/mysqld
 +
sv d .
 +
expand-template /root/.my.cnf
 +
expand-template /var/service/mysqld/set.password
 +
/usr/libexec/mysqld --bootstrap --user=mysql --skip-grant-tables < ./set.password
 +
sv u .
    
==== Adjust yum repositories ====
 
==== Adjust yum repositories ====

Navigation menu