Configuration management for iTrust
Get this repo in order to get local packages inside.
git clone <THIS REPO>
The default tomcat 8 package is broken. I've fixed it to point to a real release.
cd choco\tomcat\
choco install .\tomcat.nuspec -y
Installing workbench seems fine:
choco install mysql.workbench -y
The default mysql package creates a new installation without telling your temporary/random root password.
This version uses initialize-insecure instead.
This will install mysql, but without root password.
cd choco\mysql\
choco install .\mysql.nuspec -y
After installing, will want to login like this and set root password.
$ mysql -u root --skip-password
ALTER USER 'root'@'localhost' IDENTIFIED BY '';
SET GLOBAL sql_mode = "";
NOTE: This will only work if you don't have any content in: C:\ProgramData\MySQL\data -- That is, you haven't tried creating a MySQL db yet. You could delete this directory, but it is not recommended (you can lose all data related to any DBs you have previously stored)
Why we have this mess:
- EXTRA CREDIT?
- Run init-file to set root password?
- Making easier to have tomcat stopped and started....