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 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 |
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 install samba | |
sudo systemctl status nmbd | |
sudo ufw allow 'Samba' | |
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup |
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
# Jasmin SMPP Panel (Server) | |
Jasmin SMPP Panel for Jasmin SMS Gateway. | |
- Ubuntu 18.04.3 LTS | |
- Django | |
- Apache | |
- SQlite | |
- Git | |
## Installation |
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 install openssh-server | |
sudo service ssh status | |
sudo nano /etc/ssh/sshd_config | |
set PermitRootLogin yes | |
set PasswordAuthentication yes | |
set PermitEmptyPasswords yes |
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
UFW or Uncomplicated Firewall is a program for managing a netfilter firewall designed to be easy to use. It uses a command-line interface consisting of a small number of simple commands, and uses iptables for configuration. Ubuntu 8.04 Comes with ufw - a program for managing the iptables firewall easily. | |
To check the status of UFW: | |
sudo ufw status | |
To turn UFW on with the default set of rules: | |
sudo ufw enable |
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
iptables is a command line utility for configuring Linux kernel firewall implemented within the Netfilter project. The term iptables is also commonly used to refer to this kernel-level firewall. It can be configured directly with iptables | |
Installing Iptables | |
sudo apt-get update | |
sudo apt-get install iptables | |
Checking current Iptables status | |
sudo iptables -L | |
Example output: | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination |
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 install apache2 | |
sudo systemctl stop apache2.service | |
sudo systemctl start apache2.service | |
sudo systemctl enable apache2.service | |
sudo apt install php7.2 libapache2-mod-php7.2 php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-cli php7.2-zip | |
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
cd /home/sifat/.ssh/ | |
ls -al ~/.ssh | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
ls -al ~/.ssh | |
cat /home/sifat/.ssh/id_rsa.pub | |
copy key and add | |
https://github.com/settings/ssh/new | |
ssh -T [email protected] | |
cd Downloads/ | |
git clone https://github.com/Jasmin-SMPP-Server-.git |
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
##Step 1: Install MongoDB | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | |
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list | |
sudo apt update | |
sudo apt install -y mongodb-org | |
sudo systemctl stop mongod.service |
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
##Installing Ruby | |
# https://youtu.be/ABmt13zS7uM# | |
sudo apt install curl | |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
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 git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs yarn |