Archivo de la categoría: Linux

Find the UUID of a filesystem and add to fstab

use blkid sudo blkid /dev/sda2: LABEL=»NTFSDISK» UUID=»8C14553212372BD7″ TYPE=»ntfs» PARTLABEL=»Basic data partition» PARTUUID=»6120d102-a321-2dg3-a3c2-abc3b31313a3″ /dev/sda1: UUID=»727cac18-044b-4504-87f1-a5aefa774bda» TYPE=»ext3″ /dev/sdb: UUID=»467c4aa9-963d-4467-8cd0-d58caaacaff4″ TYPE=»ext3″ Find UUID and add to fstab # # /etc/fstab # Created by anaconda on Fri Feb 2 13:55:13 2018 # # Accessible filesystems, by reference, are maintained under ‘/dev/disk’ # See man pages fstab(5), findfs(8), mount(8) and/or… Leer más »

Timeout systemctl systemd

systemctl cat Then you need to create a {service}.service file to override your settings with information from [Service] section from systemctl cat {service} command and restart daemon after that: echo «[Service] TimeoutSec=15min ExecStart=/etc/rc.d/init.d/ start ExecStop=/etc/rc.d/init.d/ stop ExecReload=/etc/rc.d/init.d/ reload» > /lib/systemd/system/{service}.service sudo systemctl daemon-reload Timeout set by systemd systemctl show SERVICE_NAME.service -p TimeoutStopUSec

Linux: Find Out Which Process Is Listening Upon a Port

How do I find out running processes were associated with each open port? How do I find out what process has open tcp port 111 or udp port 7000 under Linux? You can the following programs to find out about port numbers and its associated process: netstat – a command-line tool that displays network connections, routing… Leer más »

How to Set Up Shiny Server nginx

An older version of this article was written by Dean Attali. Introduction While many people primarily turn to the open-source programming language R for statistical and graphics applications, Shiny is an R package that allows you to convert your R code into interactive webpages. And when combined with Shiny Server — available in both a… Leer más »

How to Install Shiny Server on CentOS 7

Shiny Server is a web server program specifically designed to host R-powered Shiny apps. With Shiny Server, you can easily host various R-powered apps without getting HTML, CSS, JavaScript or other stuff involved. This article will guide you through the process of installing Shiny Server on a CentOS 7. Prerequisites A VM Running CentOS 7… Leer más »

csvkit 0.9.0 (beta)

https://csvkit.readthedocs.io/en/0.9.0/   About csvkit is a suite of utilities for converting to and working with CSV, the king of tabular file formats. It is inspired by pdftk, gdal and the original csvcut utility by Joe Germuska and Aaron Bycoffe.   Input in2csv sql2csv Processing csvclean csvcut csvgrep csvjoin csvsort csvstack Output (and Analysis) csvformat csvjson… Leer más »

How To Back Up, Restore, and Migrate a MongoDB Database

PostedApril 15, 2016 91.2k views MongoDB Backups Ubuntu MongoDB is one of the most popular NoSQL database engines. It is famous for being scalable, powerful, reliable and easy to use. In this article we’ll show you how to back up, restore, and migrate your MongoDB databases. Importing and exporting a database means dealing with data… Leer más »

Resize a Linux Root Partition Without Rebooting resize alienvault

Introduction A typical Linux server deployed from a ProfitBricks supplied image has a single storage volume, /dev/vda. If we take a look at that using fdisk we will see that the disk is divided into two partitions. The first one, /dev/vda1, is the boot partition where the OS resides. The second partition, /dev/vda2, is configured as swap space. root@debian:~# fdisk… Leer más »

nginx reverse proxy

To pass a request to an HTTP proxied server, the proxy_pass directive is specified inside a location. For example: location /some/path/ { proxy_pass http://www.example.com/link/; } This example configuration results in passing all requests processed in this location to the proxied server at the specified address. This address can be specified as a domain name or an IP address.… Leer más »

Comandos para liberar espacio con apt-get

Por usemoslinux  – 4 julio, 2011 53 61149 ¿Problemas de espacio? Tal vez la culpa no sea completamente de tus archivos de música, imágenes y vídeo, sino de paquetes de instalación y dependencias innecesarias en el sistema. Pero no hay que desesperar, existen algunos comandos de apt-get que pueden ayudar a solucionar estos inconvenientes. Índice [Ocultar] 1 Apt 2 Apt-get… Leer más »