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 | |
| sudo docker pull docker.elastic.co/elasticsearch/elasticsearch:7.1.0 | |
| Step 2 - Run | |
| docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.1.0 | |
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 Donwnload | |
| wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.4/elasticsearch-2.3.4.deb | |
| Step-2 Install | |
| sudo dpkg -i elasticsearch-2.3.4.deb | |
| Step-3 Run | |
| sudo update-rc.d elasticsearch default 95 10 | |
| sudo /etc/init.d/elasticsearch start |
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
| puttygen command to convert your .pem file to a .ppk file: | |
| sudo puttygen pemKey.pem -o ppkKey.ppk -O private | |
| puttygen command to convert a .ppk file into a .pem file: | |
| sudo puttygen ppkkey.ppk -O private-openssh -o pemkey.pem |
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 | |
| sudo apt-get install apache2 | |
| sudo a2enmod headers proxy_http xml2enc proxy ssl proxy_wstunnel rewrite | |
| Note: rewrite // this mode is to enable htaccess | |
| for .htaccess to work enabled mode rewrite | |
| sudo nano /etc/apache2/apache2.conf |
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
| https://askubuntu.com/questions/634082/how-to-install-android-studio-on-ubuntu |
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
| https://linuxscriptshub.com/uninstall-completely-remove-mysql-ubuntu-16-04/ |
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
| $(document).ready(function() { | |
| if (location.hash) { | |
| $("a[href='" + location.hash + "']").tab("show"); | |
| } | |
| $(document.body).on("click", "a[data-toggle='tab']", function(event) { | |
| location.hash = this.getAttribute("href"); | |
| }); | |
| }); | |
| $(window).on("popstate", function() { | |
| var anchor = location.hash || $("a[data-toggle='tab']").first().attr("href"); |
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
| tar -xvzf LibreOffice_6.2.5_Linux_x86_deb.tar.gz | |
| cd LibreOffice_6.2.5_Linux_x86_deb/DEBS/ | |
| dpkg -i *.deb |
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
| # Current branch - Determine current git branch, store in $currentbranch, and exit if not on a branch | |
| if ! currentbranch=$(git symbolic-ref --short -q HEAD) | |
| then | |
| echo We are not currently on a branch. | |
| exit 1 | |
| fi | |
| # Uncommited Changes - Exit script if there uncommited changes | |
| if ! git diff-index --quiet HEAD --; then | |
| echo "There are uncommited changes on this repository." |
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
| lsof -Pi | grep LISTEN |