How to add Docker as node in Jenkins

Tutorial: Create a jenkins user on a Docker node 1 2 3 4 5 6 7 8 9 10 sudo useradd -d /var/lib/jenkins jenkins sudo passwd jenkins sudo mkdir /var/lib/jenkins/.ssh sudo touch /var/lib/jenkins/.ssh/authorized_keys sudo chmod 600 /var/lib/jenkins/.ssh/authorized_keys sudo chmod 700 /var/lib/jenkins/.ssh cd /var/lib/ sudo chown -R jenkins:jenkins jenkins cd jenkins ls -alh Change shell to Bash for jenkins user ...

June 14, 2023 · 4 min · 662 words · sysadmin

Connect Jenkins and GitLab

In this video I explain how to connect Jenkins and GitLab. Tutorial Go to GitLab website and copy the URL. In my case it is 10.10.0.119 Login via SSH to Jenkins server and copy the certificate from GitLab 1 </dev/null openssl s_client -connect 10.10.0.119:443 -servername 10.10.0.119 | openssl x509 > $HOME/10.10.0.119.crt 1 sudo find / -iname "cacerts" 1 java -version 1 sudo find / -iname "keytool" Import GitLab certificate to Java cacerts 1 2 3 4 5 6 7 8 # Import GitLab certificate sudo /usr/lib64/jvm/java-11-openjdk-11/bin/keytool -import -file /home/adrian/10.10.0.119.crt -alias gitlab -keystore /usr/lib64/jvm/java-11-openjdk-11/lib/security/cacerts # Delete GitLab certificate sudo /usr/lib64/jvm/java-11-openjdk-11/bin/keytool -delete -alias gitlab -keystore /usr/lib64/jvm/java-11-openjdk-11/lib/security/cacerts # List all certificates sudo /usr/lib64/jvm/java-11-openjdk-11/bin/keytool -list -keystore /usr/lib64/jvm/java-11-openjdk-11/lib/security/cacerts type password 1 changeit Trust this certificate? Type: yes And hit Enter ...

June 11, 2023 · 1 min · 195 words · sysadmin

GitLab installation and configuration

In this video I explain how to install and configure GitLab in Debian 11 however below you can read the tutorial for other Linux distributions. GitLab is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. Self-host GitLab on your own servers, in a container, or on a cloud provider. Source: GitLab CE ...

June 10, 2023 · 5 min · 935 words · sysadmin

How to connect Jenkins with GitLab and Docker

In this series I explain how to install Jenkins, GitLab and Docker on three separate virtual machines in Proxmox and connect them together to run the job in Jenkins, that is using Jenkins pipeline located at GitLab server and run a docker container from predefined configuration in a docker file to perform a test. Scroll down to read the tutorial, please. Intro: ...

June 9, 2023 · 3 min · 466 words · sysadmin

How to compile vim from source and use copilot with vim

In this video I explained how to compile vim from source faster thanks flags for make and how to use copilot in vim. See the project: https://github.com/github/copilot.vim Tutorial How to setup copilot in vim

June 3, 2023 · 1 min · 34 words · sysadmin

How to use copilot in vim

In this video I explained how to use copilot in vim. See the project: https://github.com/github/copilot.vim

June 1, 2023 · 1 min · 15 words · sysadmin

How to setup copilot in vim

In this video I explained how to install proper version of nodejs and how to enable copilot in vim. See the project: https://github.com/github/copilot.vim Tutorial Before you can start using GitHub Copilot for Individuals, you will need to set up a free trial or subscription. See the URL below: Managing your GitHub Copilot subscription for your personal account Install git if do not have it installed SLES Debian RedHat SLES | openSUSE Leap 15.4 1 sudo zypper install git Debian 1 sudo apt install git Red Hat 1 sudo dnf install git Check installed vim version vim -version Install vim (9.0.0185 or newer) from source 1 2 3 4 5 6 7 8 cd $HOME git clone https://github.com/vim/vim.git cd $HOME/vim/src NB_CORES=$(grep -c '^processor' /proc/cpuinfo) export MAKEFLAGS="-j$((NB_CORES+1)) -l${NB_CORES}" make make test sudo make install Persistent settings To get these settings persistent, just add in your .bashrc or .zshrc ...

June 1, 2023 · 3 min · 441 words · sysadmin

Why you cannot access chatGPT

In this video I explained what load balancer is and how it is working on AWS. I made a comparison to DDoS and presented what happens when so many users are trying to log at the same time to servers that are not able to handle the traffic even if the load balancer is set and is active.

May 31, 2023 · 1 min · 58 words · sysadmin

Innovations in A.I. supercomputer Fugaku, chatGPT & Japaneese. Mojo language faster than Python

In this video I presented information about Fugaku Supercomputer and Japaneese language in chatGPT. Additionally I presented the new programming language - Mojo, that is 35000 times faster than Python 3. Resources: 🎙️ Podcats about Mojo language: https://lexfridman.com/chris-lattner-3 (2:24:58) – Mojo playground 🖥️ Japan’s Fugaku supercomputer to help develop homegrown generative AI: https://asia.nikkei.com/Business/Technology/Japan-s-Fugaku-supercomputer-to-help-develop-homegrown-generative-AI 🤖 What are Generative AI models https://www.youtube.com/watch?v=hfIUstzHs9A 🔥 Mojo - programming language for AI developers https://www.modular.com/mojo 𓇲 TSMC https://www.tsmc.com/english 𓇲 ASML https://www.asml.com/en 𓇲 EUV https://www.asml.com/en/products/euv-lithography-systems ...

May 29, 2023 · 1 min · 78 words · sysadmin

How to use chatGPT and Bing chat in Linux command line

May 28, 2023 · 0 min · 0 words · sysadmin