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
people:tomka [2019/10/14 14:18]
admin
people:tomka [2019/10/15 17:28] (current)
tomka [Nastaveni site]
Line 54: Line 54:
  
  
-===== MySQL backup user ===== +====== MySQL backup user ====== 
-1. mysql -u root -p +   ​mysql -u root -p 
-2. grant select, ​table lock, super, process, reload on *.* to backup identified by 'tajneheslo'+   use mysql 
 +    
 +   ​select user from mysql.user;  
 +    
 +   grant select, lock tables, super, process, reload on *.* to backup identified by 'cah7Eingoogh'
 +    
 +   
 +   ​update user set password=password('​cah7Eingoogh'​) where user='​backup';​ 
 +   flush privileges;​ 
 +    
 +   ​ctrl+d quit 
 +   bacha na stredniky 
 +====== Puppet ====== 
 +spusteni puppetu na serveru : puppet agent -t
  
  
 +====== Hostname rename ======
  
 +1) vi /​etc/​hostname
 +2) vi /etc/hosts
 +3) hostname nazev
 +4) odhlasit a prihlasit
  
 +
 +
 +====== Nastaveni site ======
 +ip a
 + * a k nenastavene ens viz dale 
 +
 +vi /​etc/​network/​interfaces
 +
 +pridat do toho souboru:
 +auto ens9
 +iface ens9 inet dhcp
 +
 +ens podle :
 +source /​etc/​network/​interfaces
 +
 +nakonec spustit:
 +
 +ifup ens9
 ======Sound ====== ======Sound ======
 When all gui fail, try //​alsamixer//​ When all gui fail, try //​alsamixer//​
  
    
 
people/tomka.1571055525.txt.gz · Last modified: 2019/10/14 14:18 by admin