This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am zicodhkbd on github. | |
* I am zicodhkbd (https://keybase.io/zicodhkbd) on keybase. | |
* I have a public key whose fingerprint is 716C 3F19 F1CD 7FAF 2243 300C 15C8 9E54 284D DA10 | |
To claim this, I am signing this object: |
This file contains 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
#!/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 | |
sudo apt-get update && sudo apt-get upgrade --fix-missing | |
sudo apt-get -s autoremove |
This file contains 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 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
#!/bin/sh | |
apache2 -v | |
mysql --version | |
php --version | |
sudo mysql -u root -p | |
CREATE DATABASE vtigerdb; | |
CREATE USER 'vtiger'@'localhost' IDENTIFIED BY 'password'; |
This file contains 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
#!/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 | |
sudo systemctl enable mongod | |
sudo systemctl start mongod | |
sudo systemctl restart mongod |
This file contains 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
#!/bin/bash | |
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 | |
sudo dpkg -i apt-ntop-stable.deb |
This file contains 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
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. | |
##Installation via Package Repository - Ubuntu 18.04 |
This file contains 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
#!/bin/sh | |
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 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
#!/bin/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 |
This file contains 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
#!/bin/sh | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt-get install netdata -y | |
sudo nano /etc/netdata/netdata.conf | |
sudo systemctl restart netdate | |
sudo systemctl restart netdata.service | |
sudo systemctl status netdata.service |
OlderNewer