Linux on Business

Why Linux 🐧? the question isn’t why Linux ? the real question is why not ? did you try it? Linux is widely regarded as the best option for development, DevOps, hybrid cloud solutions, and even as a desktop for home and office environments due to its open-source nature, robust ecosystem, scalability, security, and cost-effectiveness. Its flexibility allows seamless integration across diverse platforms, from small IoT devices to large-scale cloud infrastructures, making it the backbone of modern technology stacks. ...

šŸ‘Øā€šŸ’» Tunning your Devbox shell

Using Oh-My-Bash with Jetify Devbox: A Step-by-Step Guide If you’re a developer working with Jetify Devbox, you might have noticed that its shell environment doesn’t always play nicely with Oh-My-Bash. By following these steps, you can customize and personalize your themes and PS1 prompt to create a more enjoyable and productive shell experience. Step 1: Install Oh-My-Bash First, you need to install Oh-My-Bash. You can do this by running the following command in your terminal: ...

Automation a Nextcloud as a Podman Container

I’ve been thinking to upgrade my Nextcloud service also switching to another alternative rather than docker, hence I used podman and buildah in my solution. From the rockylinux.org I found a nice post where it describes how to build and provisioning by using buildah and podman, it works pretty good and I added a tool in order to run it faster, called taskfile. Requirements: Podman Buildah Taskfile Install taskfile Clone my project From the project you can see the task defined: version: "3" tasks: up-db: dir: "db/mariadb" preconditions: - test -f db-init.sh cmds: - bash db-init.sh create-app: dir: "app" preconditions: - test -f run.sh cmds: - mkdir nc nc/nextcloud nc/apps nc/config nc/data - task: up-db - bash run.sh build_base: dir: "db/base" preconditions: - test -f build.sh cmds: - bash build.sh build_tools: dir: "db/db-tools" preconditions: - test -f build.sh cmds: - bash build.sh build_maria: dir: "db/mariadb" preconditions: - test -f build.sh cmds: - bash build.sh build_db: cmds: - task: build_base - task: build_tools - task: build_maria up-app: cmds: - podman container start nextcloud Main task to build and run nextcloud: ...

2024-06-30 Ā· map[name:Jose Castrillo]

Faster and simple maintenance page

Working on different platform either to update, patch, etc need to be notificate for those people that consume that services, it shouldn’t change if that service it’s internal, you must notificate your teams about it. When you’re into your maintenance window you can use a faster way to broadcast everyone you’re working on it; I use this simple solution when I was working into a Jenkins migration, hence I stop the jenkins service and instead of 500 html error I developed a simple html text exposing it by a nginx container by the root path. ...

2024-02-04 Ā· map[name:Jose Castrillo]

Upgrading major version Nextcloud

For those who have been facing the ā€œMaintenance mode activeā€ after applied a nextcloud upgrade by switching container image version, due a major versioning issue. Even when you issue the occ upgrade into continer you gets hit by something like below: www-data@87401bdd2fa8:~/html$ php /var/www/html/occ upgrade Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Setting log level to debug Exception: Updates between multiple major versions and downgrades are unsupported. Update failed Maintenance mode is kept active Resetting log level Keep a eye on this part: Updates between multiple major versions and downgrades are unsupported. as I was running 25 version I can no jump for above 27, if that’s our case, we can edit the file app/config/config.php edit the version of your nextcloud like below: ...

2023-05-20 Ā· map[name:Jose Castrillo]

Python & Virtual Environments

When starting a Python 3 project in Linux, it’s essential to follow best practices to ensure a clean and isolated development environment. One of the recommended approaches is to utilize virtual environments. Virtual environments allow you to create an isolated environment for each project, preventing conflicts between different packages and dependencies. In this guide, we’ll walk you through the steps to set up and activate a virtual environment for your Python 3 project. ...

2023-03-15 Ā· map[name:Jose Castrillo]

csi interface for eks by terraform

It has been a while since my last post, I was busy these last couples of weeks; meanwhile I’ve learned how to implement a csi interface on eks (aws k8s) and it’s pretty interesting on AWS by EKS service, thus I though it can be useful this content into a post. Requirements: You will need your eks already running. I’ll point each tools, techs, etc I used on this procedure: ...

2022-05-10 Ā· map[name:Jose Castrillo]

How setup a Gitlab Runner (CI)

Part I - I’m learning Gitlab Runner and how them works on CI implementation. GitLab Runner is an application that works with GitLab CI to run jobs in a pipeline, they are written in GO Summary the task I will do: Install Gitlab-runner as container(podman). Runner registration. Enter the GitLab instance URL registration token. runner description. tags. Select an executor. Create a gitlab-ci.yml Install runner: Create the Volume: podman volume create gitlab-runner-config Pull and start the container by register command, then we will prompt the data need for register the runner into the project. ...

2021-12-08 Ā· map[name:Jose Castrillo]

Install Hetzner-CLi on Fedora by Toolbox

On this new entry I will share a briefly installation step by step by using Toolbox at Fedora 34 to use the hcloud-cli. Due we do not have an official package on fedora git-repo yet, hence we can create this container. Pre-requirement: Visit Hetzner Cloud Console at https://console.hetzner.cloud, select your project, and create a new API Token. Let’s start: 1- Create a file named Dockerfile.debian with the following contents(the following image is made to use a script to named and set a token_key): ...

2021-07-04 Ā· map[name:Jose Castrillo]

How to install /e/OS in Gigaset GS290 from GNU/Linux

I created this post as aim to collaborate with the project and help those how are bought a Gigaset GS290 to test this great /e/ OS degoogle fork, and have been failed by using easy installer, but first I will let clearly that these steps are the steps I followed in order to set up the /e/ OS in my Gigaset. Requirement-system: GNU/Linux OS (in my case Fedora).** ADB & Fastboot library latest.** /e/OS build** boot.img** recovery.img** Basic knowledge in terminal & command line. Sudo Requirement-smartphone: ...

2021-03-21 Ā· map[name:Jose Castrillo]