Skip to content

Instantly share code, notes, and snippets.

View KishanP-protean's full-sized avatar
💭
I may be slow to respond.

KishanP-protean

💭
I may be slow to respond.
  • 13:54 (UTC +05:30)
View GitHub Profile
@gskielian
gskielian / git-specify-ssh-key
Created October 14, 2014 16:51
Specifying SSH Key within Git Clone
#how to specify an ssh key to use when cloning a repo in Mac
ssh-agent bash -c 'ssh-add /Users/UR_USERNAME/.ssh/UR_PRIVATE_KEY; git clone git@DAS_GIT_URL'
vi /etc/ssh/sshd_config #Permitrootlogin -> permitir acceso por ssh
su -
yum clean all && yum update -y && yum upgrade -y
sudo sed -i --follow-symlinks 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux
sudo yum install epel-release -y
sudo yum install wget curl net-tools lsof zip unzip iperf cabextract -y
sudo yum install mlocate xorg-x11-font-utils fontconfig libSM libICE libXrender libXext xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi freetype libpng zlib libjpeg-turbo gcc ImageMagick ImageMagick-devel ImageMagick-perl samba-client lua lua-devel pkgconfig asciidoc -y
sudo yum remove mysql-server mysql-libs mysql-devel mysql* mariadb-libs mariadb* percona percona-* mysql mysql-* mariadb mariadb-* -y
sudo rm -rf /var/lib/mysql & rm -rf /etc/my.cnf
@austinsonger
austinsonger / README.md
Last active April 6, 2023 08:45
ELK Made Easy

Elasticsearch, Logstash, Kibana Installation Made Easy

This includes more than just Elasticsearch, Logstash, and Kibana. It also includes the following:

  • Metricbeat
  • Packetbeat
  • Auditbeat

TO-DO

  • Finish rpm_elk to match debian_elk
@taoyuan
taoyuan / generate_self_signed_certification.md
Last active July 24, 2024 19:50
Generation of a Self Signed Certificate

Generation of a Self Signed Certificate

Generation of a self-signed SSL certificate involves a simple 3-step procedure:

STEP 1: Create the server private key

openssl genrsa -out cert.key 2048

STEP 2: Create the certificate signing request (CSR)

openssl req -new -key cert.key -out cert.csr
@caisback
caisback / Ubuntu 20_04 LTS - Installing ActiveMQ Artemis 2pt17 with with AdoptOpenJDK-8.md
Last active May 23, 2023 17:49
Ubuntu 20.04 LTS - Installing ActiveMQ Artemis 2.17.0 with AdoptOpenJDK-8
@caisback
caisback / Ubuntu 20_04 LTS - Installing Apache Maven.md
Last active September 13, 2022 12:21
Ubuntu 20.04 LTS - Installing Apache Maven
  1. Apply updates
$ sudo apt update
  1. Install Apache Maven
$ sudo apt install maven
  1. Check Apache Maven if working
@caisback
caisback / Ubuntu 20_04 LTS - Installing Keycloak 12.0.4.md
Created April 17, 2021 13:31
Ubuntu 20.04 LTS - Installing Keycloak 12.0.4
@caisback
caisback / Ubuntu 20_04 LTS - Installing Postman.md
Created April 20, 2021 06:45
Ubuntu 20.04 LTS - Installing Postman
$ sudo snap install postman
[sudo] password for bboy: 
postman 7.36.5 from Postman, Inc. (postman-inc✓) installed
$ 
@caisback
caisback / Issue when running mvn clean install.md
Last active September 13, 2022 12:13
mvn clean install - java.lang.ClassNotFoundException: org.apache.maven.plugin.surefire.log.api.ConsoleLogger
  • Problem: Issue when running mvn clean install,java.lang.ClassNotFoundException: org.apache.maven.plugin.surefire.log.api.ConsoleLogger

  • Resolution: Open pom.xml

    • From:
      </dependencies>
      <repositories>
      
    • To:
@KishanP-protean
KishanP-protean / README.md
Created October 18, 2022 13:03 — forked from austinsonger/README.md
ELK Made Easy

Elasticsearch, Logstash, Kibana Installation Made Easy

This includes more than just Elasticsearch, Logstash, and Kibana. It also includes the following:

  • Metricbeat
  • Packetbeat
  • Auditbeat

TO-DO

  • Finish rpm_elk to match debian_elk