Prequisites
- Certificate from oracle
- Library Developer Studio
- Package MySQL Community/Commercial
Step Installation
- Check connection
ping 8.8.8.8
- Setup Certificate
mkdir -m 0775 /var/pkg/ssl/
cp -i pkg.oracle.com.key.pem /var/pkg/ssl/
cp -i pkg.oracle.com.certificate.pem /var/pkg/ssl/
- Install Package Library
pkg set-publisher -k /var/pkg/ssl/pkg.oracle.com.key.pem -c /var/pkg/ssl/pkg.oracle.com.certificate.pem -G '*' -g https://pkg.oracle.com/solarisstudio/release solarisstudio
pkg install --accept developerstudio-126/library/c++-libs developerstudio-126/library/c-libs developerstudio-126/library/f90-libs developerstudio-126/library/math-libs developerstudio-126/library/perflib developerstudio-126/library/studio-gccrt
- Create User & Group MySQL
cat /etc/group | grep mysql
cat /etc/passwd | grep mysql
cat /etc/group | grep 100
groupadd -g 100 mysql
useradd -d /export/home/mysql -m mysql
mkdir -p /export/home/mysql
cat /etc/passwd | grep mysql
cat /etc/group | grep mysql
cat /etc/passwd | grep mysql
- Install MySQL
pkgadd -d mysql-commercial-8.0.20-solaris11-sparc-64bit.pkg
or
pkg install mysql80-server
Note : after the installation finished, the logs show password dummy for the MySQL
- Check Service MySQL
0 Comments