Tuesday 24 January 2017

The requested URL returned error: 403 Forbidden

Error : 
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/xxxx/store.git/info/refs

fatal: HTTP request failed

Solution :

check git version ; may be using older version if using older version please update it

Install require packages
# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel

Download latest git source

# cd /usr/src
# wget https://git-core.googlecode.com/files/git-1.8.5.3.tar.gz
# tar xzf git-1.8.5.3.tar.gz

3. Install it

# cd git-1.8.5.3
# make prefix=/usr/src/git all
# make prefix=/usr/src/git install
# echo "export PATH=$PATH:/usr/src/git/bin" >> /etc/bashrc
# source /etc/bashrc

4. git version

# git --version
git version 1.8.5.3

Install XRDP in Centos 7

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum update yum groupinstall "GNOME Desktop" ...