ZPanel y Sentora en CentOS 6 x64
ZPanel, un panel de control de alojamiento web popular, se bifurcó en 2014 a un nuevo proyecto llamado Sentora. Aprende a instalar Sentora en tu servidor con este tutorial.
Memcached is an open-source, distributed, in-memory object caching system. It is mainly used for speeding up dynamic web applications by storing chunks of data from the results of database calls and page rendering.
In this guide, we will install and secure Memcached on Ubuntu 18.04.
sudo accessFirst, update the system:
sudo apt update && sudo apt upgrade -y
Next, install the official Memcached package; as well as libmemcached-tools, which provides several utilities to work with Memcached:
sudo apt install -y memcached libmemcached-tools
Memcached will now be installed as a service. You can ensure that it is running by using systemctl:
sudo systemctl status memcached
The output will resemble the following:
memcached.service - memcached daemon
Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-12-16 14:59:06 IST; 3 weeks 4 days ago
Main PID: 3927 (memcached)
Tasks: 6
Memory: 2.2M
CPU: 2min 10.089s
CGroup: /system.slice/memcached.service
└─3927 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1
Let's bind Memcached to the local interface to avoid potential DDOS attacks. Open the /etc/memcached.conf file in your favorite editor:
sudo vi /etc/memcached.conf
Find the following line in the file and ensure that it is uncommented:
-l 127.0.0.1
If this configuration is more open, you can restrict UDP by adding the following line at the end of the file:
-U 0
Save the file and exit.
Restart Memcached to apply your changes:
sudo systemctl restart memcached
You can verify Memcached is bound only to the local interface and listening only to TCP connections with netstat:
sudo netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
...
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 3927/memcached
...
There are also a few other options that can be modified in the /etc/memcached.conf configuration:
-m: Caps the amount of memory available to Memcached.-p: Specifies on which port Memcached should listen. The default port is 11211.-u: Specifies with which user the service will use to run. By default, the service will run as root.-c: Caps the number of concurrent connections. The default is 1024.Now, you can verify the set up using memcstat command from libmemcached-tools package:
memcstat --servers="localhost"
The output will resemble the following:
Server: localhost (11211)
pid: 3927
uptime: 2217682
time: 1547170226
version: 1.4.25
libevent: 2.0.21-stable
pointer_size: 64
rusage_user: 75.436000
rusage_system: 57.768000
curr_connections: 1
total_connections: 53082
...
In this guide, we covered how to install and configure Memcached and used memcstat to fetch stats. The libmemcached-tools package also comes with a few other utilities that can help in interacting with Memcached.
ZPanel, un panel de control de alojamiento web popular, se bifurcó en 2014 a un nuevo proyecto llamado Sentora. Aprende a instalar Sentora en tu servidor con este tutorial.
Aprende cómo instalar Vtiger CRM, una aplicación de gestión de relaciones con el cliente, en CentOS 7 para aumentar tus ventas y mejorar el servicio al cliente.
Esta guía completa le mostrará cómo configurar un servidor Counter-Strike 1.6 en Linux, optimizando el rendimiento y la seguridad para el mejor juego. Aprende los pasos más recientes aquí.
Los ataques de ransomware van en aumento, pero ¿puede la IA ayudar a lidiar con el último virus informático? ¿Es la IA la respuesta? Lea aquí, sepa que la IA es una bendición o una perdición
ReactOS, un sistema operativo de código abierto y gratuito, está aquí con la última versión. ¿Puede satisfacer las necesidades de los usuarios de Windows de hoy en día y acabar con Microsoft? Averigüemos más sobre este estilo antiguo, pero una experiencia de sistema operativo más nueva.
Whatsapp finalmente lanzó la aplicación de escritorio para usuarios de Mac y Windows. Ahora puede acceder a Whatsapp desde Windows o Mac fácilmente. Disponible para Windows 8+ y Mac OS 10.9+
Lea esto para saber cómo la Inteligencia Artificial se está volviendo popular entre las empresas de pequeña escala y cómo está aumentando las probabilidades de hacerlas crecer y dar ventaja a sus competidores.
Recientemente, Apple lanzó macOS Catalina 10.15.4, una actualización complementaria para solucionar problemas, pero parece que la actualización está causando más problemas que conducen al bloqueo de las máquinas Mac. Lee este artículo para obtener más información
13 Herramientas comerciales de extracción de datos de Big Data
Nuestra computadora almacena todos los datos de una manera organizada conocida como sistema de archivos de diario. Es un método eficiente que permite a la computadora buscar y mostrar archivos tan pronto como presiona buscar.