Centos Yum Install No Package Available
When I enter the command yum install vsftpd I get the following. Unable to install vsftpd on centos 6. No package mod_fastcgi available on centos 6.8.
For some reason it can be impossible to install the EPEL repository using yum. This can happen if, for example, the CentOS Extras repository is disabled. In such situation yum will say: “No package epel-release available”. In this case you can manually download and install the epel-release packedge with one of the below commands, depending on your system’s version.
Install the EPEL repository on CentOS-7: # rpm -ivh Install the EPEL repository on CentOS-6: # rpm -ivh Verify The EPEL Installation Enabled By Default: The EPEL repository is enabled by default and its settings can be found in /etc/yum.repos.d/epel.repo. To ensure that the EPEL repository is installed, search for it in the list of yum repositories: # yum repolist grep '^epel repo id' Sample output: repo id repo name status epel Extra Packages for Enterprise Linux 6 - x86_64 8,447 Cool Tip: Can’t find the usual tools like ifconfig in the “Minimal” installation of CentOS? Just upgrade it to “Base” with yum! Remove The EPEL Repository You can simply remove the EPEL repository, by running: # yum remove epel-release Or you can find the EPEL package name using the rpm -qa command: # rpm -qa grep epel And delete is as follows: # rpm -e epel-release-x-x.noarch.
Don't forget to set it up as a service. This is from the tutorial posted. Sudo yum -y install mariadb-server mariadb sudo systemctl start mariadb.service sudo systemctl enable mariadb.service Once you do that, you should be able to run the mysql command and it will just let you in. [vagrant@default ~]$ mysql Welcome to the MariaDB monitor.
Commands end with; or g. Your MariaDB connection id is 2 Server version: 5.5.37-MariaDB MariaDB Server Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others. Type 'help;' or ' h' for help. Type ' c' to clear the current input statement. MariaDB [(none)]> So.
You'll probably want to secure it: mysql_secure_installation. Not 100%, sure if this is true in your case but there may not be a package yet. CentOS 7 is only been out for a few days and they changed some of the inner workings in this version. If you are hosting everything on one server (web app & database), I would recommend using CentOS 6.5 now and keep an eye on 7 until package managers catch up to the new release and at that time deploy a CentOS 7 server and rsync all your files over. There also is an upgrade tool to upgrade 6.5 to 7 in the works, you also could take that action. (I would not recommend this, as there could be downtime. Majalah misteri terbaru. When the time comes I would build the CentOS 7 server and transfer everything over.
This would mean 5 - 10 minutes downtime if done properly.