-
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://www.youtube.com/watch?v=LzMnsfqjzkA
|
||||
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://www.youtube.com/watch?v=p3sij8QzONQ
|
||||
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://www.youtube.com/watch?v=mvleESOUTRw
|
||||
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://www.youtube.com/watch?v=n1vOfdz5Nm8
|
||||
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://linux.how2shout.com/how-to-increase-swap-space-in-ubuntu-22-04-lts-jammy/
|
||||
4
Linux/Linux commands.md
Normal file
4
Linux/Linux commands.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Linux commands
|
||||
|
||||
## Keyboard
|
||||
sudo dpkg-reconfigure keyboard-configuration
|
||||
65
Linux/MySQL.md
Normal file
65
Linux/MySQL.md
Normal file
@@ -0,0 +1,65 @@
|
||||
Linux connab
|
||||
# MySQL
|
||||
|
||||
## How To Install MySQL on Ubuntu 24.04
|
||||
[Install MySQL](https://linuxgenie.net/install-mysql-ubuntu-24-04/)
|
||||
|
||||
## MySQL Commands Cheat Sheet
|
||||
[MySQL Cheat Sheet](https://phoenixnap.com/kb/mysql-commands-cheat-sheet)
|
||||
|
||||
## Install with apt
|
||||
|
||||
- sudo apt update
|
||||
- sudo apt install mysql-server
|
||||
- sudo systemctl start mysql.service
|
||||
- secure your installation by running sudo mysql_secure_installation
|
||||
|
||||
|
||||
## Start, stop, restart server
|
||||
|
||||
- sudo systemctl start mysql
|
||||
- sudo systemctl stop mysql
|
||||
- sudo systemctl restart mysql
|
||||
|
||||
[Start, Stop, Restart MySQL](https://www.mysqltutorial.org/mysql-administration/stop-mysql/)
|
||||
|
||||
## How to Change MySQL Password Policy Level
|
||||
[MySQL Password Policy](https://tecadmin.net/change-mysql-password-policy-level/)
|
||||
|
||||
### Show password settings
|
||||
SHOW VARIABLES LIKE 'validate_password%';
|
||||
|
||||
### Set password policy
|
||||
SET GLOBAL validate_password.policy=LOW;
|
||||
|
||||
|
||||
## How to Find the MYSQL Configuration File "my.cnf".
|
||||
[my.cnf](https://www.geeksforgeeks.org/linux-unix/how-to-find-the-mysql-configuration-file-my-cnf/)
|
||||
|
||||
## How to Allow MySQL Remote Access Securely (2025 Guide)
|
||||
[How to Allow MySQL Remote Access Securely (2025 Guide)](https://www.digitalocean.com/community/tutorials/how-to-allow-remote-access-to-mysql)
|
||||
|
||||
## Grant permissions
|
||||
|
||||
|
||||
### Not Allowed to Create User with GRANT
|
||||
[Not allowed to GRANT](https://askubuntu.com/questions/1322175/not-allowed-to-create-user-with-grant)
|
||||
|
||||
|
||||
## How to create MySQL admin user (superuser) account
|
||||
[Create MySQL admin user](https://www.cyberciti.biz/faq/how-to-create-mysql-admin-user-superuser-account/)
|
||||
|
||||
|
||||
### List users
|
||||
Use the following command to list users with their plugins:
|
||||
|
||||
SELECT USER,plugin FROM mysql.user;
|
||||
SELECT USER,plugin,host,ssl_type FROM mysql.user;
|
||||
SELECT USER,plugin,host FROM mysql.user;
|
||||
|
||||
|
||||
### How do I turn off the mysql password validation?
|
||||
[Disable MySQL password validation](https://stackoverflow.com/questions/36301100/how-do-i-turn-off-the-mysql-password-validation)
|
||||
|
||||
### MySQL Show User Privileges
|
||||
[MySQL Show User Privileges](https://phoenixnap.com/kb/mysql-show-user-privileges)
|
||||
14
Linux/expand_lvm_partition.md
Normal file
14
Linux/expand_lvm_partition.md
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
# Ubuntu Server
|
||||
## Expand partition using LVM
|
||||
|
||||
To expand a partition using LVM on Ubuntu Server, first check for free space in your volume group with
|
||||
|
||||
`` sudo vgdisplay ``
|
||||
|
||||
Then, extend the logical volume with
|
||||
`` sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv ``
|
||||
|
||||
and resize the filesystem using
|
||||
`` sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv ``
|
||||
to apply the changes.
|
||||
11
Linux/sup.sh
Normal file
11
Linux/sup.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
# Update system
|
||||
|
||||
sudo apt update
|
||||
sudo apt upgrade -y
|
||||
|
||||
# sudo apt full-upgrade -y
|
||||
|
||||
# sudo apt autoremove -y
|
||||
sudo apt autoremove --purge -y
|
||||
|
||||
# sudo apt-get dist-upgrade -y
|
||||
BIN
MySQL/MySQL-Cheat-Sheet-websitesetup.org_.pdf
Normal file
BIN
MySQL/MySQL-Cheat-Sheet-websitesetup.org_.pdf
Normal file
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://forum.proxmox.com/threads/pbs-mounting-windows-smb-share-as-datastore.113164/
|
||||
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://www.diskinternals.com/raid-recovery/zfs-raid-expansion/
|
||||
@@ -24,3 +24,7 @@ https://torrentgalaxy.to/profile/rondobym
|
||||
|
||||
## The Pirate Bay
|
||||
https://thepiratebay.org/
|
||||
|
||||
# Torrent Tracker Lists
|
||||
|
||||
https://github.com/ngosang/trackerslist
|
||||
|
||||
Reference in New Issue
Block a user