Skip to content

Instantly share code, notes, and snippets.

View sivakumarbdu's full-sized avatar

Sivakumar Vadivelu sivakumarbdu

View GitHub Profile
https://docs.docker.com/engine/install/fedora/
sudo mkdir /sys/fs/cgroup/systemd
sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
Gnome box image located at ~/.local/share/gnome-boxes/images
qemu-img convert -O vdi inputImage VirtualBoxImage.vdi
sudo yum install "kernel-devel-uname-r == $(uname -r)"
@sivakumarbdu
sivakumarbdu / Install-docker-curl
Created November 8, 2019 05:12
Install docker with curl
curl -fsSL https://get.docker.com -o get-docker.sh
966 sh get-docker.sh
@sivakumarbdu
sivakumarbdu / nginx.conf
Last active September 25, 2019 09:51
Nginx Domain name based routing
worker_processes 4;
events { worker_connections 1024; }
http {
upstream app1 {
least_conn;
server app:3000 weight=10 max_fails=3 fail_timeout=30s;
}
upstream app2 {
least_conn;
@sivakumarbdu
sivakumarbdu / nginx.conf
Created September 24, 2019 04:55
Nginx Routing Base based
worker_processes 4;
events { worker_connections 1024; }
http {
upstream app1_stream {
least_conn;
server app1:3000 weight=10 max_fails=3 fail_timeout=30s;
}
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
git remote add new_repo new_branc_url:
git push new_repo 'refs/remotes/origin/*:refs/heads/*'
/usr/lib/systemd/system/docker.service
sudo yum install postgresql-devel
sudo dnf install qt5-qtwebkit-devel
export QMAKE=/usr/bin/qmake-qt5