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
#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 November 19, 2019 15:21
Thins to do after install Ubuntu 18.04 LTS
#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 November 18, 2019 15:24
install LAMP + PHPMyAdmin on Ubuntu 18.04 LTS
# 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 August 27, 2021 09:33
vTiger CRM on Ubuntu 18.04 LTS
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 November 19, 2019 15:30
Install MongoDB in Ubuntu 18.04 LTS
#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 November 19, 2019 15:47
Ntopng on Ubuntu 18.04 LTS
#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 November 18, 2019 15:20
Ntopng on Ubuntu 18.04 LTS
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 November 19, 2019 16:09
Microsoft PowerShell on Ubuntu 18.04 LTS
#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 November 21, 2019 13:03
Node.js v10.x
#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
@linuxfemale
linuxfemale / rocket_chat.sh
Created November 18, 2019 15:18
Rocket.Chat
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