This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Apache htpasswd generator indir. | |
| Bir .htpasswd dosyası generate et. | |
| location / { | |
| # stub_status on; | |
| #auth_basic "Kısıtlı alan"; | |
| #auth_basic_user_file /etc/nginx/htpasswd/.htpasswd; | |
| #Eğer yukardaki 2 satırı aktif yaparsan şifreleme(özünde hashing) aktif oluyor. | |
| #Yeni kullanıcı ve şifre tanımlamak için: htpasswd -c /etc/nginx/htpasswd/.htpasswd kullanıcıadi | |
| #Bir yukarıdaki komut .htpasswd dosyasında ismine ve şifrene göre hashing yapıyor. Burada hash kodunu görebilirsin. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export GOROOT=/usr/local/go | |
| export GOPATH=$HOME/go | |
| export PATH=$GOPATH/bin:$GOROOT/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # my global config | |
| global: | |
| scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. | |
| evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. | |
| # scrape_timeout is set to the global default (10s). | |
| # Attach these labels to any time series or alerts when communicating with | |
| # external systems (federation, remote storage, Alertmanager). | |
| external_labels: | |
| monitor: 'codelab-monitor' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ip link set dev {devicename} up | |
| dhclient -v {devicename} | |
| Device name can be found with "service --status-all" |
OlderNewer