Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
deb_mutism [2019/04/06 17:58] – [Install ownCloud] Júne Park | deb_mutism [2019/04/11 11:00] – [Disable sleep/suspend/hibernate] Júne Park | ||
---|---|---|---|
Line 160: | Line 160: | ||
---- | ---- | ||
+ | ==== Compiling RTL8821AU wireless driver ==== | ||
+ | '' | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt purge rtl8812au-dkms | ||
+ | sudo apt install git | ||
+ | git clone https:// | ||
+ | cd rtl8812AU_8821AU_linux | ||
+ | sudo make -f Makefile.dkms install | ||
+ | sudo modprobe rtl8812au | ||
+ | </ | ||
+ | |||
+ | '' | ||
+ | |||
+ | <code bash> | ||
+ | modinfo rtl8812au | grep A811 // Linux kernel module | ||
+ | ifconfig | ||
+ | iwconfig | ||
+ | </ | ||
+ | |||
+ | ---- | ||
==== Let's Encrypted ==== | ==== Let's Encrypted ==== | ||
Line 238: | Line 259: | ||
---- | ---- | ||
- | ==== Compiling RTL8821AU wireless driver ==== | ||
- | '' | ||
- | |||
- | <code bash> | ||
- | sudo apt purge rtl8812au-dkms | ||
- | sudo apt install git | ||
- | git clone https:// | ||
- | cd rtl8812AU_8821AU_linux | ||
- | sudo make -f Makefile.dkms install | ||
- | sudo modprobe rtl8812au | ||
- | </ | ||
- | |||
- | '' | ||
- | |||
- | <code bash> | ||
- | modinfo rtl8812au | grep A811 // Linux kernel module | ||
- | ifconfig | ||
- | iwconfig | ||
- | </ | ||
- | |||
- | ---- | ||
- | ==== Disable sleep/ | ||
- | |||
- | When a system goes to sleep, suspend or hibernate mode, response from machine is extremely slow or timed out. Soon after waking up, system responses quickly. To prevent this, | ||
- | |||
- | <code bash> | ||
- | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
- | </ | ||
- | |||
- | ---- | ||
==== Install Wordpress™ ===== | ==== Install Wordpress™ ===== | ||
Line 460: | Line 451: | ||
<code bash> | <code bash> | ||
* * * * * / | * * * * * / | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Reset MySQL password ==== | ||
+ | |||
+ | Stop the MySQL service | ||
+ | <code bash> | ||
+ | sudo / | ||
+ | </ | ||
+ | |||
+ | Start MySQL without a password | ||
+ | <code bash> | ||
+ | sudo mysqld_safe --skip-grant-tables & | ||
+ | </ | ||
+ | |||
+ | Connect to MySQL | ||
+ | <code mysql> | ||
+ | mysql -uroot | ||
+ | </ | ||
+ | |||
+ | Set a new MySQL root password | ||
+ | <code mysql> | ||
+ | use mysql; | ||
+ | update user set authentication_string=PASSWORD(" | ||
+ | flush privileges; | ||
+ | quit | ||
+ | </ | ||
+ | |||
+ | Stop and start the MySQL service | ||
+ | <code bash> | ||
+ | sudo / | ||
+ | ... | ||
+ | sudo / | ||
+ | </ | ||
+ | |||
+ | Log in to the database | ||
+ | <code bash> | ||
+ | mysql -u root -p | ||
</ | </ | ||