This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade -y | |
sudo apt-get install netdata -y | |
sudo nano /etc/netdata/netdata.conf | |
add this | |
[global] | |
run as user = netdata | |
web files owner = root | |
web files group = root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apache2 -v | |
mysql --version | |
php --version | |
sudo mysql -u root -p | |
CREATE DATABASE vtigerdb; | |
CREATE USER 'vtiger'@'localhost' IDENTIFIED BY 'password'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install apache | |
sudo apt install apache2 | |
# Install PHP | |
sudo nano /var/www/html/phpinfo.php | |
and type | |
<?php | |
phpinfo(); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |