Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Tanzina Noor linuxfemale

🏠
Working from home
View GitHub Profile
View lamp.sh
#Video Tutorial:
https://www.youtube.com/watch?v=XVqg-tJem8g
sudo apt-get update
sudo apt-get install apache2
sudo service apache2 status
sudo ufw app list
sudo ufw app info “Apache Full”
sudo apt-get install mysql-server
sudo apt-get install php libapache2-mod-php php-mysql
@linuxfemale
linuxfemale / ubuntu.sh
Last active Nov 19, 2019
Thins to do after install Ubuntu 18.04 LTS
View ubuntu.sh
#Video Tutorial:
https://www.youtube.com/watch?v=IUtw84jH1VQ
#!/bin/sh
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get install build-essential
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get install build-essential checkinstall
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get install ubuntu-restricted-extras
@linuxfemale
linuxfemale / LAMP.sh
Created Nov 18, 2019
install LAMP + PHPMyAdmin on Ubuntu 18.04 LTS
View LAMP.sh
# Install apache
sudo apt install apache2
# Install PHP
sudo nano /var/www/html/phpinfo.php
and type
<?php
phpinfo();
?>
@linuxfemale
linuxfemale / vtiger.sh
Last active Nov 19, 2019
vTiger CRM on Ubuntu 18.04 LTS
View vtiger.sh
apache2 -v
mysql --version
php --version
sudo mysql -u root -p
CREATE DATABASE vtigerdb;
CREATE USER 'vtiger'@'localhost' IDENTIFIED BY 'password';
@linuxfemale
linuxfemale / mongo.sh
Last active Nov 19, 2019
Install MongoDB in Ubuntu 18.04 LTS
View mongo.sh
#Video Tutorial:
https://youtu.be/SAKUIJi5z0k
#!/bin/bash
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
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
sudo apt update
sudo apt install mongodb-org
@linuxfemale
linuxfemale / Ntopng.sh
Last active Nov 19, 2019
Ntopng on Ubuntu 18.04 LTS
View Ntopng.sh
#Video Tutorial:
https://youtu.be/UNsDkcYTHxI
In order to use this repository do (as root):
sudo apt-get install software-properties-common wget
sudo add-apt-repository universe [ unless you have done it previously ]
wget http://apt-stable.ntop.org/18.04/all/apt-ntop-stable.deb
sudo apt install ./apt-ntop-stable.deb
or
@linuxfemale
linuxfemale / Ntopng.sh
Created Nov 18, 2019
Ntopng on Ubuntu 18.04 LTS
View Ntopng.sh
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install ntopng
sudo systemctl restart ntopng
sudo ntopng -h
sudo ufw enable
sudo ufw allow 3000
firefox http://localhost:3000/
@linuxfemale
linuxfemale / powershell.sh
Last active Nov 19, 2019
Microsoft PowerShell on Ubuntu 18.04 LTS
View powershell.sh
#Video Tutorial:
https://youtu.be/3rHkL1so5mw
Microsoft PowerShell on Ubuntu 18.04 LTS
Microsoft PowerShell is a shell framework used to execute commands, but primarily it is developed to perform administrative tasks such as
Automation of repetitive jobs
Configuration management
PowerShell is an open-source and cross-platform project; it can be installed on Windows, macOS, and Linux. It includes an interactive command-line shell and a scripting environment.
@linuxfemale
linuxfemale / node.sh
Last active Nov 21, 2019
Node.js v10.x
View node.sh
#video tutorial
https://youtu.be/WhMKWv57Gcg
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install gcc g++ make
sudo curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
node --version
View rocket_chat.sh
sudo useradd -m -U -r -d /opt/rocket rocket
sudo usermod -a -G rocket www-data
sudo chmod 750 /opt/rocket
su - rocket
sudo passwd rocket
su - rocket
curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
tar -xzf /tmp/rocket.chat.tgz -C /tmp
cd /temp
cd Rocket.Chat/programs/server
You can’t perform that action at this time.