Created
January 9, 2022 21:06
-
-
Save JaTat/4f7084a778ac1b1da74dc8b88779be00 to your computer and use it in GitHub Desktop.
ERPnext provisioning shell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# create ERP user | |
adduser erpnext --gecos "" --disabled-password | |
usermod -aG sudo erpnext | |
# Append MYSQL Conf to file | |
cat <<EOT >> /etc/mysql/my.cnf | |
[mysqld] | |
character-set-client-handshake = FALSE | |
character-set-server = utf8mb4 | |
collation-server = utf8mb4_unicode_ci | |
[mysql] | |
default-character-set = utf8mb4 | |
EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment