Da CentOs a Oracle

Sono a digiuno di Linux, devo passare un serverino da Centos a Oracle 8. Cosa mi conviene fare?
Script oppure installazione da zero.
Devo mantenere il raid su due dischi, devo fare qualcosa di particolare?

non ti saprei rispondere. ma utilizzo chatgpt :asd: poi vediamo se dice giusto e cosa ne pensano gli umani :asd:

Passare un server da CentOS a Oracle Linux 8 può essere fatto in due modi principali:

  1. Conversione in-place (script)
  2. Installazione da zero (fresh install)

1. Conversione in-place con script

Oracle fornisce uno script ufficiale per convertire CentOS 8 in Oracle Linux 8: centos2ol.sh.

Vantaggi

:white_check_mark: Mantieni le impostazioni attuali, utenti, configurazioni e RAID
:white_check_mark: Eviti il downtime lungo di una reinstallazione
:white_check_mark: PiĂą veloce se il sistema non ha problemi

Svantaggi

:x: Se il sistema ha problemi, te li porti dietro
:x: Possibile incompatibilitĂ  con alcuni pacchetti
:x: Rischio di fallimento della conversione, richiedendo comunque una reinstallazione

Procedura

  1. Assicurati di avere un backup completo del sistema
    Usa strumenti come rsync, tar, o snapshot se usi LVM.

  2. Scarica e avvia lo script di conversione

    sudo dnf install -y curl
    sudo curl -O https://raw.githubusercontent.com/oracle/centos2ol/main/centos2ol.sh
    sudo bash centos2ol.sh
    
  3. Riavvia il sistema

    sudo reboot
    
  4. Verifica la nuova versione

    cat /etc/os-release
    uname -r
    

non mi fa postare il resto :
edit: la seconda soluzione non me la fa postare

2. Installazione da zero (fresh install)

Se preferisci un ambiente pulito, l’installazione da zero è la scelta migliore.

Vantaggi

:white_check_mark: Nessun problema ereditato dalla vecchia installazione
:white_check_mark: PiĂą sicuro e stabile nel lungo periodo
:white_check_mark: Puoi impostare tutto nel modo ottimale

Svantaggi

:x: Devi riconfigurare tutto manualmente
:x: Downtime piĂą lungo
:x: Rischi di perdere dati se non esegui un backup corretto

Gestione del RAID durante l’installazione

Se hai un RAID software (con mdadm o LVM), ecco cosa devi fare:

Se scegli la conversione in-place

:white_check_mark: Il RAID non verrĂ  toccato, quindi non devi fare nulla.

Quale metodo scegliere?

  • Vuoi la soluzione piĂą veloce e hai un backup? → Usa lo script di conversione (centos2ol.sh)
  • Vuoi un sistema pulito e stabile nel lungo periodo? → Fai un’installazione da zero

Se il server è critico e hai tempo per una reinstallazione, consiglio l’installazione pulita, per evitare eventuali problemi residui della vecchia installazione.

OK sto un pò più avanti di chatgpt, questo si altrimenti non mi ci metterei proprio :asd:
Mi farò il segno della croce e che gli dei me la mandino buona

è un po’ vaga la domanda.

come ce l’hai il raid? mdadm?
quali servizi particolari hai? cambia tanto, ad esempio, se c’è qualcosa di containerizzato e con un po’ di struttura sugli spazi accessibli.
hai una situazione di due macchine contemporaneamente operative, o è una macchina che andrà disattivata?

Almalinux

L’ho fatto anni fa, devo controllare ma dovrebbe essere un semplice raid 1 da BIOS.
Semplicemente devo aggiornare da un os all’altro usando lo stesso server

Il programma che utilizziamo supporta solo Oracle 8 o windows server, magari è uguale ma non voglio problemi con la software house

ma…che senso ha contribuire ad un topic senza avere idea di quello che si dice? lo saprà usare anche lui chatGPT no?

1 Like

A me sta sul culo chatgpt pero’ non so cosa dirti ma so usare google (duckduckgo really) quindi beccati anche questa di risposta che almeno siamo sicuri di coprire tutte le basi.

docs.oracle.com


https://docs.oracle.com › en › learn › switch_centos8_linux8

Switch from CentOS 8 to Oracle Linux 8 - Oracle Help Center

Disable or remove stale and non-CentOS repositories; Ensure 5GB free space in /var/cache; Disable all automatic updates, including dnf-automatic; Prerequisite. A system with CentOS 8 installed. Check the CentOS Version. Open a terminal and connect to your instance. Get the version of CentOS.

Only include results for this siteHide site from these results* Share feedback about this site



ORACLE-BASE


https://oracle-base.com › articles › linux › convert-centos8-to-oracle-linux-8

ORACLE-BASE - Convert CentOS 8 to Oracle Linux 8 (OL8)

We display the contents of the “/etc/centos-release” file, which shows we have a CentOS 8.2 installation. $ cat /etc/centos-release CentOS Linux release 8.2.2004 (Core) $ Download the conversion script from the Oracle GitHub repo, and run it. Then wait while it downloads the packaged as switches you from CentOS to Oracle Linux.

Only include results for this siteHide site from these results* Share feedback about this site



Linuxiac


https://linuxiac.com › centos-8-to-oracle-linux-8-migration

CentOS 8 to Oracle Linux 8 Migration: A Step-by-Step Guide

The Oracle Linux Server 8 entry will be the first on the list, so press Enter to boot into your newly Oracle Linux 8 distro. Step 4: Confirm CentOS 8 to Oracle Linux 8 Successful Migration. You’ll probably want to run some tests to ensure that you are satisfied with the result. For example, let’s try to update our package base.

Only include results for this siteHide site from these results* Share feedback about this site



docs.oracle.com


https://docs.oracle.com › en › solutions › migrate-centos-ora-linux › index.html

About Switching from CentOS Linux to Oracle Linux - Oracle Help Center

Oracle provides support services for issues that might arise when switching from CentOS to Oracle Linux. Open a GitHub issue for non-security related bug reports, questions, or requests for enhancements.; To report a security issue or vulnerability, do not raise a GitHub Issue. If you believe you have found a security vulnerability, please submit a report to [email protected], preferably …

Only include results for this siteHide site from these results* Share feedback about this site



Oracle Blogs


https://blogs.oracle.com › scoter › post › upgrade-centos-7-to-oracle-linux-8

Migrate and Upgrade: CentOS 7 to Oracle Linux 8 in one step - Oracle Blogs

Apr 2, 2024After reboot, login to the system and check how the migration went. Verify that the current OS is Oracle Linux 8 to then check packages left from CentOS 7 that could be removed or updated manually; finally, look at the upgrade logs to check the upgrade process correctly completed. # cat /etc/oracle-release # cat /etc/os-release # rpm -qa | grep el7

Only include results for this siteHide site from these results* Share feedback about this site



Oracle Blogs


https://blogs.oracle.com › scoter › post › switching-from-centos-to-oracle-linux-a-hands-on-example

Switching from CentOS to Oracle Linux: a hands-on example

So, while CentOS Linux 7 will follow its current life cycle and be maintained, anyone currently using CentOS Linux 8 as a drop-in RHEL replacement have to decide whether to switch to CentOS Stream (and thus lose 1:1 compatibility with RHEL, which has implications for development and test environments) or switch to RHEL which requires paid support subscriptions.

Only include results for this siteHide site from these results* Share feedback about this site



Linux Shout


https://linux.how2shout.com › how-to-migrate-centos-linux-6-7-8-servers-to-oracle-linux

How to Migrate CentOS Linux 6, 7, 8 servers to Oracle Linux

Centos Linux 8 server or desktop which would be out of the shelf by the Redhat next year becomes a topic of apprehension for some users or administrators. … one of the popular alternatives which are available to switch the CentOS 6 or 8 is the Oracle Linux, which is free and works with the same binaries used by the CentOS after all both are …

Only include results for this siteHide site from these results* Share feedback about this site



dbi-services.com


https://www.dbi-services.com › blog › migrating-centos-8-to-oracle-linux-ol8

Migrating CentOS 8 to Oracle linux OL8 - dbi Blog

In this blog we will see how to migrate from CentOS 8 to Oracle Linux 8. centos2ol.sh Oracle Script. Oracle provides a script to be able to switch from CentOS Linux 6, 7 or 8 to its equivalent version of Oracle Linux. The script as well as requirements, limitations, know issues and explanations can be found on the oracle GitHub website.

Only include results for this siteHide site from these results* Share feedback about this site



ORACLE-BASE


https://oracle-base.com › blog › 2020 › 12 › 17 › switching-from-centos-8-to-oracle-linux-8-ol8

Switching from CentOS 8 to Oracle Linux 8 (OL8)

We display the contents of the “/etc/centos-release” file, which shows we have a CentOS 8.2 installation. $ cat /etc/centos-release CentOS Linux release 8.2.2004 (Core) $ Download the conversion script from the Oracle GitHub repo, and run it. Then wait while it downloads the packaged as switches you from CentOS to Oracle Linux. curl -O …

Only include results for this siteHide site from these results

Share feedback about this site



CentLinux


https://centlinux.com › migrate-centos-8-to-oracle-linux

How to migrate CentOS 8 to Oracle Linux - CentLinux

Final Thoughts. Embarking on the journey to migrate from CentOS 8 to Oracle Linux is a strategic move towards stability and reliability. Our comprehensive guide ensures a smooth transition, safeguarding your data and maintaining operational continuity.

Qualcuno puo’ chiedere a copilot anche? grazie :sisi:

Non so perché ma la vedo brutta a fare un cambio OS da script, ma sono veramente curioso di come va.
Alla fine se qualcosa non funziona a dovere grado tutto, sarĂ  stata solo una perdita di tempo.

beh, spero che prima ti farai un immagine con clonezilla… no?? :asd:

magari prova prima su un pc muletto a restorare l’immagine e testare lo script di migrazione e vedi come va…

Su questo non ho necessità perché le cartelle d’interesse le ho già salvate.
Certo se mi funziona senza rifare le impostazioni di rete, per esempio, sarebbe un plus per lo script.

Alla fine niente script altrimenti la software house piangeva.
Installato in automagico, tutto OK.

Secondo voi come programma su windows per fare back up di cartelle da Oracle nel Nas, che devo usare?
Sono rimasto a Cobian, mi servirebbe un salvataggio incrementale giornaliero