#rockylinux
Explore tagged Tumblr posts
nixcraft · 1 year ago
Text
How To List Files in a Package with DNF Linux Package Manager
Here is how to list the contents of a dnf package that is either installed or uninstalled state on your RHEL, Fedora, Rocky, CentOS Stream or Alma Linux:
dnf repoquery -l pkg_name
The dnf repoquery command is a very versatile tool with many options. Hence, see the following page:
Tumblr media
-> How to list package files with dnf in Linux (RHEL, CentOS, Rocky, Fedora, and Alma Linux)
6 notes · View notes
linuxtldr · 7 months ago
Text
1 note · View note
oudelinc · 2 years ago
Text
Rocky Linux – A generally of CentOS alternatives
This article provides a comprehensive overview of Rocky Linux, a general CentOS alternative that offers stability, reliability, and long-term support. Learn about the features, history, installation process, and usage of this new Linux distribution.
Tumblr media
List of content you will read in this blog:
1. History of Rocky Linux 2. What is Rocky Linux? 3. Installation of Rocky Linux 4. Using Rocky Linux 5. Compatible with CentOS and RHEL 6. Support and community 7. Customization and Optimization 8. Future Developments and Potential Challenges 9. Installation and System Requirements 10. Security Features 11. Package Management and Updates 12. Application Support 13. Conclusion 14. Frequently Asked Questions
Since the release of CentOS Stream, many users of the popular Linux distribution CentOS have been searching for an alternative that would provide the same stability, reliability, and long-term support as CentOS. Rocky Linux, a new CentOS alternative, has emerged as a possible solution that can meet the needs of the CentOS community. This blog will provide a comprehensive overview of Rocky Linux and explore its features, history, installation process, and usage.
characteristics
description
stability
Built from the same source code as RHEL, provides a stable and reliable platform
Long term support
Offers long-term support options for enterprise-level users
compatibility
Compatible with the CentOS ecosystem, create it easy to integrate with existing infrastructure
safety
Giving a range of security features including SELinux and various security tools
Package management
Uses YUM package manager for easy installation, removal, and management of software packages
Update
Giving regular updates and security patches to ensure the system is up-to-date and secure
Application support
Supports a wide range of applications including web servers, database servers, and programming languages
Customization
Can be modified and optimized for specific use cases
community
There is a live community of users and contributors who provide support and resources
open source
Like other Linux distributions, Rocky Linux is freely and open-source software.
History of Rocky Linux
Rocky Linux was created in response to the decision made by Red Hat, the parent company of CentOS, to shift focus from CentOS Linux to CentOS flow. Rocky Linux appeared by Gregory Kurtzer, creator of the famous Linux distribution CentOS. He founded the Rocky Enterprise Software Foundation, a non-profit organization to oversee distribution development. Development began in December 2020 and the first stable deliverance was made available in June 2021.
What is Rocky Linux?
Rocky Linux is a society-driven Linux distribution designed to replace CentOS. It is created from the source code of Red Hat Enterprise Linux (RHEL), which means it offers the same stability, reliability, and long-term support as RHEL. Is consistent with the CentOS ecosystem and can run most of the same software packages as CentOS.
Installation of Rocky Linux
Installing Rocky Linux is a straightforward process. First, check the system requirements to make sure your hardware is compatible Next, download the ISO file from the website and create a bootable USB drive. Then, boot from the USB drive and looking the installation wizard. During installation, you will be asked to configure system settings including time zone, language, and partition. When the installation is entire, you can log in to your new system.
Rocky uses Linux
Rocky Linux gives an order-line interface, which may be unfamiliar to users accustomed to graphical user interfaces. However, the command line is powerful and can perform a variety of tasks, including package management, networking and security configuration, customization, and optimization. Users can use the Yum package manager to install and handle software bundles. Also supports Docker, a popular containerization stage for deploying and managing applications.
Compatible with CentOS and RHEL
Rocky Linux is planned to be consistent with the CentOS ecosystem and can move most of the same software packages as CentOS. It’s also made from a similar source code as RHEL, which means compatible with RHEL applications and services. This creates an ideal for users looking for a CentOS alternative that can seamlessly integrate with their existing infrastructure.
Support and community
Rocky Linux is an open-source project that relies on contributions from its group for growth and support. The Enterprise Software Foundation (RESF) oversees ordination development and supports the community. Users can get support from the group through forums, mailing lists, and social media channels.
Customization and Optimization
Rocky Linux is extremely customizable and can be optimized for specific use cases. Users can customize the distribution by installing and configuring the software packages required for their applications. Normally, they can optimize distribution by tweaking system settings to improve performance and security. Offers support for a wide range of tools and technologies that can be used to optimize distributions, including monitoring tools, security tools, and performance tuning tools.
Future developments and potential challenges
Rocky Linux is a relatively recent evolution, and its future development and growth will depend. On its ability to attract and retain A strong group of users and developers. Donations out may face potential funding, governance, and sustainability challenges. Anyhow, with the support of RESF and the growing community, is well-positioned to overcome these challenges and grow as a viable CentOS alternative.
Installation and system requirements
To install Rocky Linux, users must have a consistent system that meets the least requirements. The ordering can be installe on physical and virtual machines, and the installation method is similar to other Linux allocations. Users can download the ISO picture from the official blog and burn it to a CD or USB drive. The least method requirements for installing are 2GB of RAM, 20GB of hard disk space, and a 64-bit processor.
Security features
Rocky Linux offers various security features that help users save their systems from unauthorized access and malicious attacks. The distribution includes SELinux, an imperative access control system that provides an additional layer of security to the operating system. Normally, Supports various security tools, including firewalls, intrusion detection systems, and encryption tools. These tools can be use to configure system security settings and protect against cyber threats.
Package management and updates
Uses the YUM package manager, which is another Linux distribution. Users can use YUM to install, remove and manage software packages on their system. Offers continuous updates and safety patches to ensure the system is up-to-date and secure. Users can use the YUM command to modernize their system with the latest packages and security updates.
Application support
Supports a lot of requests, including web servers, database servers, and programming languages. As well, it supports programming languages like Python, Ruby, and Java. Users can simply install and configure these applications using the YUM package manager.
0 notes
linuxiarzepl · 2 years ago
Text
Rocky Linux 9.2
Została wydana nowa wersja dystrybucji Rocky Linux 9.2 https://linuxiarze.pl/rocky-linux-9-2/ #linux #redhat
0 notes
vndta-vps · 8 days ago
Text
VPS Linux: Công nghệ đầu tiên và các phần mềm phổ biến hiện nay
Trong thời đại số hóa, việc tối ưu hóa hạ tầng công nghệ thông tin trở thành thành yếu tố sống còn với doanh nghiệp. VPS Linux – máy chủ ảo dựa trên hệ điều hành Linux – nổi bật như một giải pháp mạnh mẽ, ổn định và tiết kiệm chi phí. Không dừng lại ở Linux, hiện nay vẫn có nhiều hệ điều hành và phần mềm hỗ trợ khác được đánh giá cao, mở ra các tiềm năng ứng dụng linh hoạt cho mọi nhu cầu.
Hãy cùng khám phá chi tiết về VPS Linux và các công nghệ liên quan trong bài viết này.
VPS Linux: Điểm sáng của thế giới máy chủ ảo
1. VPS Linux là gì?
VPS Linux là một máy chủ ảo hoạt động trên nền tảng hệ điều hành Linux. Đây là loại phổ biến nhờ khả năng bảo mật vượt trội, dễ điều chỉnh và khả năng xử lý mạnh mẽ, phù hợp cho mọi quy mô doanh nghiệp hay dự án cá nhân.
2. Các điểm nổi bật ưu tiên của VPS Linux
Hiện tại hệ điều hành Linux phổ biến
1.Ubuntu​
Ubuntu là lựa chọn lý tưởng nhờ giao diện thân thiện, dễ sử dụng và cộng đồng hỗ trợ mạnh mẽ. Đây là hệ điều hành phổ biến cho cả người mới bắt đầu và chuyên gia.
2. Hệ điều hành CentOS
Tập tin CentOS về độ ổn định và bảo mật thường được sử dụng trong hệ thống máy chủ doanh nghiệp Yêu cầu vận hành hành dài mà không cần cập nhật nhiều lần.
3. Hệ điều hành Debian
Debian được biết đến như một trong những hệ điều hành ổn định nhất, với hàng gói phần mềm hỗ trợ mạnh mẽ, rất phù hợp cho môi trường máy chủ chuyên dụng.
4. Hệ điều hành RockyLinux
Ra đời như một giải pháp thay thế cho CentOS, Rocky Linux kế thừa đầy đủ các ưu tiên và đang được các doanh nghiệp lựa chọn sử dụng lớn nhất.
Phần mềm và công cụ tối ưu trên VPS Linux
1. Phần mềm quản lý máy chủ (Control Panel)
2. Công cụ Web Server
3. Cơ sở dữ liệu quản trị phần mềm
Mở rộng lai của VPS Linux
VPS Linux hiện không chỉ là giải pháp hiệu quả mà còn là xu hướng công nghệ tương lai. Với khả năng mở rộng và hỗ trợ từ cộng đồng nguồn mở, Linux hứa hẹn sẽ mang đến nhiều bước tiến vượt bậc trong quản trị máy chủ và tối ưu hóa chi phí.
Hãy cân nhắc sử dụng VPS Linux cùng các phần mềm và hệ điều hành phổ biến để khai thác tối đa sức mạnh công nghệ, đáp ứng nhu cầu phát triển
Xem thêm: https://vndata.vn/vps-linux-gia-re/
0 notes
algoentremanos · 3 months ago
Text
Cómo instalar Virtualmin en tu servidor Linux: consejos y trucos para configurarlo
Cómo instalar Virtualmin en tu servidor Linux: consejos y trucos para configurarlo #Linux #Virtualmin #RockyLinux #Servidor
Si quieres gestionar tu propio servidor VPS o dedicado, una buena opción para hacerlo, si no quieres usar solo la línea de comandos, es instalar Virtualmin, un panel de control gratuito (en su versión GPL), que puede sustituir a cPanel y WHM (de pago). Es lo que suelo hacer yo. Vas a conseguir un servidor seguro, fácil de gestionar y te va permite montar tu servidor web en pocos pasos. Te voy a…
0 notes
ibutenko · 4 months ago
Text
Оказалось, что проблемы с CrowdSrtike, который на неделе "уложил" кучу компьютеров Windows, были и до этого, но у компьютеров под Linux-ом. Но поскольку их на несколько порядков меньше, пресса не поднимала шуму. Полный текст статьи (машинный перевод): "Проблема «синего экрана смерти» (BSOD) на ПК с ОС Windows, которая нарушила работу различных секторов, особенно затронув авиакомпании, банки и поставщики медицинских услуг, была вызвана проблемным файлом, установленным через обновление от популярного поставщика услуг кибербезопасности CrowdStrike. CrowdStrike подтвердила, что этот сбой не затронул ПК Mac или Linux. Но оказывается, подобные проблемы возникают уже несколько месяцев без особого шума в прессе, несмотря на то, что многие могут рассматривать это как единичный инцидент. Пользователи Debian и Rocky Linux также столкнулись со значительными сбоями в работе после обновлений CrowdStrike, что вызвало серьезную обеспокоенность по поводу процедур обновления программного обеспечения и тестирования компании. Эти происшествия подчеркива��т потенциальные риски для клиентов, которые ежедневно полагаются на их продукцию.
В апреле обновление CrowdStrike привело к одновременному сбою всех серверов Debian Linux в гражданской технической лаборатории и отказу загружаться. Обновление оказалось несовместимым с последней стабильной версией Debian Linux, несмотря на то, что предположительно поддерживалась конкретная конфигурация Linux. ИТ-команда лаборатории обнаружила, что удаление CrowdStrike позволяет машинам загружаться, и сообщила об инциденте.
Член команды, участвовавший в инциденте, выразил недовольство задержкой ответа CrowdStrike. Им потребовались недели, чтобы провести анализ первопричин после того, как день спустя они признали проблему. Анализ показал, что конфигурация Debian Linux не была включена в их тестовую матрицу.
«Модель Crowdstrike выглядит следующим образом: «Мы устанавливаем программное обеспечение на ваши машины в любое время, когда захотим, независимо от того, срочно оно или нет, без его тестирования», — посетовал член команды.
Это был не единичный случай. Пользователи CrowdStrike также сообщали о подобных проблемах после обновления до RockyLinux 9.4, когда их серверы зависали из-за ошибки ядра. Служба поддержки Crowdstrike признала наличие проблемы, подчеркнув неадекватное тестирование и недостаточное внимание к проблемам совместимости в различных операционных системах."
0 notes
rwahowa · 5 months ago
Text
Add SSH key to Linux VPS server
This works for different Linux distros ranging from Debian, Ubuntu, Almalinux, RockyLinux and so on. Generate the SSH Key on local computer Rename your folders from ‘folderforkeys‘ and keys from ‘mykeys‘ as needed.Consider adding a keyphrase to protect your private key when generating it. This creates a folder called, folderforkeys for storing your keys (rename it as needed) mkdir -p…
0 notes
virtualizationhowto · 9 months ago
Text
Almalinux vs Rocky Linux: Best CentOS replacement in 2024
Almalinux vs Rocky Linux: Best RHEL replacement in 2024 #vmwarecommunities #almalinux #rockylinux #rhel #redhatreplacement #opensource #linuxserver #virtualization #virtualizationhowto #vhtforums #selfhosted #selfhosting #centos #centosreplacement
If you are looking to replace RHEL with another distribution, there are two that comes to mind. These are Almalinux and Rocky Linux. Both were designed for 1-to-1 compatibility with RHEL. However, which one is the best choice? In this article, let’s look at Almalinux vs Rocky Linux, the differences between the two, and which one you should choose as a RHEL replacement.  Table of contentsWhat…
Tumblr media
View On WordPress
0 notes
joakim-dellrud · 1 year ago
Text
So it might be time for some introductions. I am a Linux user since many years and I has used CentOS as a daily driver since version 5. I have tried other distros but CentOS stuck with me for some reason. Currently I am using Fedora to get a later version of Gnome then what stream provides.
Tumblr media
Since buying Redhat IBM has shutdown both CentOS as a bug-by-bug copy of RHEL but they have now attempted to further shutdown the likes of Oracle-linux, Almalinux and Rockylinux. This is a dick move, but I do not generally care that much about the fallout of this, many others have done a great job of analyzing and summarizing what it might entail.
I for one though feel like this is it and now I need to convert to running Debian. Due to the sheer amount of work it feels rough but it is better to rip of that band-aid quckly.
Tumblr media
So after nearly a decade of being all CentOS I am converting over because I cannot trust that IBM does not do further harm to how they distribute CentOS and Fedora. The only viable alternative is to use a distro that is actually free. Debian is the best one for the task and I will document my efforts here as I go along.
Tumblr media
In other news; I have a couple of projects going on at the cabin, one is the floors in the kitchen/guestroom. The other is to get our old car going again. It might be amusing to see me flounder around attempting to do things that are so far outside of my comfort-zone.
As a last thing I must say that I am starting to lean towards owning hard copies of things again. There are things getting yanked away and the battle-of-the-streamingservices are creating casualties. It feels weird that for instance Final space is never going to be available again when it is removed from Netflix. Since you cannot buy that on hard-copy it will soon be lost. Sad since it was a story that I would have loved to see conclude.
0 notes
linuxtldr · 1 year ago
Text
0 notes
tipsonunix · 2 years ago
Text
How to Install Linux Kernel 6.1 on Rocky Linux / Alma Linux
Tumblr media
This tutorial will be helpful for beginners to install Linux kernel 6.1 On AlmaLinux 9, and Rocky Linux 9. Linus Torvalds announced the Linux Kernel 6.1 which is available to download for general usage with new features, improvements, better hardware support, and other new updates. As per linus Torvalds So here we are, a week late, but last week was nice and slow, and I'm much happier about the state of 6.1 than I was a couple of weeks ago then things didn't seem to be slowing down. Of course, that means that now we have the merge window from hell, just before the holidays, with me having some pre-holiday travel coming up too.
What's New in Kernel 6.1
- Initial Rust infrastructure has been merged. - Various new AMD CPU features from adding the Platform Management Framework (PMF) to new perf features. - Faster file sharing between Linux hosts and guest VMs using 9P. For the complete changelog refer to the release notes
How to Install Linux Kernel 6.1 On Alma Linux / Rocky Linux?
Step 1: Update the system before proceeding to install kernel 6.1 sudo dnf upgrade -y Step 2: Import the EPEL Public Key sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org Step 3: Install ELREPO For Rocky Linux & AlmaLinux 9 Servers sudo dnf install https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm -y Step 4: Enable the elrepo-kernel Repository sudo dnf config-manager --set-enabled elrepo-kernel Step 5: Install the Linux Kernel 6.1 from ELrepo sudo dnf install kernel-ml kernel-ml-core kernel-ml-headers kernel-ml-modules kernel-ml-modules-extra
Tumblr media
Step 6: Validate the kernel Once installation is completed reboot the server and verify the newly installed kernel by running the below command.
Tumblr media
Rollback to Default Kernel
If you noticed any issues in the new kernel you can rollback to the default kernel using the below commands sudo dnf config-manager --set-disabled elrepo* sudo dnf reinstall kernel*
Conclusion
From this tutorial, you have learned how to download and install Linux kernel 6.1 on Rocky Linux 9. X and AlmaLinux 8. X and 9.X Do let us know your comments and feedback in the comments section below. If my articles on TipsonUNIX have helped you, kindly consider buying me a coffee as a token of appreciation.
Tumblr media
Thank You for your support!! Read the full article
0 notes
datamattsson · 2 years ago
Text
Using the Ansible Template Module for Rocky Linux Provisioning
I have about half a rack of gear in a physical lab in a remote location. I’ve never been there and I will probably never go there. That said, I need to do some traditional sysadmin work to keep my environment up and running while synthesizing Kubernetes and automation workloads to document our customer’s use cases.
I inherited three ProLiant servers that had a helplessly bad SmartArray configuration and a very old version of CentOS. I could rebuild the disk array and do a re-install over iLO remotely. That would be a repetitive and somewhat tedious process to run through the Rocky Linux installer three times over in a web browser. Or, should I just automate the process — which will basically take the same amount of time? I chose the latter.
Templating with Ansible
I had iPXE and Kickstart files laying around I created over five years ago since my previous lab was all based on raw KVM images managed with Ansible. I’ve since then moved on to oVirt and provision KVM machines from various templates. I used this old Kickstart file and updated it to fit Rocky Linux 8 (I’m not ready for 9 yet…).
# version=RHEL8 # https://access.redhat.com/labs/kickstartconfig/ # System authorization information (this is deprecated) auth --useshadow --passalgo=sha512 # Use network installation url --url="http://{{ ansible_default_ipv4.address }}/inst/{{ infra_bootstrap }}/BaseOS" repo --name="AppStream" --baseurl="http://{{ ansible_default_ipv4.address }}/inst/{{ infra_bootstrap }}/AppStream" # Keyboard layouts keyboard 'us' # System language lang en_US # SELinux configuration selinux --disabled # Firewall configuration firewall --enabled --ssh # Service config firstboot --disable # Do not configure the X Window System skipx # Network information {% if infra_type == 'ovirt' %} network --bootproto=dhcp --device=enp1s0 --hostname={{ infra_node }} --noipv6 network --bootproto=dhcp --device=enp2s0 --nodefroute --nodns --noipv6 network --bootproto=dhcp --device=enp3s0 --nodefroute --nodns --noipv6 {% endif %} {% if infra_type == 'dlg10' %} network --bootproto=dhcp --device=eno1 --hostname={{ infra_node }} --noipv6 network --bootproto=dhcp --device=ens1f0 --nodefroute --nodns --noipv6 network --bootproto=dhcp --device=ens1f1 --nodefroute --nodns --noipv6 {% endif %} # Reboot after installation reboot # User user --name {{ lookup('ansible.builtin.env', 'USER') }} # Root password rootpw --iscrypted $1$0hHJIBBERISH.c/ # System timezone timezone America/Los_Angeles # System bootloader configuration bootloader --location=mbr --timeout=1 # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel # Disk partitioning information part / --fstype="xfs" --grow --size=1 part swap --fstype="swap" --recommended %packages @^minimal-environment %end %post # User ssh_user={{ lookup('ansible.builtin.env', 'USER') }} # sudo echo "${ssh_user} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers # SSH ssh_home=/home/${ssh_user}/.ssh mkdir -p ${ssh_home} cat > ${ssh_home}/authorized_keys << AUTH {{ lookup('file', '~/.ssh/id_rsa.pub') }} AUTH # Fix perms chmod 700 ${ssh_home} chmod 600 ${ssh_home}/authorized_keys chown $(id -u ${ssh_user}).$(id -g ${ssh_user}) -R $ssh_home # Flush buffers sync %end
This Kickstart file is processed by the Ansible template module put onto a web server. It’s meant to be processed by the account managing the infrastructure, hence the $USER environment variable is the user account being setup on the new server. The Ansible host is the same host running all the networking services. The Ansible inventory looks something like this.
[dls] tme-lnxa infra_bootif=20:67:7c:de:5f:d8 infra_bootstrap=rocky-8 infra_type=dlg10 tme-lnxb infra_bootif=20:67:7c:de:ab:24 infra_bootstrap=rocky-8 infra_type=dlg10 tme-lnxc infra_bootif=20:67:7c:de:8b:a8 infra_bootstrap=rocky-8 infra_type=dlg10 [vms] tme-lnxv infra_bootif=56:6f:f6:cc:00:ae infra_bootstrap=rocky-8 infra_type=ovirt
I had to create an oVirt VM to iterate tests over as rebooting a ProLiant server is quite a lengthy process and hitting the reset button on a KVM machine will have you at the network boot prompt in about 2 seconds.
Another piece of the puzzle is the PXE file served by the pxelinux.0 bootstrap image.
DEFAULT {{ infra_bootstrap }} LABEL {{ infra_bootstrap }} KERNEL /boot/{{ infra_bootstrap }}/vmlinuz APPEND initrd=/boot/{{ infra_bootstrap }}/initrd.img inst.repo=http://{{ ansible_default_ipv4.address }}/inst/{{ infra_bootstrap}} inst.ks=http://{{ ansible_default_ipv4.address }}/kickstart/{{ infra_bootif }}.cfg
This, as well, is processed by the Ansible template module and placed on the TFTP server matching the MAC address of the server you want to bootstrap.
So, what does the processing? This the Ansible role, run on the Ansible host, and you would supply the infra_node as the variable of the host you want to provision.
--- - name: Define facts set_fact: infra_bootif: "{{ hostvars[infra_node]['infra_bootif'] | replace(':', '-') }}" infra_bootstrap: "{{ hostvars[infra_node]['infra_bootstrap'] }}" infra_type: "{{ hostvars[infra_node]['infra_type'] }}" - set_fact: infra_pxe_file: "/opt/tftp-root/pxelinux.cfg/01-{{ infra_bootif }}" infra_kickstart_file: "/var/www/html/kickstart/{{ infra_bootif }}.cfg" - name: Generate PXE config template: src: "{{ infra_bootstrap }}.pxe" dest: "{{ infra_pxe_file }}" - name: Generate kickstart config template: src: "{{ infra_bootstrap }}.ks" dest: "{{ infra_kickstart_file }}" - name: Node reachability shell: ssh {{ infra_node }} hostname register: infra_host_record until: infra_host_record.rc == 0 delay: 1 retries: 3600 - name: Delete PXE config file: path: "{{ infra_kickstart_file }}" state: absent - name: Delete kickstart config file: path: "{{ infra_pxe_file }}" state: absent
The Ansible playbook, utilizing the role, looks like this.
- hosts: localhost connection: local tasks: - name: Assert infra_node is defined assert: that: - infra_node is defined - hostvars[infra_node]['infra_bootif'] is defined - hostvars[infra_node]['infra_bootstrap'] is defined - hostvars[infra_node]['infra_type'] is defined - name: Generate PXE/ks configs include_role: name: pxe
And for completeness, the Ansible playbook command would look like this.
ansible-playbook pxe-prep.yaml -e infra_node=tme-lnxv
This is still a semi-automatic process, for this to “bite”, the server you intend to provision needs to be powered off and manually booted into “network mode”. That process could easily be automated too with either the iLO REST APIs or in the case of oVirt, using the oVirt APIs telling the server/machine to boot from the network on next boot. But since I only had three servers in this case, I could muster rebooting them manually for this exercise.
A typical install takes about five minutes, I recorded a VM install while I made myself a cup of coffee.
Tumblr media
Network Setup
I’m blessed to do what I please on the management network and have full control over the DHCP server and I use dnsmasq for DHCP, DNS and now TFTP. I also have Apache running on this same box to dish out the installation content.
Explaining the full use of dnsmasq is beyond the scope of this blog post, the relevant configuration to enable PXE and TFTP boot are the following directives.
dhcp-boot=pxelinux.0 enable-tftp tftp-root=/opt/tftp-root
The pxelinux.0 image you can grab from most modern distros part of the syslinux package.
This is a representation of the web content served from the Apache server for the installation procedure.
$ tree /var/www/html -d /var/www/html ├── inst │   └── rocky-8 # Directory structure copied from install DVD │   ├── AppStream │   │   ├── Packages │   │   │   ├── 3 │   │   │   ├── a │   │   │   ├── to │   │   │   └── z │   │   └── repodata │   ├── BaseOS │   │   ├── Packages │   │   │   ├── a │   │   │   ├── to │   │   │   └── z │   │   └── repodata │   ├── EFI │   │   └── BOOT │   │   └── fonts │   ��── images │   │   └── pxeboot │   └── isolinux ├── kickstart # This is where the .ks files are served from └── repo # I dump the .iso images here
Summary
There, that should cover it. Generating templates with Ansible for server provisioning is a breeze, you just need to know where to fit all the pieces to bring the workflow to life.
I hope this brief tutorial bring your infrastructure to life, stay tuned for the annual technical blog on datamattsson.io (no seriously, I should write more blogs).
0 notes
dotjunior · 3 years ago
Link
Tumblr media
0 notes
algoentremanos · 3 months ago
Text
Instalamos AIDE en Rocky Linux para comprobar la integridad de tus archivos
Instalamos AIDE en Rocky Linux para comprobar la integridad de tus archivos #RockyLinux #AIDE #Linux
Una de las cosas que deberías de instalar en tu servidor Rocky Linux nada más ponerlo en marcha la primera vez es un sistema IDS (sistema de detección de intrusión), y AIDE (Advanced Intrusion Detection Environment), puede ser la opción perfecta por muchas razones, con el permiso de Tripwire. ¿Por qué? Lo primero, porque es gratuito. Lo segundo porque es muy sencillo de usar y configurar. Te…
0 notes
linux-master · 4 years ago
Text
0 notes