Skip to content

Instantly share code, notes, and snippets.

View Ramonymous's full-sized avatar
💭
Work

Rama Pamungkas Ramonymous

💭
Work
View GitHub Profile
<?php
$configs = [
//Подключение к базе
'database' => [
'host' => '127.0.0.1',
'username' => 'mysql',
'password' => 'mysql',
'database' => 'pw',
],
#!/bin/bash
#
# Automate mysql secure installation for debian-baed systems
#
# - You can set a password for root accounts.
# - You can remove root accounts that are accessible from outside the local host.
# - You can remove anonymous-user accounts.
# - You can remove the test database (which by default can be accessed by all users, even anonymous users),
# and privileges that permit anyone to access databases with names that start with test_.
@Ramonymous
Ramonymous / Centos 7 LAMP Stack.md
Last active February 13, 2024 15:01 — forked from fernandoaleman/mysql-8.0-gpg-fix.md
The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.

Centos 7 LAMP Stack with MYSQL-Server 8.0 & PHP 8.3

Updating Libs

sudo yum update

Installing HTTPD Service

sudo yum -y install httpd; systemctl start httpd; systemctl enable httpd; systemctl status httpd