Skip to content

Instantly share code, notes, and snippets.

View linuxoracledev's full-sized avatar
💭
I may be slow to respond.

Mohammad Abul Kalam Azad linuxoracledev

💭
I may be slow to respond.
View GitHub Profile
@linuxoracledev
linuxoracledev / hyper.js
Created March 16, 2020 09:49 — forked from coco-napky/hyper.js
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@linuxoracledev
linuxoracledev / laravel.sh
Last active February 11, 2020 21:59
Install Laravel PHP Framework On Ubuntu 16.04 | 17.10 | 18.04
#Update and Upgrade the system
sudo apt update
sudo apt-get upgrade
# Add ppa repository
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
#Install Apache2
sudo apt install apache2
@linuxoracledev
linuxoracledev / VMWare.sh
Created February 6, 2020 19:42
How to Install VMware Workstation Player on Ubuntu 18.04
#Install the build dependencies
sudo apt update
sudo apt install build-essential linux-headers-generic
#Download VMware Workstation Player
wget --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0" https://www.vmware.com/go/getplayer-linux
#Make the installation file executable
chmod +x getplayer-linux
@linuxoracledev
linuxoracledev / filezilla-vsftpd.sh
Last active February 2, 2020 19:35
How to install FileZilla and configure vsftpd to allow a user to upload files to his home directory using FTP with login credentials secured by SSL/TLS.
#Update the system and install filezilla and vsftpd
sudo apt-get update
sudo apt install filezilla
sudo apt-get install vsftpd
#Copy the original configuration file as a backup
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.orig
#Check and enable firewall
sudo ufw status
@linuxoracledev
linuxoracledev / ThingsToDo.sh
Last active January 18, 2020 18:37
After installing ubuntu 18.04 LTS Desktop what is needed to do with ubuntu
#update and upgrade Ubuntu
sudo apt update && sudo apt-get upgrade --fix-missing
# Install the package build-essentia,checkinstall for putting it into your package manager
sudo apt install build-essential checkinstall
# Install Ubuntu Restricted Extras
sudo apt install ubuntu-restricted-extras
# Automatically Import All Missing Launchpad PPA GPG Keys
@linuxoracledev
linuxoracledev / mean.sh
Last active January 9, 2020 08:33
How to Install MEAN Stack On Ubuntu 18.04
##Install MongoDB
#Install gnupg and its required libraries
sudo apt-get install gnupg
#Import the public key used by the package management system
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
#Create a list file for MongoDB
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
@linuxoracledev
linuxoracledev / mongodb.sh
Last active January 8, 2020 19:30
How to Install and Confugure MongoDB, Create Database and User on Ubuntu 18.04
#Update the Ubuntu packages list
sudo apt update
#Install the MongoDB package
sudo apt install -y mongodb
#Check the Service and Database
sudo systemctl status mongodb
#View database version, server address and port
@linuxoracledev
linuxoracledev / webmin.sh
Last active January 2, 2020 20:43
How to Install Webmin on Ubuntu 18.04 & 16.04 LTS with Config Server Firewall (CSF) Installation and Configuration
#Configure APT Repository
sudo nano /etc/apt/sources.list.d/webmin.list
#Add below value to this file:
# deb http://download.webmin.com/download/repository sarge contrib
# deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
#Import the GPG key
curl http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
@linuxoracledev
linuxoracledev / openssh.sh
Last active December 22, 2019 20:05
How to Install, Enable Openssh-Server in Ubuntu 18.04 LTS
sudo apt-get install openssh-server
sudo service ssh status
sudo nano /etc/ssh/sshd_config
sudo service ssh restart
sudo service ssh status
#To see if existing SSH keys are present
ls -al ~/.ssh
#Generate a new SSH key
@linuxoracledev
linuxoracledev / samba.sh
Created December 15, 2019 19:26
How to Install and Configure Samba on Ubuntu 18.04 LTS
#Install samba
sudo apt install samba
#Verify SAMBA installation
sudo systemctl status nmbd
#create a Samba directory
sudo mkdir /samba
##Configuring Samba Shares