Easy way to create your own repo 1. Put your RHEL6 media on DVD drive 2. Create a partition with size 6GB and mount it as /yum 3. Download the below script to /yum https://sites.google.com/site/ansilh/rhel6_repo.sh 4. Give execute permission to the downloaded script 5. Please open the file and try to understand it. If you found all safe ,then go to next step 6. Execute it...You will get an RHEL repo accessible through ftp ***Please feel free to comment your experience *** ======================================= Manual Steps (*Different approach from above script .The repo file not look like usual one) YouTube Link : http://www.youtube.com/watch?v=scBtTTwLze0 1.create a directory to store packages .(Better you create a partition with 5GB size and mount it as /YUM) mkdir /YUM 2.mount RHEL6 DVD mount /dev/dvd /mnt 3.go to the mounted directory cd /mnt/Packages/ 4.copy all contents of DVD to /YUM (Note the "." in command ) cp . /YUM/ 5.Install create...
Download squid source from http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE24.tar.gz Copy the downloaded file to /tmp Tar –zxvf squid-3.0.STABLE24.tar.gz Cd squid-3.0.STABLE24 ./configure --enable-basic-auth-helpers=DB make make install Download Current Mysql5.1 Source RPM from http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-5.1.44-1.glibc23.src.rpm/from/ftp://mirror.anl.gov/pub/mysql/ Copy MySQL-5.1.44-1.glibc23.src.rpm /tmp Rpm –ivh MySQL-5.1.44-1.glibc23.src.rpm Cd /usr/src/redhat/SPEC Rpmbuid –bb mysql-5.1.44.spec After compilation the RPM files will be in /usr/src/redhat/`uname –m`/RPMS Cd /usr/src/redhat/`uname –m`/RPMS Rpm –ivh MySQL-server-5.1.44-1.glibc23.ia64.rpm The service will start automatically after installation Here we are using Default Mysql database engine MyISAM (Non transactional Engine) In a large application Database we will use Engine INNODB (Transactional engine).It has many configurable options to get mysql to work efficiently with maximum perf...
ReaR – Relax and Recover is an Opensource tool for backing up your OS. The Physical to Virtual and Virtual to Physical migration of OS is also possible with ReaR You can also integrate your favorite backup tools like IBM TSM or HP Data Protector with ReaR to backup the OS to External Storage Here is the setup I used OS :openSuSE 11.4 ReaR package: rear-1.10.0-23.1.noarch Pre-requisites 1: RPMs mingetty binutils iputils tar gzip ethtool syslinux iproute2 lsb genisoimage nfs-client rpcbind rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 /bin/bash rpmlib(PayloadIsLzma) <= 4.4.6-1 Pre-requisite 2: NFS server ( I used RHEL5 )with a share /rear/backup and the share must have write permission ...
Comments
Post a Comment