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. ...

🎨 Customize Your Terminal Shell with Oh My Bash

Oh My Bash is a powerful framework for managing your Bash configuration. By default, it offers various themes to personalize your terminal. But what if you want your terminal to dynamically change its theme based on the environment or directory you’re working in? This post will guide you through a script that achieves just that. The Script: Dynamic Theme Switching The following script dynamically updates the Oh My Bash theme based on your current environment and directory. Here’s the code: ...

2025-01-14 · map[name:Jose Castrillo]

👨‍💻 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]

Como configurar un router neutro

📣 Actualizado 02/2024 Continuando con mi post anterior explico como realizar una conexion directa con tu propio router, en mi caso tengo un router gl.inet; puedes usar otro router que disponga la configuración de VLAN. Dependiendo de tu proveedor de servicio, necesitamos ir a la siguiente pagina y busca tu VLAN, Leer con atencion las notas dejadas en la pagina!. En mi caso tengo Orange aunque a en mi zona llega por NEBA. ...

2023-11-19 · map[name:Jose Castrillo]

How to switch 3053 to 53 on Gl.inet

For those who has a Gl.inet router featured with Adguard on it, you should being facing a issue at Adguard when it activated at first time, from clients list the only client listed is “localhost”, the reason it’s due dnsmasq is runing on port 53 in the other hand adguard by default on port 3053, in order to solve it you have to switch them. This entry is a forward post by the workaround explained by chao-chao from gl-inet-forum I did it and it’s working from my side, below is a little summary of the steps I did: ...

2022-06-06 · map[name:Jose Castrillo]

setup auto mount smb v1.0

In any case you still having a device that works with smb v1.0 you can use the following way in order to mount it on your Fedora host: Path: /etc/NetworkManager/dispatcher.d/smb-setup.sh #!/bin/sh -e # Script to dispatch NetworkManager events # more over: https://stackoverflow.com/questions/16848021/linux-networkmanagers-etc-networkmanager-dispatcher-d-test-script-does-not # Runs ifupdown scripts when NetworkManager fiddles with interfaces. # See NetworkManager(8) for further documentation of the dispatcher events. INF="$1" # your current interface name such as eth0, wlp4s0 and so on STA="$2" # status such as UP or DOWN # Send message to /var/log/messages logger -s "$0 called for interface named $INF with $STA ..." if [ "$INF" == "eno1" ] then mount -t cifs -o vers=1.0,username=admin,password=Tr3x_1986,uid=1000,gid=1000,forceuid,forcegid //10.34.1.1/1fea-6abb /home/jose/homedisk fi more info: ...

2022-05-27 · map[name:Jose Castrillo]

Redundant Array of Inexpensive Disks

RAID RAID is a technology that is used to increase the performance and/or reliability of data storage. The abbreviation stands for Redundant Array of Inexpensive Disks. A RAID system consists of two or more drives working in parallel. These disks can be hard discs, but there is a trend to also use the technology for SSD (solid state drives). There are different RAID levels, each optimized for a specific situation. These are not standardized by an industry group or standardization committee. ...

2021-06-06 · 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]

/prometheus/data/chunks_head/ troubleshoot

I will share a little workaround in order to re-establish Prometheus service back in the game. Origin of issue: I’ve had an issue with my local network at home by the ISP provider, I had have shut down my RaspberryPi and other devices. Then when I could solved the issue and all my devices were up and running I checked up my services and I found that Prometheus got stuck by a “mmap: invalid argument” message. ...

2021-02-22 · map[name:Jose Castrillo]