Archive of posts with category 'en' and lang 'en'
How can I make Jenkins CI with Git trigger on pushes to master
Automate Your Developer Workflow with Github Actions
Understanding Container Networking
In the previous video, we learned about running a container and port mapping to access it via a web browser or the Curl tool. In this video, we will discuss container networking, IP addresses, and port mappings to avoid conflicts.
Understanding Kubernetes: The Container Orchestrator
If you’ve been hearing a lot about Kubernetes lately, you’re not alone. This open source platform for managing containerized workloads and services has gained widespread popularity, and it’s time to understand why. In this article, we’ll go over the concepts that make Kubernetes so powerful, scalable, and useful.
Running MySQL Server in Docker Container and Connecting to it from Host Machine
To run MySQL server in a Docker container and connect to it from your host machine, follow these steps:
Laravel - Eloquent "Has", "With", "WhereHas" - What do they mean?
Laravel - Eloquent “Has”, “With”, “WhereHas” - What do they mean?
Building Microservices with Docker: Creating a Product Service
Microservices are becoming increasingly popular in web development due to their flexibility and scalability. In this article, we’ll show you how to create a product service using Python and Docker, two essential tools in the microservices architecture.
Restart Docker Daemon: A Comprehensive Guide
Docker is an open-source platform that enables developers to create, deploy, and manage applications in a virtual environment. It is a powerful tool that helps developers to quickly build, test, and deploy applications in a containerized environment. Docker Daemon is the core of the Docker platform and is responsible for managing the containers, images, and networks. It is a background process that runs on the host machine and listens for Docker API requests.
Git LFS Install Ubuntu: A Comprehensive Guide
Git LFS (Large File Storage) is a version control system for storing and managing large files and binary assets. It is an open-source project developed by GitHub and is used by developers to store and manage large files such as images, videos, and audio files. It is designed to improve the performance of version control systems by reducing the size of large files and making them easier to manage.
Current User: What It Is and How It Can Help Your Business
In today’s digital world, businesses need to stay ahead of the competition. One way to do this is by understanding the needs of their customers and providing them with the best possible experience. This is where the concept of a current user comes in. A current user is a user who is actively engaged with a business’s website or application. It is a user who is actively using the product or service and is likely to be a loyal customer.
How to Add Cells in Google Sheets
Google Sheets is a powerful spreadsheet application that allows users to create and edit spreadsheets online. It is a great tool for organizing data, tracking progress, and creating reports. It is also a great way to collaborate with others on projects. One of the most important features of Google Sheets is the ability to add cells. In this article, we will discuss how to add cells in Google Sheets.
Explore your container with docker run
Should a docker container run as root or user
Create and audit a MySQL database from command line
Step 1. Connect to a mysql server and then create a database
How to secure a remote database from unauthorized access
Securing a remote database is crucial to prevent unauthorized access and protect sensitive data.
How do I optimize my database
Optimizing a database involves improving its performance by making it faster and more efficient. Here are some general steps you can take to optimize your database:
How to choose a database provider
You want to choose wisely. There are several criteria to consider when choosing a database provider.
How do I setup a remote database to optimize site performance with MySQL
Setting up a remote MySQL database can help optimize site performance by reducing the load on the server and allowing faster access to data.
How to optimize network traffic for a database
Optimizing network traffic for a database involves several steps to ensure that data is transmitted efficiently and securely. Here are some detailed steps with code examples to optimize network traffic for a database:
ASC to establish digital supply chain
Asc explains that better prediction and decision making translates into greater efficiency and protection against disruptions. As new supply chain solutions are designed and implemented, it also places data security at the forefront.
Digital transformation falls apart without access management
The modern customer journey relies on many systems working together, and Iam is essential in making sure it can happen seamlessly and efficiently.
ABB unit unveils 'new era of automation'
It is expected to further strengthen the Swiss Tech Major’s market presence in both China and the Asia-pacific region. Abb Ceo Cp A B.
7 AI predictions for 2023 from IT leaders
December is here, so you know what that means: holiday parties, new year’s resolutions, and a slew of technology predictions. This was the hottest topic in Ai today for it leaders and we focus on Ai insight for your team and business.
What is GitOps
The short explanation of GitOps is infrastructure is code done right with all the best practices.
Cannot upgrade to Windows 11, try Linux instead
Conceptually linux is very different from windows pretty much across the board some of these differences are primarily visual while others are much more fundamental if you’ve heard of linux before you’ve probably heard that it’s open now evangelists will tell you that that means free is in speech and this is true in that anyone can take a look at the source code and modify it as they see fit.
How to solve the code-server Error Could not locate the bindings file
What is Git
So what is git and why is it so popular?
How do you ping a Docker container from the outside?
At some point when you are using docker you are going to find yourself needing to worry about container networks. Sometimes what has happened to me at least in the past is I will go ahead and create some containers based on images but for whatever reasons sometimes these containers are not on the same docker network.
What is the LAMP stack
I want to answer for you guys today is what is a lamp stack so we’ve gotten some questions and comments in the past we’ve had people approach us and they say hey i hear this referenced all the time i have absolutely no idea what a lamp stack is this is not something i’m familiar with and so.
Overview on jenkins
Today we are going to deep dive into that jenkins is and how it improves your devops continuous integration environments.
A complete tutorial about jenkins file
In this post I am going to show you what jenkins file is how to create it and what the syntax looks like.
What is difference between docker attach and exec?
In this post we are going to see the docker exec and how we use it. Then we are going to see is docker attach and how we use it. So what is docker attach and how is it different from docker exec.
Regex email validation
Email validation is a very debatted question. The one we are going to see in this post will probably not catch every single email. There’s a lot of debate for what is the best regular expression for an email and I’ve done a fairly simple one here it captures a most of them to be honest in my opinion but it’s maybe not the perfect one.
How do I run a docker container with a specific user
BY default when you run
How to copy files from host to Docker container?
In my daily work, I have utility containers. Some are based on ubuntu, others just on busy box. I start them, run few commands and destroy them.
Jenkins CI Pipeline Scripts not permitted to use method groovy.lang.GroovyObject
Apache groovy is an object-oriented programming language used for the jvm platform. This dynamic language has a lot of features drawing inspiration from python small talk and ruby.
How to run jenkins jobs with docker
I have successfully deployed my jenkins instance and did a good setup in my [[2022-08-31-a-complete-tutorial-about-jenkins-file|jenkins file]]. Now I am configuring it to run my jobs. My target is to have some task run inside a docker container.
the trustAnchors parameter must be non-empty on Linux, or why is the default truststore empty
I am moving my configuration from a windows machine into an Amazon AWS EC2 instances which runs Linux.
TrustAnchors parameter must be non-empty
I have successfully installed and made to work an Hudson installation on Windows machine. Now I am trying to move my installation to a Linux server.
How do I connect a docker bridged container to the outside of the host?
Let’s take a look at the built in bridge network that you get on all Linux based docker hosts. Now this networks roughly equivalent to the default NAT network that you get with docker on Windows.
[SOLVED] Laravel docker /usr/sbin/apache2ctl,: not found exited with code 127
I recently finished a Laravel project and I steped one more step to package it in docker. In the process I encountered a strange behaviour. The docker-compose tool threw this error /usr/sbin/apache2ctl,: not found exited with code 127 at me. I finally managed to solve it. Here is how.
[SOLVED] Could not open input file: artisan in Laravel using docker image
When I run my laravel application, I get the error Laravel docker image Could not open input file: /var/www/html/artisan. I finally found the root cause of the issue, let me share it with you.
7 easy steps to deploy a laravel application in a docker container
Laravel is a very useful PHP framework to build awesome projets. It has interesting tools that allow a developper to quickly release a prototype of his/her application. I am a fan of organizing my application inside containers for easy deployment and dependencies management. I came accross an interesting project I wanted to deploy and test. I though I would share with you the steps to perform such a deployment.
Can Docker connect to database?
There are many situations where you need to connect a external database because database in a container doesn’t support all the features that is required by the application or you need persistent data across your cluster environment.
How do I access the host port in a Docker container?
Most of the time when you configure your kubernetes cluster, using the default ingress controller settings works. But when you need to do something custom, you may run into problems.
How to solve can connect with localhost but not IP?
I have hosted one of my websites on kubernetes and am happy with it … except with one thing: how I can access it. My local IP address is 10.0.0.21. If I use localhost or 127.0.0.1, it works. But if I use my local IP address, I cannot access it.
[SOLVED] Maven dependencies are failing with a 501 error
I have a jekins installation on my infrastructure. I found that recently my maven jobs are failing with an exception saying that they couldn’nt pull dependencies. Here is how I solved it.
How to solve Access denied for user 'root'@'localhost' (using password: NO)?Unable to authenticate php/Mysql
On my website installation, I need a mysql database to store my posts and configuration. During the configuration, I suddently run into a strange error: mysql server is complaining about authentication issues. Here is how I solved it.
How do I connect to localhost
When you spin up a new server and host a service on it, you need to connect from various other machines. But which IP addresses do you need to use for these accesses? We will find it together in this tutorial.
Migrate Your Current VPS (Linode, Rackspace, AWS EC2) to DigitalOcean (reviewed)
I previously did a post on the topic of [[2020-04-02-migrate-your-current-vps-linode-rackspace-aws-ec2-to-digitalocean the migration of your data from a VPS to another]]. This is a reviewed version of this post. If you follow the right steps, you can easily migrate your data. Like [[2020-04-03-how-to-set-up-the-codeserver-cloud-ide-platform-on-digitalocean-kubernetes DigitalOcean]] , other [[2021-12-29-how-to-run-minikube-in-a-virtual-machine-ubuntu-vm_vt-x-amd-v VPS]] providers, such as Linode and Rackspace, provide root access. This allows you to transfer all of the necessary files to your new DigitalOcean VPS.
How do I connect mysql workbench to mysql inside Docker?
Running your database inside a container is a very portable solution. Some applications like [[2022-01-15-3-ways-to-connect-your-dolibarr-container-to-local-database Dolibarr]] or [[2022-05-31-solved-laravel-docker-image-could-not-open-input-file-var-www-html-artisan laravel]] need a mysql database to run. You can compose them also inside a container. It is also reproductible. But how do you manage the data inside that container?
3 ways to connect your Dolibarr container to local database
One of the priorities of a system administrator is the performance optimization of the deployments and the underlying infrastructure. I have a deployed and running mariadb on a linux server. It is optimized for performance and database storage. Now I am planning deploying a dolibarr docker container on top of it. How can I connect from the dolibarr docker container to the local mariadb database?
How to fix cannot TCP connect from outside Virtual Machine, network traffic not forwarded to Service Port
Most of the time when you configure your kubernetes cluster, using the default ingress controller settings works. But when you need to do something custom, you may run into problems. Your underlying docker and kubernetes engine may give you head eaches. We will see in this walkthrough, how to fix on of these and put a smile back on your face.
Happy new year 2022 ! Our best wishes
The entire Bright Softwares team wishes you a Happy New Year 2022!
[SOLVED] code server WebSocket close with status code 1006
At the end of the installation of the code server, you are ready to enjoy your new development workflow, and then, you see this message “WebSocket close with status code 1006”. How to solve it? Check out these answers
How does code server works?
What is code server?
3 easy solutions to run minikube in an Ubuntu VM vm_VT-X/AMD-v
How to run minikube in a Virtual Machine Ubuntu vm_VT-X/AMD-v
How to expose a port on Minikube
When using minikube, you need to expose ports to access your services. In docker, you have a command flag to do that. How do you do the same thing in minikube?
Merry Christmas from Bright Softwares
The Bright-Softwares team wishes you a Merry Christmas. We can’t wait to [[2022-01-03-happy-new-year-2022-our-best-wishes celebrate the New Year]] with you.
Log4j flaw: Am I impacted and how can I protect myself
A flaw in Log4j, a Java library developed by the open-source Apache Software Foundation for logging error messages in applications, is the most high-profile security vulnerability on the internet right now and comes with a severity score of 10 out of 10.
Help! Windows Won't Boot Correctly After a Recent OS Update
What happens when Windows starts tossing up annoying error messages each and every time you try to launch the operating system? If you’re trying to log in for the day and actually do work for the critical deadlines you have, and you don’t really have an IT department to help out, this is probably the worst spot to be in.
Docker tip : inspect and jq
Docker inspect and jq
4 easy steps to use local docker images with Minikube
I have previously shared a short [[2020-08-13-work-with-kubernetes-with-minikube tutorial on Minikube]], and while I was using it, I thought I would reuse my local images directly, without uploading and then downloading them again.
Multiline Properties in kubernetes Helm with ConfigMaps
There are several APIs in Kubernetes. A ConfigMap is one of these. It is an object which helps to storing some non-confidential data. The data is in the form of key-value pairs. Some use envrionment variables. In this blog post, we will see how you can show multi-value lines.
How To Build a Slackbot in Python on Ubuntu 20.04
Slack is a communication platform designed for workplace productivity. It includes features such as direct messaging, public and private channels, voice and video calls, and bot integrations. A Slackbot is an automated program that can perform a variety of functions in Slack, from sending messages to triggering tasks to alerting on certain events.
How Do I Get My Data Off an Old Computer?
I want to delete everything on my old computer, but…
How To Set Up the code-server Cloud IDE Platform on DigitalOcean Kubernetes
With developer tools moving to the cloud, creation and adoption of cloud IDE (Integrated Development Environment) platforms is growing. Cloud IDEs allow for real-time collaboration between developer teams to work in a unified development environment that minimizes incompatibilities and enhances productivity. Accessible through web browsers, cloud IDEs are available from every type of modern device. Another advantage of a cloud IDE is the possibility to leverage the power of a cluster, which can greatly exceed the processing power of a single development computer.
How to take a screenshot in Windows
How to Send and Receive Faxes Online Without a Fax Machine or Phone Line
Some slow-moving businesses and government agencies may not accept documents over email, forcing you to fax them in. If you are forced to send a fax, you can do it from your computer for free.
Work with Kubernetes with Minikube
Play with Kubernetes with Minikube
Installing Kubernetes with Minikube
How Do I Fix My Cracked iPhone Screen During the Shutdown?
There’s a lot you can’t do in a pandemic—at least, if you’re smart. You shouldn’t be going to the mall (even if it’s open), nor should you even consider just lollygagging around the Apple store and taking stupid pictures on their demo devices.
Playing Kubernetes with Minikube
Docker tip : inspect and less
Docker inspect and less
Docker tip : inspect and grep
Docker inspect and grep
Do I Need a New Cable Modem If I'm Stuck Working From Home?
Why Do My Download Speeds Differ So Drastically Between Computers?
The good news? Measuring that ROI is arguably easier than ever for small businesses. By stressing efficiency and using the right tools, uncovering and tracking new leads, traffic and revenue don’t have to feel like a guessing game. Making it all happen starts with a process of defining what positive results look like and identifying the most efficient paths to achieving those results. For business leaders, this means making each and every marketing touchpoint, message and published asset count, so you know you’re getting the most bang for your buck. Instead of blindly throwing time and money at what “should” work, teams need to look inward to figure out how they can deliver more value. Below I’ve outlined what a smooth, streamlined marketing strategy looks like in 2018 and beyond. No tricks, no gimmicks or “hacks” here. Just five simple steps businesses of any size can follow to ensure their marketing efforts are as ROI-positive as possible. 1. Look before you leap Prior to spending a dime or diving into any sort of marketing program, you need to have a plan. And remember, there’s a huge difference between brainstorming a vague or unattainably lofty marketing plan that you may never actually execute and mapping out your SMART goals. Unclear goals like “growing your audience” or “driving engagement” might sound nice, but what do they actually mean? For example, there’s a huge difference between “sending cold emails” and “sending 25 cold emails per day to a list of targeted prospects, to grow our customer base by 10% by the end of the quarter.” Whether you’re talking about growing revenue, driving traffic or anything between, your team needs to have specific objectives in mind. In short, something you can measure. When you have a metric to track (think: dollar signs, funnel volume,...
The author selected the COVID-19 Relief Fund to receive a donation as part of the Write for DOnations program.
How To Use One-to-Many Database Relationships with Flask and SQLite
Flask is a framework for building web applications using the Python language, and SQLite is a database engine that can be used with Python to store application data. In this tutorial, you will use Flask with SQLite to create a to-do application where users can create lists of to-do items. You will learn how to use SQLite with Flask and how one-to-many database relationships work.
How To Manage State on React Class Components
The author selected Creative Commons to receive a donation as part of the Write for DOnations program.
How To Create a Self-Signed SSL Certificate for Apache on CentOS 8
The TLS protocol, or “transport layer security” — and its predecessor SSL — are protocols used to wrap normal traffic in a protected, encrypted wrapper. Using this technology, servers can safely send information to their clients without their messages being intercepted or read by an outside party.
How To Create a New Sudo-enabled User on Ubuntu 20.04 [Quickstart]
How To Configure Jenkins with SSL Using an Nginx Reverse Proxy on Ubuntu 20.04
By default, Jenkins comes with its own built-in Winstone web server listening on port 8080, which is convenient for getting started. It’s also a good idea, however, to secure Jenkins with SSL to protect passwords and sensitive data transmitted through the web interface.
How To Set Up a Remote Database to Optimize Site Performance with MySQL on Ubuntu 16.04
How do I create a remote database?
How To Install WordPress with LEMP on Ubuntu 16.04
LEMP stack is a popular software stack used for hosting dynamic websites and web applications. LEMP is an acronym for the following software components:
How To Install WordPress with LAMP on Ubuntu 16.04
What is LAMP stack
Top 5 Questions from “How to become a Docker Power User” session at DockerCon 2020
This is a guest post from Brian Christner. Brian is a Docker Captain since 2016, host of The Byte podcast, and Co-Founder & Site Reliability Engineer at 56K.Cloud. At 56K.Cloud, he helps companies to adapt technologies and concepts like Cloud, Containers, and DevOps. 56K.Cloud is a Technology company from Switzerland focusing on Automation, IoT, Containerization, and DevOps.
How To Setup Your Local Node.js Development Environment Using Docker
Docker is the defacto toolset for building modern applications and setting up a CI/CD pipeline – helping you build, ship and run your applications in containers on-prem and in the cloud.
Migrate Your Current VPS (Linode, Rackspace, AWS EC2) to DigitalOcean
Migrating between VPS providers can seem like a daunting task. Like [[2020-04-03-how-to-set-up-the-codeserver-cloud-ide-platform-on-digitalocean-kubernetes DigitalOcean]] , other [[2021-12-29-how-to-run-minikube-in-a-virtual-machine-ubuntu-vm_vt-x-amd-v VPS]] providers, such as Linode and Rackspace, provide root access. This allows you to transfer all of the necessary files to your new DigitalOcean VPS.
How to Copy a Formula Down an Entire Column in Google Sheets
You are working inside a Google Spreadsheet where a formula needs to copied down to the last row of the sheet. You also need the formula to be added automatically when a new row is added to the Google Sheet. There are several ways to solve this problem.