You are on page 1of 2

## make default user as sudoer

## ensure you are login with admin user

$ su -
## enter password for root to login

$ visudo
## above command will open a sudo file
## make below mentioned changed in sudo file
## look for following line in sudo file and uncomment the line
%wheel

## Allows people in group wheel to run all commands


%wheel ALL=(ALL) ALL

## Same thing without a password


%wheel ALL=(ALL) NOPASSWD: ALL

##look for following line in sudo file and add the line

## Allow root to run any commands anywhere


root ALL=(ALL) ALL
admin ALL=(ALL) ALL

save the file and quit from it.

## as root user pass following command

su - admin
exit
exit
su - admin
## enter password for admin if asked
and press exit

## goto the directory where you kept all downloaded RPMs


and install all RPM with following commands

rpm -ivh mysql-commercial-server-5.7.25-1.1.el7.x86_64.rpm mysql-


commercial-libs-5.7.25-1.1.el7.x86_64.rpm mysql-commercial-libs-
compat-5.7.25-1.1.el7.x86_64.rpm mysql-commercial-common-
5.7.25-1.1.el7.x86_64.rpm mysql-commercial-devel-5.7.25-
1.1.el7.x86_64.rpm mysql-commercial-client-5.7.25-
1.1.el7.x86_64.rpm mysql-commercial-test-5.7.25-1.1.el7.x86_64.rpm

You might also like