Entradas

Mostrando las entradas etiquetadas como Linux

Monitorear Servicios Servidor Linux (Ubuntu)

Imagen
 Thank to: https://help.clouding.io/ En este post os vamos a explicar como instalar y configurar  Monit   en un servidor Ubuntu. Monit es un sistema de motorización para nuestros servidores que nos permite controlar el uso de recursos y servicios. Monit está recomendado para monitorizar un servidor, si dispones de varios servidores hay otras alternativas como  Zabbix  o  Nagios . Al final de todo añadimos un enlace a la web Monit donde está toda la documentación sobre configuraciones. Instalamos Monit en nuestro servidor # apt install monit Activamos interfaz web Monit Crearemos un fichero ejecutando: vi /etc/monit/conf.d/web-interface contenido: set httpd port 2812 use address 46 . 183 .XXX.XXX #IP Pública de nuestro servidor Cloud allow 0.0.0.0 / 0.0.0.0 allow 'admin' : 'monit' # usuario:contraseña cambiar estos datos por otros más seguros Configuramos el Servidor SMTP para envío alertas Omitir este paso si no queremos recibir avisos por email. ...

iSCSI : Configure iSCSI Initiator in Linux

 Thank to: https://www.server-world.info/ Configure iSCSI Initiator. This example is based on the environment like follows. +----------------------+ | +----------------------+ | [ iSCSI Target ] |10.0.0.30 | 10.0.0.51| [ iSCSI Initiator ] | | dlp.srv.world +----------+----------+ node01.srv.world | | | | | +----------------------+ +----------------------+ [1] Configure iSCSI Initiator to connect to iSCSI Target. root@node01:~#  apt  -y install open-iscsi root@node01:~#  vi  /etc/iscsi/initiatorname.iscsi # change to the same IQN you set on the iSCSI target server InitiatorName= iqn.2022-04.world.srv:node01.initiator01 root@node01:~#  vi  /etc/iscsi/iscsid.conf # line 58 : uncomment node.session.auth.authmethod = CHAP # line 69,70: uncomment and specify the username and password you set on the iSCSI target server node.session.auth.us...

Getting Started with Nessus on Kali Linux

Imagen
 Thank to: https://www.tenable.com/ Kali Linux , a Linux distribution designed specifically for penetration testing, comes prepackaged with many pen test tools. Nessus® provides a penetration tester with a wealth of capabilities that will assist in the engagement, such as: Identifying local and remote vulnerabilities Configuration and compliance audits Checking for default credentials Web application scanning Nessus isn’t installed on Kali Linux by default, but this post will show you how to install Nessus and provide some suggestions for using it in a penetration testing engagement to gain a more complete understanding of your organization's security posture. Please Note: Because the Kali Linux installation of Nessus has been very popular over the past several years, the instructions in this blog were updated by Juan Vela on May 13, 2019, to reflect the latest version of Nessus. If you are interested in learning how to install Nessus version 5 on Kali Linux, please read our 2...

Set Up UFW Firewall in 5 Minutes

Imagen
 Thank to: https://www.cyberciti.biz/ A Ubuntu 22.04 LTS comes with UFW (uncomplicated firewall) that protects the desktop or server against unauthorized access. UFW is easy to use frontend app for a Linux packet filtering system called Netfilter. Traditionally Netfilter rules are set up or configured using the iptables command by developers and sysadmins. However, new Ubuntu Linux users and developers unfamiliar with firewall concepts find Netfilter syntax confusing. Hence, the ufw project provides easy to use frontend for Ubuntu 22.04 LTS Linux server and desktop. It is so super easy to set up. You can configure UFW in under 5 minutes and secure your host. This page explains how to set up a firewall with UFW on Ubuntu 22.04 LTS server or desktop. Tutorial details Difficulty level Easy Root privileges Yes Requirements Linux terminal Category Firewall OS compatibility Debian • Linux • Mint • Ubuntu Est. reading time 5 minutes Ubun...

How to Install Webmin on Ubuntu 22.04

Imagen
 Thank to: https://osnote.com Webmin is a web-based configuration tool for any Linux system that lets you manage your server through a web interface. You can use Webmin to set up users, disk quotas, services or configuration files, Apache, DNS, and more. With Webmin, we can manage and control multiple systems from one central location. Webmin comes with many modules that can be used to extend Webmin’s features easily. In this tutorial, we will learn how to install Webmin on an Ubuntu server. Requirements A server running Ubuntu Linux. A non-root user with sudo privileges. First steps First, update your system with the latest version by running the following command: sudo apt update -y sudo apt upgrade -y Once your system is updated, reboot your system to apply the changes. Then install some prerequisites: apt install software-properties-common apt-transport-https wget Install Webmin By default, Webmin is not available in the default repository of Ubuntu. Therefore, you ...

How to Safeguard Your Ubuntu 22.04 Server with UFW Firewall and Fail2ban

 Thank to: https://shape.host/ ‍In today’s digital landscape, securing your server against malicious login attempts and brute-force attacks is of utmost importance. One effective tool for Linux servers is Fail2ban, a free and open-source Intrusion Prevention Software (IPS). Fail2ban is written in Python and offers filters for various services such as Apache2, SSH, FTP, and more. By scanning log files and identifying malicious login attempts, Fail2ban blocks the IP addresses of the attackers, effectively reducing the risk of unauthorized access. In this comprehensive guide, we will walk you through the process of installing and configuring Fail2ban on your Ubuntu 22.04 server. We will cover everything from setting up the UFW Firewall to managing Fail2ban using the fail2ban-client command. By the end of this tutorial, you will have a secure and well-protected server, shielded from potential threats. Prerequisites Before we dive into the installation process, make su...