Git

Client (make sure git is installed)

mkdir git

cd git

git config --global user.name "Erik" 

git config --global user.email your@email.net

ssh-copy-id 123.123.123.123

git clone ansible:/srv/git/erik.git

cd git/erik

ls

MAKE CHANGES

git add * 

git status

git commit -m "Comment" 

git push origin master

###Disk Info

##Adding Disk Space

sudo pvcreate /dev/sdc
sudo vgextend centos_katello /dev/sdc
sudo lvextend -L 49G /dev/centos_katello/var_lib_mongodb
sudo lvresize -r /dev/centos_katello/var_lib_mongodb -L 49G

#fstab example

echo "###############################################################"
echo "# Add this to /etc/fstab: #"
echo "# #NFS Shares #"
echo "# 172.16.4.20:/Backup /home/erik nfs auto 0 0 #"
echo "# 172.16.4.20:/share /mnt/share nfs auto 0 0 #"
echo "###############################################################"

###Notes:

exec ssh-agent bash

ssh-add 

ssh 123.123.123.123
Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather