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
| # NB: This Gist was made to understand how GSM network work. Not for bad hacking ! | |
| sudo apt update && sudo apt-get upgrade --fix-missing | |
| sudo apt install build-essential checkinstall | |
| sudo apt install ubuntu-restricted-extras | |
| sudo apt install software-properties-common | |
| sudo add-apt-repository ppa:nilarimogard/webupd8 | |
| sudo add-apt-repository ppa:wireshark-dev/stable | |
| sudo apt update | |
| sudo apt install wireshark |
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
| Downloading and setting the path of JAVA. | |
| sudo apt install default-jre | |
| sudo apt install default-jdk | |
| java -version | |
| javac -version | |
| sudo nano /etc/profile | |
| sudo nano ~/.bashrc | |
| JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 | |
| PATH=$PATH:$HOME/bin:$JAVA_HOME/bin |
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
| 1 passwd | |
| 2 cat /etc/redhat-release | |
| 3 yum install epel* -y | |
| 4 yum -y update && yum -y groupinstall core && yum -y groupinstall base && yum -y install epel-release | |
| 5 yum -y install php-mcrypt php-xml perl-DBD-Pg git | |
| 6 yum -y update && yum -y groupinstall core && yum -y groupinstall base && yum -y install epel-release | |
| 7 yum -y install automake gcc gcc-c++ ncurses-devel openssl-devel libxml2-devel unixODBC-devel libcurl-devel libogg-devel libvorbis-devel speex-devel spandsp-devel freetds-devel net-snmp-devel iksemel-devel corosynclib-devel newt-devel popt-devel libtool-ltdl-devel lua-devel sqlite-devel radiusclient-ng-devel portaudio-devel neon-devel libical-devel openldap-devel gmime-devel mysql-devel bluez-libs-devel jack-audio-connection-kit-devel gsm-devel libedit-devel libuuid-devel jansson-devel libsrtp-devel git subversion libxslt-devel kernel-devel audiofile-devel gtk2-devel libtiff-devel libtermcap-devel ilbc-devel bison php php-mysql php-process php-pear php-mbstring php- |
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
| yum update -y | |
| yum groupinstall "Development Tools" -y | |
| yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y | |
| echo "[rabbitmq-erlang]"> /etc/yum.repos.d/rabbitmq-erlang.repo | |
| echo "name=rabbitmq-erlang">> /etc/yum.repos.d/rabbitmq-erlang.repo | |
| echo "baseurl=https://dl.bintray.com/rabbitmq/rpm/erlang/20/el/7">> /etc/yum.repos.d/rabbitmq-erlang.repo | |
| echo "gpgcheck=1">> /etc/yum.repos.d/rabbitmq-erlang.repo | |
| echo "gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc">> /etc/yum.repos.d/rabbitmq-erlang.repo | |
| echo "repo_gpgcheck=0">> /etc/yum.repos.d/rabbitmq-erlang.repo |
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
| #!/bin/bash | |
| #Install Apache2 | |
| sudo apt update | |
| sudo apt install apache2 | |
| sudo systemctl start apache2.service | |
| sudo systemctl enable apache2.service | |
| sudo systemctl restart apache2.service | |
| #Install MariaDB |
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
| #!/bin/sh | |
| sudo git clone git@github.com:djfarrelly/MailDev.git | |
| sudo apt-get install nodejs-dev node-gyp libssl1.0-dev | |
| sudo apt-get install npm | |
| sudo npm install -g ./MailDev | |
| maildev |
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
| #!/bin/sh | |
| #Cypress Installation Steps: | |
| # Select a path where Cypress will be installed | |
| mkdir cypress | |
| cd /project/path | |
| or | |
| cd cypress | |
| # Run this command. This will install Cypress locally as a dev dependency for your project |
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
| #!/bin/sh | |
| wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
| sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' | |
| sudo apt update | |
| sudo apt -y install postgresql postgresql-contrib | |
| su - postgres | |
| psql |
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
| #!/bin/sh | |
| #Install OpenLiteSpeed | |
| sudo -i | |
| wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh | bash | |
| sudo apt install openlitespeed -y | |
| systemctl status openlitespeed | |
| netstat -plntu |
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
| #!/bin/sh | |
| curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh | |
| sudo apt install nodejs -y | |
| git clone https://github.com/SchoolOfFreelancing/Grocery-Delivery-App-Frontend.git | |
| cd Grocery-Delivery-App-Frontend | |
| npm install | |
| npm start | |
| http://localhost:3000/ |