deb_mutism

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 Parkdeb_mutism [2019/04/11 11:00] – [Disable sleep/suspend/hibernate] Júne Park
Line 160: Line 160:
  
 ---- ----
 +==== Compiling RTL8821AU wireless driver ==== 
  
 +''purge'' installed driver, which is not working correctly and ''compile'' new driver. 
 +
 +<code bash> 
 +  sudo apt purge rtl8812au-dkms
 +  sudo apt install git
 +  git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
 +  cd rtl8812AU_8821AU_linux
 +  sudo make -f Makefile.dkms install 
 +  sudo modprobe rtl8812au
 +</code> 
 +
 +''check'' driver is installed and recognized by system. 
 +
 +<code bash> 
 +  modinfo rtl8812au | grep A811 // Linux kernel module 
 +  ifconfig    // network adapters 
 +  iwconfig    // wireless configuration 
 +</code> 
 +
 +----
 ==== Let's Encrypted ====  ==== Let's Encrypted ==== 
  
Line 238: Line 259:
  
 ---- ----
-==== Compiling RTL8821AU wireless driver ====  
  
-''purge'' installed driver, which is not working correctly and ''compile'' new driver.  
- 
-<code bash>  
-  sudo apt purge rtl8812au-dkms 
-  sudo apt install git 
-  git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git 
-  cd rtl8812AU_8821AU_linux 
-  sudo make -f Makefile.dkms install  
-  sudo modprobe rtl8812au 
-</code>  
- 
-''check'' driver is installed and recognized by system.  
- 
-<code bash>  
-  modinfo rtl8812au | grep A811 // Linux kernel module  
-  ifconfig    // network adapters  
-  iwconfig    // wireless configuration  
-</code>  
- 
----- 
-==== Disable sleep/suspend/hibernate ==== 
- 
-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 
-</code>  
- 
-----  
  
 ==== Install Wordpress™ =====  ==== Install Wordpress™ ===== 
Line 460: Line 451:
 <code bash>  <code bash> 
 *  *  *  *  * /usr/bin/php -f /path/to/your/owncloud/cron.php *  *  *  *  * /usr/bin/php -f /path/to/your/owncloud/cron.php
 +</code> 
 +
 +----
 +
 +==== Reset MySQL password ==== 
 +
 +Stop the MySQL service
 +<code bash> 
 +sudo /etc/init.d/mysql stop
 +</code>
 +
 +Start MySQL without a password
 +<code bash>
 +sudo mysqld_safe --skip-grant-tables &
 +</code> 
 +
 +Connect to MySQL
 +<code mysql> 
 +mysql -uroot
 +</code> 
 +
 +Set a new MySQL root password
 +<code mysql> 
 +use mysql;
 +update user set authentication_string=PASSWORD("mynewpassword") where User='root';
 +flush privileges;
 +quit
 +</code> 
 +
 +Stop and start the MySQL service
 +<code bash> 
 +sudo /etc/init.d/mysql stop
 +...
 +sudo /etc/init.d/mysql start
 +</code>
 +
 +Log in to the database
 +<code bash> 
 +mysql -u root -p
 </code>  </code> 
  
  • deb_mutism
  • Last modified: 2024/05/21 17:51
  • by Júne Park