Add a yum repo manually by adding a configuration file in /etc/yum.repo.d/ directory.
Add the following.
name=New Repo for RHEL/ CentOS $releasever - $basearch
You may need to import the key.
rpm --import http://newrepo.domain.com/RPM-GPG-KEY.txt
Finally, test the new repo by running the following.
yum update -y
yum install new-package
Add a disk volume via cloud console. Then perform the following commands:
# check the new block
# create file system
mkfs.xfs -f /dev/sdc1
# get uuid
# vi /etc/fstab
UUID="xxxxxxxxxxxxxxxxxxxxx" /mnt/directory xfs defaults 0 0
The Git Add command will add files to the current local working repository. This is how files are officially added to the local repository. You can specify one file or multiple files by using wildcards.
Add one file
Add all files
Add all PHP files
Adding a file or directory to Subversion is quite easy. The following commands will add a file and a directory to the current Subversion working directory. The added file or directory is only added to the local working directory, and not to the Subversion repository. For that to happen, you’ll need to issue a Subversion commit to synch the files to the repository. The following commands simply add files and directories in the local working directory.
Add a file
Add a directory