This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum install cockpit | |
| systemctl enable --now cockpit.socket | |
| sudo firewall-cmd --add-service=cockpit --permanent | |
| sudo firewall-cmd --reload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| mkdir my_project && cd my_project | |
| python3.9 -m venv venv | |
| . venv/bin/activate | |
| echo "flask==2.22" > requirements.txt | |
| pip3.9 install -r requirements.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| ## installation .. | |
| # | |
| yum install -y pcp pcp-gui pcp-system-tools pcp-doc | |
| systemctl start pmcd | |
| ## explore .. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Module location | |
| ls /lib/modules/{uname -r}/kernel | |
| # list currently loaded ones | |
| lsmod | |
| # display details | |
| modinfo virio | |
| # load |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # The basic, client, and server packages | |
| yum install -y openldap openldap-clients openldap-servers | |
| # ldap name service for local queries .. | |
| yum install -y nss-pam-ldapd | |
| # apache support .. | |
| yum install -y mod-ldap |
OlderNewer