Monthly Archives: January 2017

Linux create RPM and local repository

Example of RPM and YUM on CentOS 6. 1. Install the RPM build environment: lin60 # yum install -y rpm-build rpmdevtools 2. Create the directory for the RPM environment and the directory in which your program will be installed. lin60 … Continue reading

Posted in Uncategorized | Leave a comment

SVM rootvolume protection

Restoring the root volume of an SVM If the root volume of a Storage Virtual Machine (SVM) becomes unavailable, clients cannot mount the root of the namespace. In such cases, you must restore the root volume by promoting another volume … Continue reading

Posted in Uncategorized | Leave a comment

sed

substitute one column in a file: sed ‘s/[A-Z|0-9]*/REPLACED/1’ filename

Posted in Uncategorized | Leave a comment

linux create local repo

In this example – the server 192.168.0.1 contains all packages in /export/rhel72/Packages – the /export directory is exported log in to vm_client 1. create a mountpoint: # mkdir /software create a repodir # mkdir /localrepo 2. mount the /export/ directory … Continue reading

Posted in Uncategorized | Leave a comment