Skip to content

Instantly share code, notes, and snippets.

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

Tanzina Noor linuxfemale

🏠
Working from home
View GitHub Profile
@linuxfemale
linuxfemale / keybase.md
Created December 9, 2018 11:22
This is my keybase

Keybase proof

I hereby claim:

  • I am linuxfemale on github.
  • I am sifat (https://keybase.io/sifat) on keybase.
  • I have a public key whose fingerprint is 0AB6 2313 2FA3 B461 1020 C9D3 8CB8 CFB7 5FEE 415C

To claim this, I am signing this object:

@linuxfemale
linuxfemale / ampp.sh
Created November 18, 2019 14:13
AMPPS 3.8 on Ubuntu 18.04.3 LTS
sudo apt-get update
sudo apt-get install libfontconfig1 libxrender1
wget http://s4.softaculous.com/a/ampps/files/Ampps-3.8-x86_64.run
sudo chmod 0755 Ampps-3.8-x86_64.run
sudo ./Ampps-3.8-x86_64.run
cd /usr/local/ampps
sudo ./Ampps
!If get error then try
@linuxfemale
linuxfemale / Tomcat.sh
Created November 18, 2019 14:20
Apache Tomcat 9 on Ubuntu 18.04 LTS
Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language, and Java WebSocket technologies. It is one of the most widely adopted applications and web servers in the world today. Tomcat is simple to use and has a robust ecosystem of add-ons.
sudo apt update
sudo apt install default-jdk
java -version
sudo useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat
wget http://www-eu.apache.org/dist/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz -P /tmp
@linuxfemale
linuxfemale / asterisks.sh
Created November 18, 2019 14:22
How to display Asterisks(*) when you type Password in Linux Terminal
sudo apt update
sudo /etc/sudoers /etc/sudoers.bk
sudo nano /etc/sudoers
# visudo
Defaults env_reset,pwfeedback
or
@linuxfemale
linuxfemale / Asterisks.sh
Created November 18, 2019 14:24
Asterisk 16 LTS on Ubuntu 18.04
sudo apt update && sudo apt -y upgrade
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev
If you get an error for subversion package on Ubuntu like below:
E: Package 'subversion' has no installation candidate
Then add universe repository and install subversion from it:
@linuxfemale
linuxfemale / beego. sh
Created November 18, 2019 14:27
golang and beego framework in linux ubuntu 18.04 LTS
##Install golang and beego framework in linux ubuntu 18.04 LTS
#Download and decompress the Golang 1.x.x archive
mkdir golang_source
cd golang_source
wget https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz
sudo tar -zxvf go1.9.1.linux-amd64.tar.gz -C /usr/local
@linuxfemale
linuxfemale / Swift_vepor. sh
Created November 18, 2019 14:28
Swift and Vapor on Ubuntu 18.04
Install Swift and Vapor on Ubuntu 18.04
https://youtu.be/-El30oW3_Wg
##Step 1 — Installing Swift
sudo apt-get update
sudo apt-get install clang libicu-dev libpython2.7
wget https://swift.org/builds/swift-5.1.2-release/ubuntu1804/swift-5.1.2-RELEASE/swift-5.1.2-RELEASE-ubuntu18.04.tar.gz
@linuxfemale
linuxfemale / MeanStack.sh
Created November 18, 2019 14:30
MEAN Stack On Ubuntu 18.04 LTS (MongoDB, Express.JS, Angular.JS, Node.JS)
MEAN Stack On Ubuntu 18.04 LTS (MongoDB, Express.JS, Angular.JS, Node.JS)
The MEAN stack (mean.js) is an open-source JavaScript (JS) framework used for developing robust web applications. It is a set of software tools that include everything needed for building dynamic websites and web applications.
As it uses a single programming language, JavaScript, in each layer of the stack, it has a big role in simplifying development.
MEAN is an acronym of the following programs:
MongoDB (document database)
@linuxfemale
linuxfemale / nodejs_nvm.sh
Created November 18, 2019 14:32
Node.js Installing Using NVM on Ubuntu 18.04LTS
##Install Node.js and NPM from Ubuntu official repository
sudo apt update
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
nodejs --version
sudo apt install npm
npm --version
@linuxfemale
linuxfemale / remove_node.sh
Created November 18, 2019 14:33
remove complete node js and npm from Ubuntu 18.04 LTS
node -v
nvm -version
npm -v
#I run followingh commands:
'
sudo apt-get remove nodejs
sudo apt-get purge nodejs
sudo apt autoremove
sudo apt-get remove npm