sudo visudo{USER} ALL=(ALL) NOPASSWD: ALL
sudo apt install vim -y| <VirtualHost *:80> | |
| ServerName local | |
| DocumentRoot /var/www/vhosts/ | |
| # Only log error and not warnings or other notices | |
| # change to info to log everything | |
| LogLevel error | |
| ErrorLog ${APACHE_LOG_DIR}/error.log | |
| CustomLog ${APACHE_LOG_DIR}/access.log combined |
| #!/bin/bash | |
| # Prompt for MySQL credentials | |
| read -p "Enter MySQL username: " MYSQL_USER | |
| read -sp "Enter MySQL password: " MYSQL_PASS | |
| echo | |
| read -p "Enter MySQL database name: " DB_NAME | |
| read -p "Enter old domain (e.g., old.example.com): " OLD_DOMAIN | |
| read -p "Enter new domain (e.g., new.example.com): " NEW_DOMAIN |
I hereby claim:
To claim this, I am signing this object: