Vue normale

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
À partir d’avant-hier4sysops

Warp: A modern AI-powered terminal for Linux and macOS, with Windows edition on the horizon

Par : Edem Afenyo
21 mars 2024 à 14:07
Warp is a modern AI-powered terminal emulator that essentially allows you to execute commands in plain English. The Linux edition recently joined the macOS version, and a Windows release is slated for later this year. In this post, we will look at Warp’s new Linux edition. However, aside from slightly different keyboard shortcuts, the different editions offer the same features. Like other modern terminals, Warp allows you to customize its appearance, apply themes, work in tabs, and even split one window into multiple panes for multi-tasking. In addition, Warp helps automate command execution with its Workflows, which can be shared with team members through the cloud.

Export Windows 11 Start layout and deploy it without Group Policy

20 mars 2024 à 14:27
If you want to pin the same program icons to the Start menu of many computers, you can export a reference configuration in JSON format and distribute it to the target PCs on the network. However, in Windows 11, this method no longer works when using Group Policy. If you don't have an MDM solution, two workarounds exist.

Enable Windows Remote Management (WinRM) for Ansible

Par : Evi Vanoost
19 mars 2024 à 13:03
By default, Ansible uses SSH on Linux machines. Although Windows supports an OpenSSH server, this method is not entirely functional with orchestration tools like Ansible. To enable remote command execution, Ansible uses Windows Remote Management (WinRM) on Windows.

LLM reliability – New AI models on 4sysops

18 mars 2024 à 14:41
After announcing the free use of ChatGPT 4 on 4sysops, I added four more models to 4sysops AI. Google Gemini Pro, Anthropic Claude 3 Opus, Mistral Large, and Meta Llama 2. Using multiple model increases  the probability of receiving accurate information. In case one model fails to deliver a satisfactory response, you can seek alternative solutions. All models are continuously updated with our latest IT content and thus have no cutoff date. The usage of 4sysops AI is currently free.

ShellGPT: An AI assistant for the command line

Par : Evi Vanoost
15 mars 2024 à 10:30
ShellGPT is an AI tool for Windows, macOS, and Linux that integrates OpenAI's GPT with standard command-line interfaces such as PowerShell, CMD, Bash, and Zsh. The AI integrated into your shell can generate shell commands and code snippets directly from the command line. In this guide, I'll walk you through installing ShellGPT, explain how you can use the tool with a local installation of LM Studio, and give examples of how to use ShellGPT.

New features in Docker Desktop 4.28

14 mars 2024 à 12:45
Docker Desktop is designed for developers working on macOS and Windows. It offers a user-friendly interface for running Docker containers. It uses a lightweight virtual machine (VM) with a Linux kernel in the background so that you can run Linux containers on non-Linux systems. Docker Desktop does a great job hiding all the aspects of the VM under the hood so that Docker containers appear to be running natively on your host computer. Docker Desktop received an update a few days ago, and in this post, we will discuss what's new in Docker Desktop 4.28.

Assign an IPv6 address to an EC2 instance and configure components with a bash script

13 mars 2024 à 11:17
In my previous post, I explained how you can quickly allocate an Elastic IPv4 address and associate it with an EC2 instance. As Amazon has recently started charging for in-use IPv4 addresses, you might want to consider switching to IPv6. Using the AWS Management Console to assign an IPv6 to an EC2 instance is not really straightforward. Several AWS network components must be correctly configured to make IPv6 work. The bash script introduced here checks all components, adds any missing pieces, and then assigns the IP to an EC2 instance.

VMware vSphere: editions, licenses, and prices for the SMB market

12 mars 2024 à 13:44
Following Broadcom's takeover of VMware, the new owner significantly streamlined the portfolio, primarily selling products through bundles to large companies. However, small and medium-sized enterprises (SMEs) often only require vSphere, of which there are now only a few editions available. The Essentials Plus Kit often turns out to be the most expensive due to the peculiarities of the subscription-based licensing per core.

Ansible conditionals and loops

11 mars 2024 à 10:24
An Ansible loop allows you to repeat a task or a set of tasks multiple times with different values, reducing code duplication and making playbooks more concise and maintainable. Instead of writing the same task multiple times with slight variations, you can use loops to iterate over a list of items and perform the task(s) accordingly. A conditional controls the flow of tasks based on specific conditions or criteria within playbooks. Sometimes, you must install software only on specific operating systems or if certain dependencies are met. Conditionals allow you to control the execution of tasks based on these conditions, ensuring your playbooks adapt to different environments and avoid unnecessary actions. In this tutorial, I will provide simple examples of using loops and conditionals in Ansible.

Assign (associate) an Elastic IP address to an EC2 instance with a bash script

8 mars 2024 à 12:23
In previous articles, I explained how to create an AMI from an EC2 instance and then launch the instance with scripts. Next, you probably want to assign an Elastic IP (IPv4 address) to the instance. In this post, you will learn how to allocate, release, associate, and disassociate an Elastic IP with the AWS CLI and bash scripts.

Privacy settings in Microsoft Edge: disable tab grouping, follow creators, similar sites, and shopping recommendations

7 mars 2024 à 14:26
Microsoft is known to regularly use its platform to push its software and cloud services onto users. They often provide only little value but tend to bloat the system or siphon off data. The latter applies to a number of Edge browser features. They are active by default but can be disabled via GPO.

Convert certificate format with OpenSSL

5 mars 2024 à 13:40
OpenSSL is an open-source library and a command-line tool that helps admins and developers perform various cryptographic tasks, such as generating key pairs, certificate signing requests (CSR), verifying certificates, encrypting and decrypting data, identifying certificate information, verifying file integrity and much more. In this post, you will learn how to convert TLS certificates into different formats with OpenSSL.

Sudo for Windows vs. Runas and Sudo for Linux

Par : Edem Afenyo
1 mars 2024 à 17:08
Sudo for Windows has been available since Build 26052 and is currently only accessible through the Windows Insiders program as part of preview builds for Windows 11. At this time, it appears that sudo will not come to Windows Server 2025. In this article, I explain how to use sudo in Windows 11 and compare Sudo for Windows with Runas, Gsudo, and Sudo for Linux.

Install WireGuard VPN on OPNsense Firewall

Par : Thomas Joos
29 février 2024 à 13:54
If you are using an OPNsense firewall, you can configure WireGuard as a VPN server instead of OpenVPN. There are clients available for all major operating systems. Additionally, it is very fast and lightweight. You can easily install it as an OPNsense extension and configure it through the web console.

Windows auto-login without password

27 février 2024 à 18:52
Usually, you want to secure your Windows account with a strong password or other authentication methods. However, there may be situations where you want to set up a Windows computer to log in automatically without requiring a password. If only one user operates a PC and the computer is physically protected from unauthorized access, you can afford the convenience of bypassing password login. Although Microsoft has reduced the auto-login options, enabling autologon in Windows 10/11 is still feasible.

A simple Ansible roles example

26 février 2024 à 14:08
If you want to deploy a web server like Apache or Nginx with Ansible, you can create a playbook outlining the installation and configuration steps. This approach works well for a single web server but can become repetitive and time-consuming if you need to deploy many servers. To streamline the process, you can use Ansible roles to avoid duplicating tasks and make deployment more efficient. To introduce the concept, this post provides a simple example of using Ansible roles.
❌
❌