Category: Linux

Linux, Technical Stuff

Not able to login by ssh to my centos server (ssh agent failure)

I was trying to log into my server by ssh and I got below error: Agent admitted failure to sign using the key. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). I fixed the issue by loading the keys into the SSH agent by running below commands: —>  eval “$(ssh-agent -s)” Agent pid 4898 —> ssh-add Enter passphrase for /home/user/.ssh/id_rsa: …

Linux, Python, Technical Stuff

Installing Python-pip in Centos 7

After trying to install python pip with yum and without success:

I went ahead with below option::

After downloading the package (get-pip.py), I ran it. Be sure to run it as root cause you will need some permissions.

Finally,  just verify the installation:

Voila! Now I can download python packages! Reference: …

Linux, Technical Stuff

Keyboard not working on Gnome after yum update in Centos 7

After updating my Centos 7 with yum update my keyboard stopped working on GNOME, so I was unable to login to my laptop. I went through a whole process to make it works again: 1) First, I had to start in single user mode in order to edit the systemd runlevel so I started the …

Linux, Technical Stuff

Issues with ‘yum update’ on Centos 7

Linux updates sometimes can be a hell, specially when you are in the process of learning and mastering Linux. I was trying to perform the regular update to my laptop with the glorious “yum update” command, easy way to go for me, but, guess what? Issues, issues and issues. So, How did I finally get …

Android, Linux, Technical Stuff

“JDK Required: ‘tools.jar’ seems to be not in Studio classpath” error while installing Android Studio on Centos 7

I was trying to install Android Studio and I got this error: $./studio.sh JDK Required: ‘tools.jar’ seems to be not in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. But I had installed JDK: $ rpm -qa | grep -i JDK java-1.7.0-openjdk-headless-1.7.0.75-2.5.4.7.el7_1.x86_64 java-1.7.0-openjdk-1.7.0.75-2.5.4.7.el7_1.x86_64 $ java -version java version “1.7.0_75” OpenJDK Runtime Environment …