Ir para conteúdo
Facebook Whatsapp Twitter Youtube

Master

Banido
  • Total de Posts

    116
  • Registro em

  • Última visita

  • Dias Ganhos

    85

Tudo que Master postou

  1. #!/bin/bash # Install MariaDB repository sudo tee /etc/yum.repos.d/MariaDB.repo <<EOF # MariaDB 10.6 CentOS repository list - created 2023-04-20 10:00 UTC # [Conteúdo Oculto] [mariadb] name = MariaDB baseurl = [Conteúdo Oculto] gpgkey=[Conteúdo Oculto] gpgcheck=1 EOF # Install MariaDB 10.6 echo "Installing MariaDB 10.6..." yum install -y mariadb-server # Start MariaDB service echo "Starting MariaDB service..." systemctl start mariadb # Check if MariaDB is running if ! systemctl status mariadb &> /dev/null; then echo "Failed to start MariaDB." exit 1 fi # Set a random password for MariaDB password=$(openssl rand -base64 20) echo "Generated password: $password" # Save the password to a file echo $password > ~/mariadb_password.txt # Secure MariaDB installation echo "Securing MariaDB installation..." mysql -e "DELETE FROM mysql.user WHERE User='';" mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" mysql -e "DROP DATABASE IF EXISTS test;" mysql -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\_%';" mysql -e "FLUSH PRIVILEGES;" mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '$password';" echo "MariaDB installation complete."
  2. Nada mal em Bruce isso ai ja e muito bom, pensei ja isso faz anos atrás porque eles não deixou para não precisa reniciar o servidor para atualização
  3. alguém sabe numero responsável cada classe no arquivo scenectrl ?
  4. Master

    Aipolicy editor

    AIEditor1.3.7z
  5. Master

    GS Editor

    Suporta versões: 1.3.1 - 1.5.5 GSEditor_v.1.3.7z
  6. Master

    ECM Editor

    ECM_Editor_v1.1.7z

Suporte GM

Comunidade de Perfect World do Brasil

Copyright © 2023-2024 SuporteGM Powered by Invision Community
Поддержка Invision Community в России

Links

×
×
  • Criar Novo...