Lateo.net - Flux RSS en pagaille (pour en ajouter : @ moi)

🔒
❌ À propos de FreshRSS
Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
☐ ☆ ✇ nixCraft

How to find out AWS EC2 instances type over SSH

Par : Vivek Gite — 26 mai 2024 à 13:51
See all GNU/Linux related FAQ

AWS offers various instance types, and sometimes, you need to know which one you are using or which one has been deployed by someone else (another developer or sysadmin) for a project. Don't worry. Here are some commands to find the EC2 instance type over SSH without logging into the AWS console. These commands works with any Linux distro or FreeBSD Unix systems.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to find out AWS EC2 instances type over SSH appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to add an IP alias to an EC2 instance on Debian/Ubuntu Linux

Par : Vivek Gite — 14 mai 2024 à 22:43
See all Debian/Ubuntu Linux related FAQ

An IP alias on Debian, Ubuntu, or any other Linux distros refers to assigning multiple IP addresses to a single network interface. A single network interface card (NIC) can respond to multiple IP addresses and configurations. IP aliases are commonly used for various purposes, such as network segmentation, virtual hosting, load balancing, VPN, split DNS, network testing, and more. Let us see how to add IPv6 and IPv4 IP addresses to your AWS EC2 or Lightsail instance using the CLI without disturbing the IPv4/IPv6 addresses assigned by the AWS DHCP server. These instructions will also work with all other cloud providers, as most providers use DHCP to give you a public IPv4/IPv6 address.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to add an IP alias to an EC2 instance on Debian/Ubuntu Linux appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to configure AWS SES with Postfix MTA on Debian Linux

Par : Vivek Gite — 19 avril 2024 à 09:04
See all Amazon AWS web services related articles/faq

AWS SES (Amazon Simple Email Service) is a cloud-based email-sending service that is both reliable and cost-effective. This service is offered by Amazon Web Services. Postfix is a popular email server for Debian and Unix-like systems. It is an open-source Mail Transfer Agent (MTA) responsible for routing and delivering emails. Debian Linux is a widely used Linux distribution known for its stability and user-friendliness for server usage. Let us see how to integrate AWS SES with the Postfix MTA on Debian Linux version 11/12.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to configure AWS SES with Postfix MTA on Debian Linux appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to add an IP alias on Amazon Linux 2

Par : Vivek Gite — 11 mars 2023 à 22:59
See all Amazon AWS web services related articles/faq

IP aliasing is nothing but associating more than one IP address to a network interface such as eth0. For example, using the following methods, you can add an IP alias on Amazon Linux 2.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to add an IP alias on Amazon Linux 2 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to add swap to AWS EC2/Lightsail Amazon Linux instance

Par : Vivek Gite — 25 août 2022 à 11:27
See all Amazon AWS web services related articles/faq

So like many solo developers, I am tight on resources, especially money-wise. I have two AWS EC2 VMs running as WireGuard VPN on Amazon Linux for personal usage, and another one is my dev machine with Python, PHP and stuff. These are tiny VMs with just 512MB ram. The main problem is my little VM powered by CentOS or Amazon Linux 2 runs out of memory when I run "sudo yum update". The BaseOS repo from RHEL and co is just too big. It requires a minimum of 3 GB ram. So I will also get a segfault when running out of memory as described here. I believe there is a dnf bug open in RHN. So I decided to take matters into my hands and add 8GB of swap space on Amazon Linux 2 EC2 / Lightsail VM running at AWS to fix issues.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to add swap to AWS EC2/Lightsail Amazon Linux instance appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to Set Up WireGuard VPN on Amazon Linux 2

Par : Vivek Gite — 24 mai 2022 à 19:48
See all Amazon AWS web services related articles/faq

WireGuard is an open-source, free, modern, and fast VPN with state-of-the-art cryptography. It is like OpenSSH in simplicity and uses private and public keys. Hence, it is more straightforward as compared to IPSec and OpenVPN. Initially released for the Linux kernel, it works with other operating systems. This page explains how to install and set up WireGuard VPN on Amazon Linux EC2 or Lightsail server.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to Set Up WireGuard VPN on Amazon Linux 2 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to change hostname on Amazon Linux 2 without reboot

Par : Vivek Gite — 23 mai 2022 à 13:48
See all Amazon AWS web services related articles/faq

Do you want to set or update the AWS EC2 or Lightsail hostname without a reboot when using Amazon Linux 2? Here is how to set or change the hostname on Amazon Linux 2 distribution using the ssh client.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to change hostname on Amazon Linux 2 without reboot appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install aws cli on Linux

Par : Vivek Gite — 22 mars 2022 à 21:19
See all GNU/Linux related FAQ

The AWS CLI is an essential tool for developers and sysadmin to automate and interact with AWS cloud services. It is an open-source tool built on the AWS SDL for Python. As a result, you no longer need to use AWS Management Console. Instead, you can use Linux terminal and commands for managing AWS resources. Let us see how to install AWS CLI on Linux using the command-line options.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to install aws cli on Linux appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How To Convert AWS Route53 to Cloudflare Let’s Encrypt DNS challenge with acme.sh

Par : Vivek Gite — 8 février 2022 à 22:40
See all Amazon AWS web services related articles/faq

I already wrote about setting up wildcard Let’s Encrypt SSL/TLS with AWS Route53 DNS for Nginx or Apache. One of my clients decided to use Cloudflare CDN and DNS at some point. They changed their DNS to Cloudflare. Naturally, their wildcard certificate failed because it was using Route53 DNS authentication to issue the certificate. Let us see how to convert existing or expired TLS/SSL certification renewal from AWS Route53 to Cloudflare.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How To Convert AWS Route53 to Cloudflare Let’s Encrypt DNS challenge with acme.sh appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install PHP 7.2/7.3/7.4 or 8.0 on Amazon Linux 2

Par : Vivek Gite — 24 novembre 2021 à 21:10
See all Amazon AWS web services related articles/faq

While working with an application, I needed PHP 7.4 and 8.0 on Amazon Linux 2 EC2 and Lightsail instance. Here is how to install PHP version 7.2/7.3/7.4 or 8.0 on Amazon Linux 2 using the yum command.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to install PHP 7.2/7.3/7.4 or 8.0 on Amazon Linux 2 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install Docker on Amazon Linux 2

Par : Vivek Gite — 8 septembre 2021 à 11:41
See all Docker related FAQs/howtos

How do I install docker and docker-compose using the yum command on Amazon Linux 2 running on the EC2 or Lightsail cloud instance?

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to install Docker on Amazon Linux 2 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to Set or Change Hostname in Amazon Linux EC2 Instance

Par : Vivek Gite — 31 août 2021 à 16:56
See all Amazon AWS web services related articles/faq

I am a new Amazon Linux 2 EC2 instance user. My EC2 name was set to 'ip-172-26-7-134' during instance creation. But now, I would like to change the EC2 hostname to 'stats1'. Can you tell me how do I remove ip-172-26-7-134 and set it to stats1 on Amazon Linux 2? How do I change the Amazon Linux Lightsail or EC2 cloud server instance?

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to Set or Change Hostname in Amazon Linux EC2 Instance appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Linode cloud firewall: Do you need it to protect the Linux server?

Par : Vivek Gite — 2 février 2021 à 06:00

Final firewall policy
Linode is an original cloud platform and founded before AWS. Back then, we used to call them VPS (Virtual Private Server). Recently they added a new firewall feature to control network access to my Linode server from the Cloud. Let us test drive Linode cloud firewall.

The post Linode cloud firewall: Do you need it to protect the Linux server? appeared first on nixCraft.

☐ ☆ ✇ nixCraft

FreeBSD configure AWS SES with Postfix MTA

Par : Vivek Gite — 30 août 2020 à 12:57

How do I integrate and configure Amazon/AWS SES with Postfix running on my FreeBSD Unix server?

The post FreeBSD configure AWS SES with Postfix MTA appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Route 53 Let’s Encrypt wildcard certificate with acme.sh

Par : Vivek Gite — 3 août 2020 à 11:46

Route 53 Let’s Encrypt wildcard certificate with acme.sh
How do I get a wildcard TLS/SSL certificate from Let’s Encrypt using acme.sh and AWS Route53? How can I set up wildcard Let’s Encrypt SSL with AWS Route53 for Nginx or Apache?

The post Route 53 Let’s Encrypt wildcard certificate with acme.sh appeared first on nixCraft.

☐ ☆ ✇ nixCraft

ERROR: Test failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)

Par : Vivek Gite — 25 juillet 2020 à 14:22

When I install s3cmd package on my FreeBSD system and try to use the s3cmd command I get the following error:
    ERROR: Test failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)
How do I fix this problem on FreeBSD Unix system?

The post ERROR: Test failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091) appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to create MySQL user and grant permissions in AWS RDS

Par : Vivek Gite — 24 juin 2020 à 06:07

How do I create a new MySQL user and grant permissions in AWS RDS cloud service from the Linux command line?

The post How to create MySQL user and grant permissions in AWS RDS appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to configure AWS SES with Postfix MTA

Par : Vivek Gite — 30 mai 2020 à 20:28

How do I configure Amazon SES With Postfix mail server to send email under a CentOS/RHEL/Fedora/Ubuntu/Debian Linux server?

The post How to configure AWS SES with Postfix MTA appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to find Public IP address AWS EC2 or Lightsail VM

Par : Vivek Gite — 21 octobre 2019 à 11:16

I need to get public IPv4 address on current EC2 or Lightsail VM Linux/Unix instance. How do I find Public IP address AWS EC2 or Lightsail VM?

The post How to find Public IP address AWS EC2 or Lightsail VM appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Amazon Linux AMI Install Linux, nginx, MySQL, PHP (LEMP)

Par : Vivek Gite — 15 octobre 2019 à 21:39

How do I install Linux, nginx, MySQL, PHP (LEMP) stack on Amazon Linux AMI running on AWS?

The post Amazon Linux AMI Install Linux, nginx, MySQL, PHP (LEMP) appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Set Up a Basic Iptables Firewall on Amazon Linux AMI

Par : Vivek Gite — 10 octobre 2019 à 21:41

How do I set up a basic iptables firewall on Amazon Linux AMI running on EC2 or Lightsail instance?

The post Set Up a Basic Iptables Firewall on Amazon Linux AMI appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install htop on Amazon Linux AMI

Par : Vivek Gite — 9 octobre 2019 à 21:38

I am a new user of Amazon Linux AMI operating system. How do I install htop on Amazon Linux AMI using the yum command?

The post How to install htop on Amazon Linux AMI appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Amazon Linux AMI install mysql client programs for RDS

Par : Vivek Gite — 9 octobre 2019 à 20:10

How do I install mysql command for management Amazon RDS or Managed Databases for Amazon Lightsail on Amazon Linux AMI?

The post Amazon Linux AMI install mysql client programs for RDS appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Amazon Linux AMI update installed packages for security

Par : Vivek Gite — 22 septembre 2019 à 19:18

I would like to update installed packages for security on Amazon Linux AMI server running in the cloud. How can I update my Amazon Linux AMI system using yum command?

The post Amazon Linux AMI update installed packages for security appeared first on nixCraft.

☐ ☆ ✇ nixCraft

2018: Top 10 biggest news stories from Linux and open source world

Par : Vivek Gite — 30 décembre 2018 à 15:07

Biggest news stories from Linux and open source world in 2018
The year 2018 turn out to be big newsmaker for Linux and open source world. The most important acquisition in the open source world, Deepfakes, important security flows in CPUs, and the Facebook scandal all happened in 2018. Vivek Gite picks top 10 most significant and biggest news stories from Linux and open source world that rock IT world.

The post 2018: Top 10 biggest news stories from Linux and open source world appeared first on nixCraft.

❌