Difference between revisions of "WebServer - Debian based Linux"
(Created page with "=MySQL on Debian= Debian does not have MySQL in its repositories... :( We can solve this! Check the [https://dev.mysql.com/downloads/repo/apt/ MySQL download page] for cur...") |
|||
Line 10: | Line 10: | ||
* <code>sudo apt install ./mysql-apt-config_0.8.20-1_all.deb</code> | * <code>sudo apt install ./mysql-apt-config_0.8.20-1_all.deb</code> | ||
− | On LMDE, Select '''"debian buster"''' (It won't ask on Debian...) | + | On LMDE 4 or SparkyLinux 5, Select '''"debian buster"''' (It won't ask on Debian...) |
Select '''"Ok"''' | Select '''"Ok"''' |
Revision as of 15:17, 1 January 2022
MySQL on Debian
Debian does not have MySQL in its repositories... :(
We can solve this!
Check the MySQL download page for current version...
wget https://dev.mysql.com/get/mysql-apt-config_0.8.20-1_all.deb
sudo apt install ./mysql-apt-config_0.8.20-1_all.deb
On LMDE 4 or SparkyLinux 5, Select "debian buster" (It won't ask on Debian...)
Select "Ok"
Select "Ok"
sudo apt update
sudo apt upgrade
Now you can go ahead & pretend they haven't dropped MySQL from the Debian repos...
VIM (& fixing it on Debian)
(as installed on Debian) has mouse weirdness. Selecting text with the mouse automatically enters visual mode. This prevents useful things like using the mouse to copy/paste while editing in the terminal. (Visual Mode is stupid...)
Solution
Either enter:
:set mouse-=a
during an editing session, or even better, put it (without the leading colon) in your ~/.vimrc
file. (create the .vimrc
file if it's not already there...)
vim ~/.vimrc
set mouse-=a
If you tend to use vim via sudo a lot... (duh... Who doesn't?)
sudo vim ~root/.vimrc
Sadly, this seems to turn off the colour syntax hilighting.
But!
add
syntax on
to the .vimrc files & it's back.