Line 88: |
Line 88: |
| yum install screen | | yum install screen |
| It is invoked / re-attached with <tt>'''screen -aR scrname'''</tt> and detached from the session with <tt>'''Ctrl-A d'''</tt>. | | It is invoked / re-attached with <tt>'''screen -aR scrname'''</tt> and detached from the session with <tt>'''Ctrl-A d'''</tt>. |
| + | |
| + | == Install the SME 8 RPMs == |
| + | * Remove all current repos in /etc/yum.repos.d |
| + | mkdir /tmp/repo.bak |
| + | mv /etc/yum.repos.d/*.repo /tmp/repo.bak/ |
| + | * Upload /etc/yum.repos.d/[[Media:SME8_sme-base.repo.txt|'''sme_base.repo''']] |
| + | * UM install sme rpms |
| + | yum install smeserver\* e-smith\* --enablerepo=smeos8,smeupdates8 --nogpgcheck |
| + | * 287 MB / 374 RPMs Installed |
| + | * SMEServer uses runlevels 7 and 4 |
| + | rm -f /etc/rc4.d/* |
| + | cp -a /etc/rc7.d/* /etc/rc4.d/ |
| + | * Now get the [[Media:SME8_VZ_PostYUM.txt|'''list''']] of installed RPMs |
| + | <pre> |
| + | ABC=`rpm -qa` |
| + | echo ${ABC} > sme8_rpms_after_yum.txt |
| + | ABC= |
| + | </pre> |
| + | * Some RPMs get removed and others get updated. |
| + | * Use a MySQL database to check the differences: |
| + | <syntaxhighlight lang=sql"> |
| + | CREATE DATABASE `rpmmatch`CHARACTER SET latin1 COLLATE latin1_general_ci; |
| + | CREATE TABLE `rpmmatch`.`smerpms`( `rpmname` VARCHAR(100) NOT NULL, PRIMARY KEY (`rpmname`) ); |
| + | CREATE TABLE `rpmmatch`.`c5minrpms`( `rpmname` VARCHAR(100) NOT NULL, PRIMARY KEY (`rpmname`) ); |
| + | LOAD DATA LOW_PRIORITY LOCAL INFILE 'C:\\smerpms.csv' INTO TABLE `rpmmatch`.`smerpms` FIELDS ESCAPED BY '\\' TERMINATED BY '\t' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\r\n' (`rpmname`); |
| + | LOAD DATA LOW_PRIORITY LOCAL INFILE 'C:\\c5minrpms.csv' INTO TABLE `rpmmatch`.`c5minrpms` FIELDS ESCAPED BY '\\' TERMINATED BY '\t' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\r\n' (`rpmname`); |
| + | SELECT a.* FROM c5minrpms a LEFT JOIN smerpms b USING (rpmname) WHERE b.rpmname IS NULL ORDER BY rpmname; |
| + | SELECT a.* FROM smerpms a LEFT JOIN c5minrpms b USING (rpmname) WHERE b.rpmname IS NULL ORDER BY rpmname; |
| + | </syntaxhighlight> |