Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deploy [2024/03/07 07:00] jsdeploy [2024/03/07 07:48] (current) – [1. fsiinst] js
Line 15: Line 15:
 ===== Installation CentOS 7 ===== ===== Installation CentOS 7 =====
 <WRAP left round info 100%> <WRAP left round info 100%>
-We have created an unatteded ISO with auto kickstart for CentOS. The local CentOS repository files (see below) can also downloaded from our project servers - please feel free to ask us for help.+We have created an unatteded ISO with auto kickstart for CentOS. The local CentOS repository files (see below) can also be downloaded from our project servers - please feel free to ask us for help.
 </WRAP> </WRAP>
  
-  - Use unattended server iso, this includes a kickstart config file for base configuration of the fsi deploy server+  - Use unattended server ISO, this includes a kickstart config file for base configuration of the fsi deploy server
   - if there is no direct internet connection, use our tar files for base and updates centos repo. Copy the files to /opt/tmp:   - if there is no direct internet connection, use our tar files for base and updates centos repo. Copy the files to /opt/tmp:
     - if /opt/tmp not exists, create dir: ''mkdir -p /opt/tmp''     - if /opt/tmp not exists, create dir: ''mkdir -p /opt/tmp''
-    - download following files to /opt/tmp+    - upload following files to /opt/tmp
       * Latest base tar: co79-x86_64-base-20210618.tar.gz       * Latest base tar: co79-x86_64-base-20210618.tar.gz
       * Latest base sha256sum file: co79-x86_64-base-20210618.tar.gz.sha256       * Latest base sha256sum file: co79-x86_64-base-20210618.tar.gz.sha256
Line 27: Line 27:
       * Latest patch sha256 sum file: co79-x86_64-updates-20240227.sha256       * Latest patch sha256 sum file: co79-x86_64-updates-20240227.sha256
     - Unpack tar files      - Unpack tar files 
-      create repo dircmd: ''mkdir /opt/local/repos/centos/7.9/'' +      create repo dir 
-      create symlinkcmd: ''cd /opt/local/repos/centos/'' and ''ln -s 7.9 7'' +        * cmd: ''mkdir /opt/local/repos/centos/7.9/'' 
-      unpack tar filecmd: ''tar -C /opt/local/repos/centos/7 -xvzf /opt/co79-x86_64-base-20210618.tar.gz'' +      create symlink 
-      create updates repo dircmd: ''mkdir local/repos/centos/7.9/updates/x86_64'' +        * cmd: ''cd /opt/local/repos/centos/'' and ''ln -s 7.9 7'' 
-      unpack tar filecmd: ''tar -C /opt/local/repos/centos/7.9/updates/x86_64 -xvf co79-x86_64-updates-20240227.tar''+      unpack tar file 
 +        * cmd: ''tar -C /opt/local/repos/centos/7 -xvzf /opt/tmp/co79-x86_64-base-20210618.tar.gz'' 
 +      create updates repo dir 
 +        * cmd: ''mkdir -p /opt/local/repos/centos/7/updates/x86_64'' 
 +      unpack tar file  
 +        * cmd: ''tar -C /opt/local/repos/centos/7/updates/x86_64 -xvf /opt/tmp/co79-x86_64-updates-20240227.tar''
     - If createrepo is not installed, install it.      - If createrepo is not installed, install it. 
       * cmd: ''yum -y install createrepo''       * cmd: ''yum -y install createrepo''
     - Create updates repository control files     - Create updates repository control files
-      * cmd: ''createrepo -v local/repos/centos/7.9/updates/x86_64''  +      * cmd: ''createrepo -v /opt/local/repos/centos/7/updates/x86_64''  
-  - Check if centos base and update repo sections exist in /etc/yum.repos.d/centos.repo - if not add following content    <code>---- centos.repo ---- +  - Check if centos base and updates repo sections exist in /etc/yum.repos.d/centos.repo - if not add following content    <code>---- centos.repo ---- 
 [centos]   [centos]  
 name=centos local file directory mirror -$releasever - Base   name=centos local file directory mirror -$releasever - Base  
Line 52: Line 57:
 ---------------------  --------------------- 
 </code> </code>
-  - run yum update cmd: ''yum -y update'' +  - run yum update  
-  - delete new CentOS-* files in /etc/yum.repos.d+    * cmd: ''yum -y update'' 
 +  - delete new CentOS-* files in /etc/yum.repos.d  
 +    * cmd: ''rm -f /etc/yum.repos.d/CentOS-*''
 \\ \\
 \\ \\
Line 66: Line 73:
  
 ==== 1. fsiinst ==== ==== 1. fsiinst ====
-  - upload the fsiinst_<distribution>_<version>.tar + sha256 file to the fsi server - [[deploy:distribution|more information about the distribution fsiinst tar file]] +  - upload the ''fsiinst%%__%%<distribution>%%__%%<version>%%__%%osv<os version>.tar'' + sha256 file to /opt/tmp on the fsi server - [[deploy:distribution|more information about the distribution fsiinst tar file]] 
-  - login to the fsi server and check sha256sum of the tar file \\ ''sha256sum -c fsiinst_<distribution>_<version>_osv<os version>.tar.sha256'' +  - login to the fsi server and check sha256sum of the tar file 
-  - unpack with \\ ''tar -C /opt -xvf fsiinst_<distribution>_<version>_osv<os version>.tar'' +    * cmd: ''cd /opt/tmp'' 
-  - upload or create fsiinst.cfg file - [[deploy:fsiinstcfg|more information about the fsiinst.cfg file]] +    * cmd: ''sha256sum -c fsiinst%%__%%<distribution>%%__%%<version>%%__%%osv<os version>.tar.sha256'' 
-  - run installation with \\ ''/opt/install/fsiinst -a -c <configfile>''+  - unpack with 
 +    * cmd: ''tar -C /opt -xvf fsiinst%%__%%<distribution>%%__%%<version>%%__%%osv<os version>.tar'' 
 +  - upload or create config file, e.g. fsiinst.cfg - [[deploy:fsiinstcfg|more information about the fsiinst.cfg config file]] 
 +  - run installation with 
 +    * cmd: ''/opt/install/fsiinst -a -c <configfile>''
 <WRAP left round tip 100%> <WRAP left round tip 100%>
 If there is a new update you can install it with the single rpm or just download a new distribution file and restart the fsiinst script. If there is a new update you can install it with the single rpm or just download a new distribution file and restart the fsiinst script.