Yum crashed with Keyboard Interrupt error

Because yum does not support Python3. You can run command vi /usr/bin/yum, change /usr/bin/python to /usr/bin/python2 in first line. Thus you can run the command yum by Python2 instead of Python3. Note however that this will make your setup unsupported and thus unmaintainable (as does what you did). You will likely have other similar problems … Read more

install Docker CE 17.03 on RHEL7

As per the documentation here, you can install Docker CE 17.03 (or future versions) on RHEL 7.3 64-bit via: Set up the Docker CE repository on RHEL: sudo yum install -y yum-utils sudo yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum makecache fast Install the latest version of Docker CE on RHEL: sudo yum -y install docker-ce Alternatively, … Read more

How to install maven on redhat linux

Go to mirror.olnevhost.net/pub/apache/maven/binaries/ and check what is the latest tar.gz file Supposing it is e.g. apache-maven-3.2.1-bin.tar.gz, from the command line; you should be able to simply do: wget http://mirror.olnevhost.net/pub/apache/maven/binaries/apache-maven-3.2.1-bin.tar.gz And then proceed to install it. UPDATE: Adding complete instructions (copied from the comment below) Run command above from the dir you want to extract maven … Read more

CentOS through a VM – no URLs in mirrorlist [closed]

Check out this article: CentOS Linux EOL The below commands helped me: sed -i ‘s/mirrorlist/#mirrorlist/g’ /etc/yum.repos.d/CentOS-Linux-* sed -i ‘s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g’ /etc/yum.repos.d/CentOS-Linux-* Doing this will make DNF work, but you will no longer receive any updates. To upgrade to CentOS 8 stream: sudo dnf install centos-release-stream -y sudo dnf swap centos-{linux,stream}-repos -y sudo dnf distro-sync -y Optionally … Read more

Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment

If you are trying to execute tests case you must set the following environment variables each time: export LC_ALL=en_US.utf-8 export LANG=en_US.utf-8 Doing this each time will resolve the error. It may also be possible to set this in your IDE run configuration as LC_ALL=en_US.UTF-8;LANG=en_US.UTF-8 For example see the following setting in PyCharm 2016:

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)