Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Readme.txt | 2020-06-19 | 2.5 kB | |
rh82.zip.001 | 2020-06-12 | 734.0 MB | |
rh82.zip.002 | 2020-06-12 | 648.4 MB | |
rh82.lzma.term | 2020-06-12 | 248.7 MB | |
vmlinuz-rh82 | 2020-06-12 | 8.9 MB | |
Totals: 5 Items | 1.6 GB | 0 |
Maybe last version of Redhat I built. We swicth to CentOS for 9 years 這個說不准是我製作的最後一版本的redhat重新打包了。我們的項目全面轉向了Ubuntu (開發) 或者CentOS (發布) --------------------------------------------------------- rh82.lzma.term is a console release without gnome rh82.lzma.term 是console版本 rh82.zip.001/002 please use 7zip to extract rh82.zip.001/002 請用7Zip解壓,操蛋的Sourceforge不支持大文件 ______________________________________ SOP: 1. Install it to a virtual machine on single sda1 partitioned 1. 只分一个ext4分区的虚拟机用光盘ISO安装 2. disable firewalld / NetworkManager/Selinux 2. 使用systemctl 关闭firewalld NetworkManager,修改/etc/selinux/config关闭selinux 3. config IP with dhclient by modify /root/.bashrc /etc/rc.d/rc.local 3. 为了省事我使用dhclient来分配IP,可以通过修改自动登录使用.bashrc运行dhclient或者先给rc.local授权,然后在 rc.local里面调用dhclient 4. shutdown VM and attach disk to another VM installed Linux 4. 关闭当前虚拟机,把硬盘文件挂在另一台装好了Linux的虚拟机上准备提取文件 5. mount /dev/sda1 /media. My working pack VM use /dev/vda1. so here should be sda1. 5. 把工作虚拟的硬盘设置为vda,这样sda1就是我们打包的目标,mount 到media 6. mkdir /cpio; cd /cpio; tar -cf rootfs.tar /media/* 7. mkdir fs; cd /cpio/fs; tar -xvf ../rootfs.tar; 8. cd /cpio/fs/media; vim etc/fstab; comment root line, or just rename the file... 9. ln -s lib/systemd/systemd init; 10. rm -rf boot; rm -rf tmp/*;cd var; find . -type f -exec rm {} \; 11. cd /cpio/fs/media; find . | cpio -oHnewc >../initrd; 12. cd /cpio/fs; xz -z9vf --threads=16 --check=crc32 --lzma2 initrd; 13. cp /media/boot/vmlinuz ... ; cp /cpio/fs/initrd.xz ... ; then u got them; 13. 提取/media/boot里面的vmlinz和 /cpio/fs里面的initrd.xz 你要的东西就打包好了 =================================================================== Note: If u want less memory u must set the tftpboot/pxelinuc.cfg/default with below: KERNEL vmlinuz-rh82 APPEND initrd=initrd.xz rootfstype=ramfs 想少点内存跑起来你还是至少得2xsizeof(initrd) + 1GB (内核),注意是cpio而不是xz!内存少自行添加rootfs=ramfs到你的启动选项,可以节省不少内存,但是不推荐这样做,我们要的是力大砖飞!!