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" |
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
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
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
location / { | |
stub_status; | |
} | |
Add stub_status to location. |
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
ldconfig -p | grep {Package name} |
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
https://websiteforstudents.com/manually-install-the-latest-openssl-toolkit-on-ubuntu-16-04-18-04-lts/ |
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
Sıfırlanmış bilgisayara nvidia sitesinden cuda 10 indir. Cuda kurulumunun 1. maddesi zaten gerekli driver versionu buluyor. Bulamazsa | |
kendin bulursun. | |
Bazen 2 bazen 3 kere kurulum gerekebilir. Driver bazen hatalı iniyor. Cuda kuruluna geçtiğinde driver dışında başka birşey kurma. | |
Diğer indirdiklerinin kontrolünü mutlaka tekrar kurmadan yap. |
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
Install 'libpq-dev' and 'postgresql-server-dev-all' |
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
dpkg -s {package_name} | grep 'Version' | |
dpkg -s libboost-dev | grep 'Version' //Sample |
NewerOlder