0

I am trying to install MySQL on the Red Hat Linux remote server without the internet.

Problem is : Can't use internet on the server (so cant use 'yum install ..' commands)

Solution found: To pre-download RMP packages required for the MySQL installation and use RPM command to install them respectively. (so I downloaded the Red Hat Enterprise Linux 7 / Oracle Linux 7 (x86, 64-bit), RPM Bundle (mysql-5.7.20-1.el7.x86_64.rpm-bundle.tar))

But while installing these RPMs using

rpm -Uvh mysql-community-server-5.7.20-1.el7.x86_64.rpm

I am getting this following error -

error: Failed dependencies:
        mysql-community-client(x86-64) >= 5.7.9 is needed by mysql-community-server-5.7.20-1.el7.x86_64
        mysql-community-common(x86-64) = 5.7.20-1.el7 is needed by mysql-community-server-5.7.20-1.el7.x86_64
        mariadb-server is needed by (installed) akonadi-mysql-1.9.2-4.el7.x86_64

Can anyone help me with installing these RPMs with their dependencies with the constraint of no internet on the server? Thanks.

0

You obviously need to download all listed failed depended packages but prepare to download more packages while you'd be installing them. When installing mysql-community-server, start with mysql-community-client(x86-64) and mysql-community-common(x86-64), then mariadb-server (interesting it is needed while you install mysql package, they may conflict with each other, do you need akonadi there?).
Installing manually is a pain, you have to download all the dependencies and install before your package.
Instead of rpm you can use yum with localinstall command. You can try to skip packages which later may conflict (mariadb) with --skip-broken, but do this as a last resort.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.