Archivo de la categoría: linux

How to fix a locale setting warning from Perl

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = «en_US.UTF-8» are supported and installed on your system. perl: warning: Falling back to the standard locale («C»). Adding the following to /etc/environment fixed the problem for me on Debian and Ubuntu (of course, modify to match… Leer más »

How to Install XRDP on CentOS and RedHat Linux 8/7

Introduction Xrdp is an open-source and freely available Remote Desktop Protocol application which allows remote sessions of Linux Server from Windows machines. It will accept remote connections from rdesktop, freerdp and other remote desktop clients. This article guides, installation and configuration steps of xrdp on CentOS/RedHat Linux 8/7. Step 1 : Update Server Node #… Leer más »

 rsync runs by using a lock file crontab

You can ensure that only one instance of that rsync runs by using a lock file. util-linux includes a file locking wrapper called flock, which you can use in your crontab like so:

VMWare: Workstation arrancar desde USB

VMWare Workstation: Arrancar desde USB: Pasos a seguir: 1- Conectamos el USB físico en el equipo donde está instalado VMWare Workstation.2- Descargamos Plop Boot Manager, de la siguiente URL:https://www.plop.at/en/bootmanager/download.html 3- Descomprimimos el fichero ZIP que nos hemos descargado y localizamos el fichero ISO para el arranque: plpbt.iso4- VMWare Workstation: Deberemos crear una máquina virtual para pruebas con como mínimo, el siguiente… Leer más »

Tuning NGINX for Better Performance

https://www.cloudbees.com/blog/tuning-nginx While NGINX is much younger than other web servers, it has quickly become a popular choice. Part of its success is based on it being the web server of choice for those looking for a lightweight and performant web server. In today’s article, we’ll be taking an out-of-the-box instance of NGINX and tuning it… Leer más »

Nginx: 24: Too Many Open Files Error And Solution

‘m getting the following error in my nginx server error log file: 2010/04/16 13:24:16 [crit] 21974#0: *3188937 open() “/usr/local/nginx/html/50x.html” failed (24: Too many open files), client: 88.x.y.z, server: example.com, request: “GET /file/images/background.jpg HTTP/1.1”, upstream: “http://10.8.4.227:81//file/images/background.jpg”, host: “example.com” How do I fix this problem under CentOS / RHEL / Fedora Linux or UNIX like operating systems?… Leer más »