Skip to content

Instantly share code, notes, and snippets.

View LinuxDevOpsGirl's full-sized avatar
🏠
Working from home

Irin Sultana LinuxDevOpsGirl

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am linuxdevopsgirl on github.
  • I am urmi (https://keybase.io/urmi) on keybase.
  • I have a public key ASDitzS0_2_G71DECeRw3xBtl_vD96YMxlNoVeqo-TIY-go

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am linuxdevopsgirl on github.
  • I am urmi (https://keybase.io/urmi) on keybase.
  • I have a public key ASDitzS0_2_G71DECeRw3xBtl_vD96YMxlNoVeqo-TIY-go

To claim this, I am signing this object:

@LinuxDevOpsGirl
LinuxDevOpsGirl / anydesk.sh
Created October 27, 2018 11:55
AnyDesk Install Ubuntu 16 64 Bit Machine
sudo apt update
https://download.anydesk.com/linux/anydesk_4.0.0-1_amd64.deb
sudo dpkg -i anydesk_4.0.0-1_amd64.deb
sudo apt install -f
anydesk
@LinuxDevOpsGirl
LinuxDevOpsGirl / anydeskuninstall.sh
Created October 27, 2018 11:57
Uninstall AnyDesk & Install New AnyDesk Ubuntu 16 64 bit Machine
sudo apt-get purge anydesk
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt update
sudo apt list --upgradable
sudo apt upgrade -y
https://download.anydesk.com/linux/anydesk_4.0.0-1_amd64.deb
sudo dpkg -i anydesk_4.0.0-1_amd64.deb
sudo apt install -f
sudo apt update
@LinuxDevOpsGirl
LinuxDevOpsGirl / rails.sh
Created December 9, 2018 13:49
Ruby On Rails Installation Script For Ubuntu
# install Ruby
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
tar -zxvf ruby-1.9.3-p0.tar.gz
cd ruby-1.9.3-p0
./configure
make
make install
# install RubyGems
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.24.tgz
@LinuxDevOpsGirl
LinuxDevOpsGirl / gist:11bac8781ce8e83d0c28e93d21daa325
Created January 12, 2020 12:08
Install and Configure Git Ubuntu
# For install and configure git Ubuntu run this commands one by one:
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
sudo git config --global user.name "urmi"
sudo git config --global user.email devopsurmi@gmail.com
git --version
git config --list
PowerShell
PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.
Installation via Package Repository - Ubuntu 18.04:
PowerShell Core for Linux is published to package repositories for easy installation and updates.The preferred method is as follows:
# Download the Microsoft repository GPG keys
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
@LinuxDevOpsGirl
LinuxDevOpsGirl / ntopng on Ubuntu 18.04
Created February 11, 2020 12:12
ntopng on Ubuntu 18.04
#!/bin/sh
# This script will install ntopng on Ubuntu
sudo apt update -y
sudo apt upgrade -y
sudo apt install ntopng
sudo systemctl restart ntopng
sudo ntopng -h
sudo ufw enable
sudo ufw allow 3000
@LinuxDevOpsGirl
LinuxDevOpsGirl / Netdata
Created February 19, 2020 14:06
Install Netdata
Netdata
Netdata is an open source tool to visualize and monitor real-time metrics, optimized to accumulate all types of data, such as CPU usage, disk activity, SQL queries, visits to a website, etc.
Netdata is distributed, real-time, performance and health monitoring for systems and applications.
sudo apt update
sudo apt upgrade -y
sudo apt-get install netdata -y
sudo nano /etc/netdata/netdata.conf
Ruby?
Ruby is an interpreted, high-level, general-purpose programming language.
What is Ruby used for?
Ruby is most used for building web applications. However, it is a general-purpose language similar to Python, so it has many other applications like data analysis, prototyping, and proof of concepts. Probably the most obvious implementation of Ruby is Rails web, the development framework built with Ruby.
sudo apt update && sudo apt upgrade -y
cd ~/Downloads/