Nicole Ribeiro
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Satellite - Servidores: - xx.xx.xx.222 Poc Satellite hsat01 rhel 8 Satellite - xx.xx.xx.223 Poc Satellite hsat02 rhel 8 Capsule - xx.xx.xx.232 Poc Satellite hsat03 rhel 7 client - xx.xx.xx.199 Poc Satellite hsat06 centos 7 Client - xx.xx.xx.203 Poc Satellite hsat07 rhel 7 Client - xx.xx.xx.121 Poc Satellite hsat08 centos 7 Client Gestão de conteudo no satellite https://access.redhat.com/documentation/en-us/red_hat_satellite/6.10/html/content_management_guide/index ### Satellite Server https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html/installing_satellite_server_in_a_connected_network_environment/installing_server_connected_satellite#registering-to-red-hat-subscription-management_satellite subscription-manager list --all --available --matches 'Red Hat Satellite' subscription-manager attach --pool=2c94327f82fed3340183380b73900f37 subscription-manager repos --disable "*" subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms --enable=satellite-6.11-for-rhel-8-x86_64-rpms --enable=satellite-maintenance-6.11-for-rhel-8-x86_64-rpms dnf module enable satellite:el8 dnf update dnf install satellite satellite-installer --scenario satellite --foreman-initial-organization "My_Organization" --foreman-initial-location "My_Location" --foreman-initial-admin-username admin_user_name --foreman-initial-admin-password admin_password scp ~/manifest_file.zip root@satellite.example.com:~/. hammer subscription upload --file ~/manifest_file.zip --organization "My_Organization" Setup Remote Execution using non-root https://access.redhat.com/solutions/2650071 hammer settings set --name remote_execution_ssh_user --value rexuser hammer settings set --name remote_execution_effective_user --value root Alocar subscrições https://access.redhat.com/management/subscription_allocations #### SSH server satellite cat /etc/ssh/ssh_config.d/01-client.conf ServerAliveCountMax 300 ServerAliveInterval 30 ### Para analise pré upgrade RHEL7 para RHEL8 satellite-installer --enable-foreman-plugin-leapp #### Registrar VM no Satellite rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm - 19 Setembro 2022 - Configurar o Satellite 6.11 - Criar chave de ativação - Registrar Client RHEL 7.x Registrar VM rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm - Registrar Cliente RHEL 8.x - Converter CentOS 7.9 Variáveis do Convert2rhel LAB= #org SPO= #location hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_rhel_wait_for_syncs --variable-type boolean --default-value false --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_organization --variable-type string --default-value "LAB" --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_password --variable-type string --default-value " SENHA " --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_username --variable-type string --default-value "admin" --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_server_url --variable-type string --default-value "https://satellite.example.com" --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_validate_certs --variable-type boolean --default-value true --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_content_rhel_enable_rhel7 --variable-type boolean --default-value true --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_content_rhel_enable_rhel8 --variable-type boolean --default-value true --override true hammer ansible variables create --location "$SPO" --organization "$LAB" --ansible-role redhat.satellite.convert2rhel --variable satellite_manifest_path --variable-type string --default-value "/usr/share/satellite/manifest_satellite611_20220916T163540Z.zip" --override true ## Capsule Server Atividades no Lado do Satellite Interface Web Importar Repositório no Satellite satellite-capsule-6.11-for-rhel-8-x86_64-rpms satellite-maintenance-6.11-for-rhel-8-x86_64-rpms Instalação Capsule Server https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html/installing_capsule_server/preparing-environment-for-capsule-installation Liberar Firewall - No Satellite Server Liberar Firewall para o Capsule Conectar firewall-cmd --add-port="5646/tcp" firewall-cmd --runtime-to-permanent No Capsule Sever - Liberar Firewall firewall-cmd \ --add-port="53/udp" --add-port="53/tcp" \ --add-port="67/udp" \ --add-port="69/udp" \ --add-port="80/tcp" --add-port="443/tcp" \ --add-port="5647/tcp" \ --add-port="8140/tcp" \ --add-port="8443/tcp" \ --add-port="8000/tcp" --add-port="9090/tcp" firewall-cmd --runtime-to-permanent firewall-cmd --list-all Registrar a VM do Capsule 1- Registra VM subscription-manager repos --disable "*" subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms --enable=rhel-8-for-x86_64-appstream-rpms --enable=satellite-capsule-6.11-for-rhel-8-x86_64-rpms --enable=satellite-maintenance-6.11-for-rhel-8-x86_64-rpms dnf module enable satellite-capsule:el8 Atualizar a VM yum update dnf install satellite-capsule Atividades do Lado do Satellite - SSH mkdir /root/capsule_cert capsule-certs-generate --foreman-proxy-fqdn capsule.example.com --certs-tar /root/capsule_cert/capsule_certs.tar Copiar a linha de comando gerada aqui. 1. Ensure that the satellite-capsule package is installed on the system. 2. Copy the following file /root/capsule_cert/capsule_certs.tar to the system hsat02.domain.com.br at the following location /root/capsule_certs.tar scp /root/capsule_cert/capsule_certs.tar root@hsat02.domain.com.br:/root/capsule_certs.tar 3. Run the following commands on the Capsule (possibly with the customized parameters, see satellite-installer --scenario capsule --help and documentation for more info on setting up additional services): satellite-installer \ --scenario capsule \ --certs-tar-file "/root/capsule_certs.tar"\ --foreman-proxy-register-in-foreman "true"\ --foreman-proxy-foreman-base-url "https://hsat01.domain.com.br"\ --foreman-proxy-trusted-hosts "hsat01.domain.com.br"\ --foreman-proxy-trusted-hosts "hsat02.domain.com.br"\ --foreman-proxy-oauth-consumer-key "P4vMHf5BmfazEXJE5UYnjXPJ2zZiowGm"\ --foreman-proxy-oauth-consumer-secret "Xpp33vXS4GxPDuSe8G6BEKbRhxyezYAu" https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html/configuring_red_hat_satellite_to_use_ansible/getting-started-with-ansible_ansible satellite-installer --scenario capsule --enable-foreman-proxy-plugin-ansible Copiar arquivo com certificados para o Capsule scp /root/capsule_cert/capsule.example.com-certs.tar \ root@capsule.example.com:/root/capsule.example.com-certs.tar Criar chave de ativação amarrada ao contentview ## Compliance Scap Valida se a feature do openscap está habilitada no satellite hammer capsule info --name satellite.sample.com.br Valida se o pacote do opensacap esta instalado yum info scap-security-guide Fazer upload das polices default hammer scap-content bulk-upload --type default Importar ansible roles no webUI Configure>Roles /usr/bin/foreman_scap_client ds 1 2>&1 | logger -t foreman_scap_client

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully