MATLAB install
This commit is contained in:
		
							
								
								
									
										71
									
								
								liebchen.yml
									
									
									
									
									
								
							
							
						
						
									
										71
									
								
								liebchen.yml
									
									
									
									
									
								
							| @@ -5,14 +5,12 @@ | |||||||
|     apt: |     apt: | ||||||
|       name: |       name: | ||||||
|         - geany |         - geany | ||||||
|  |         - nfs-common | ||||||
|       state: latest |       state: latest | ||||||
|  |  | ||||||
|   - name: Enable home directory creation for new users |   - name: Enable home directory creation for new users | ||||||
|     command: pam-auth-update --enable mkhomedir |     command: pam-auth-update --enable mkhomedir | ||||||
|  |  | ||||||
|   - name: Ubunut Desktop |  | ||||||
|     apt: |  | ||||||
|       name: ubuntu-desktop |  | ||||||
|  |  | ||||||
|   - name: TeXlive |   - name: TeXlive | ||||||
|     apt: |     apt: | ||||||
| @@ -59,4 +57,69 @@ | |||||||
|   - name: Restart service bacula-fd |   - name: Restart service bacula-fd | ||||||
|     service: |     service: | ||||||
|       name: bacula-fd |       name: bacula-fd | ||||||
|       state: restarted |       state: restarted | ||||||
|  |   # source: https://github.com/mathworks-ref-arch/container-images/blob/main/matlab-deps/r2023b/ubuntu22.04/base-dependencies.txt | ||||||
|  |   - name: Install MATLAB dependecies | ||||||
|  |     apt: | ||||||
|  |       name: | ||||||
|  |         - ca-certificates | ||||||
|  |         - libasound2 | ||||||
|  |         - libc6 | ||||||
|  |         - libcairo-gobject2 | ||||||
|  |         - libcairo2 | ||||||
|  |         - libcap2 | ||||||
|  |         - libcups2 | ||||||
|  |         - libdrm2 | ||||||
|  |         - libgbm1 | ||||||
|  |         - libgdk-pixbuf-2.0-0 | ||||||
|  |         - libgl1 | ||||||
|  |         - libglib2.0-0 | ||||||
|  |         - libgstreamer-plugins-base1.0-0 | ||||||
|  |         - libgstreamer1.0-0 | ||||||
|  |         - libgtk-3-0 | ||||||
|  |         - libice6 | ||||||
|  |         - libltdl7 | ||||||
|  |         - libnspr4 | ||||||
|  |         - libnss3 | ||||||
|  |         - libpam0g | ||||||
|  |         - libpango-1.0-0 | ||||||
|  |         - libpangocairo-1.0-0 | ||||||
|  |         - libpangoft2-1.0-0 | ||||||
|  |         - libsndfile1 | ||||||
|  |         - libuuid1 | ||||||
|  |         - libwayland-client0 | ||||||
|  |         - libxcomposite1 | ||||||
|  |         - libxcursor1 | ||||||
|  |         - libxdamage1 | ||||||
|  |         - libxfixes3 | ||||||
|  |         - libxft2 | ||||||
|  |         - libxinerama1 | ||||||
|  |         - libxrandr2 | ||||||
|  |         - libxt6 | ||||||
|  |         - libxtst6 | ||||||
|  |         - libxxf86vm1 | ||||||
|  |         - locales | ||||||
|  |         - locales-all | ||||||
|  |         - make | ||||||
|  |         - net-tools | ||||||
|  |         - procps | ||||||
|  |         - sudo | ||||||
|  |         - unzip | ||||||
|  |         - zlib1g | ||||||
|  |   - name: Install MATLAB license file | ||||||
|  |     copy: | ||||||
|  |       dest: /etc/matlab_license.dat | ||||||
|  |       content: | | ||||||
|  |         SERVER lic64-1.hrz.tu-darmstadt.de 005056bf0915 1718 | ||||||
|  |         SERVER lic64-2.hrz.tu-darmstadt.de 000102f14cdc 1718 | ||||||
|  |         SERVER lic64-3.hrz.tu-darmstadt.de 0060b0328d82 1718 | ||||||
|  |         USE_SERVER | ||||||
|  |  | ||||||
|  |   - name: Mount MATLAB install media | ||||||
|  |     command: mount -o ro 192.168.0.129:/srv/saltmine/matlab2023b /mnt | ||||||
|  |  | ||||||
|  |   - name: MATLAB installation | ||||||
|  |     command: /mnt/install -inputFile /mnt/installer_input.txt | ||||||
|  |  | ||||||
|  |   - name: unmount MATLAB install media | ||||||
|  |     command: umount /mnt | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user