Skip to content

Instantly share code, notes, and snippets.

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

Irin Sultana LinuxDevOpsGirl

🏠
Working from home
View GitHub Profile
@LinuxDevOpsGirl
LinuxDevOpsGirl / How To Install and Secure Redis on Ubuntu 18.04
Created March 3, 2020 10:57
How To Install and Secure Redis on Ubuntu 18.04
Redis?
Redis is an in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.
What is Redis used for?
According to Redis homepage, Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports various data structures such as Strings, Hashes, Lists, Sets etc.
How To Install and Secure Redis on Ubuntu 18.04:
sudo apt update && sudo apt upgrade -y
@LinuxDevOpsGirl
LinuxDevOpsGirl / RabbitMQ Server on Ubuntu 18.04
Created March 4, 2020 09:45
RabbitMQ Server on Ubuntu 18.04
#video tutorial
https://youtu.be/VSNY9jj8Etc
echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install rabbitmq-server
sudo systemctl enable rabbitmq-server
sudo systemctl start rabbitmq-server
sudo systemctl status rabbitmq-server
@LinuxDevOpsGirl
LinuxDevOpsGirl / Install WordPress with LEMP Stack Nginx
Created March 8, 2020 10:33
Install WordPress with LEMP Stack Nginx
# Update & Install Nginx
sudo apt update && apt upgrade
sudo apt-get install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo systemctl restart nginx
sudo systemctl status nginx
# Install MySQL & check
What is a LAMP Stack?
Lamp Stack is a renowned web development platform commonly used to run dynamic websites. Lamp Stack's main specialty is that it consists of Linux, Apache, MySQL, and PHP/Python/Perl. Usually Lamp Stack is selected for the construction and development of high performance website owing the strong foundation it has.
# Step 0: Before we install the LAMP stack, it’s a good idea to update repository and software packages:
sudo apt update
sudo apt upgrade
############## APACHE ##############
# Install Apache from the Ubuntu repository
sudo apt install apache2
@LinuxDevOpsGirl
LinuxDevOpsGirl / FTP server on Ubuntu 18.04 LTS
Created March 9, 2020 10:53
FTP server on Ubuntu 18.04 LTS
sudo apt update
sudo apt install vsftpd
sudo cp -v /etc/vsftpd.conf /etc/vsftpd.conf.bk
sudo nano /etc/vsftpd.conf
Uncomment below lines.
write_enable=YES
local_umask=022
chroot_local_user=YES
@LinuxDevOpsGirl
LinuxDevOpsGirl / Asterisk
Created April 6, 2020 12:51
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:
sudo add-apt-repository universe
@LinuxDevOpsGirl
LinuxDevOpsGirl / Swift_vepor. sh
Created April 10, 2020 09:52
Swift and Vapor on Ubuntu 18.04
what is Swift and Vapor?
Vapor is an open source web framework written in Swift. It can be used to create RESTful APIs, web apps, and real-time applications using WebSockets. In addition to the core framework, Vapor provides an ORM, a templating language, and packages to facilitate user authentication and authorization.
##Step 1 — Installing Swift
sudo apt-get update
sudo apt-get install clang libicu-dev libpython2.7
@LinuxDevOpsGirl
LinuxDevOpsGirl / Install PHPmyAdmin on Ubuntu with a LAMP Stack
Created October 17, 2021 09:53
Install PHPmyAdmin on Ubuntu with a LAMP Stack
https://youtu.be/QEbolJbyDPg
sudo apt update -y
sudo apt-get upgrade -y
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo apt install software-properties-common
sudo apt upgrade -o APT::Get::Show-Upgraded=true
sudo apt install apt-show-versions
@LinuxDevOpsGirl
LinuxDevOpsGirl / Install WordPress on Ubuntu with a LAMP Stack.
Created October 17, 2021 09:58
Install WordPress on Ubuntu with a LAMP Stack.
https://youtu.be/QEbolJbyDPg
sudo apt update -y
sudo apt-get upgrade -y
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo apt install software-properties-common
sudo apt upgrade -o APT::Get::Show-Upgraded=true
sudo apt install apt-show-versions
@LinuxDevOpsGirl
LinuxDevOpsGirl / Drupal Installation Service Using LAMP Stack
Created October 19, 2021 11:16
Drupal Installation Service Using LAMP Stack
YouTube: https://youtu.be/E-me8J8iizw
apt update -y
apt upgrade -y
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
add-apt-repository ppa:nilarimogard/webupd8
apt update
apt install launchpad-getkeys