Archivo del Autor: carlosap
activate serial centos 6 server ibm imm2
cat /etc/init/ttyS1.conf # ttyS0 – agetty stop on runlevel [016] start on runlevel [345] instance ttyS1 respawn pre-start exec /sbin/securetty ttyS1 exec /sbin/agetty /dev/ttyS1 115200 vt100-nav start ttyS1
Geekbench 4.2.0 Windows x86 (64-bit) Dell Inc. PowerEdge T110 I
Dell Inc. PowerEdge T110 II Single-Core Score Multi-Core Score 3365 10985 Geekbench 4.2.0 Tryout for Windows x86 (64-bit) Result Information Upload Date December 11 2017 04:36 AM Views 1 System Information System Information Operating System Microsoft Windows 10 Pro (64-bit) Model Dell Inc. PowerEdge T110 II Motherboard Dell Inc. 015TH9 Memory 4096 MB DDR3 SDRAM… Leer más »
change ip static ubuntu 17
he package ifupdown and so /etc/network/interfaces are no longer used. Ubuntu 17.10 Server uses the package netplan instead, which configures systemd-networkd. Make sure you use the default content for the config file /etc/network/interfaces # /etc/network/interfaces — configuration file for ifup(8), ifdown(8) # Generated by debian-installer. # The loopback interface auto lo iface lo inet loopback… Leer más »
Linux find the exact memory usage
ps_mem.py. git clone https://github.com/pixelb/ps_mem.git cd ps_mem sudo ./ps_mem.py
Guide to pfSense 04 – How-To Block Ad’s and Websites using pfBlockerNG
https://forum.it-monkey.net/index.php?topic=22.0
bandwith meter linux monitor network
Package: sysstat (11.0.1-1)Links for sysstat Download Source Package sysstat: [sysstat_11.0.1-1.dsc] Maintainer: Robert Luberda (QA Page) External Resources: Homepage [pagesperso-orange.fr] Similar packages: saidar collectd-core procmeter3 atop system performance tools for Linux The sysstat package contains the following system performance tools: – sar: collects and reports system activity information; – iostat: reports CPU utilization and disk I/O… Leer más »
install arc linux
install arch linux
Ver paquetes instalados en un entorno virtual
Ver paquetes instalados en un entorno virtual Se pueden ver los paquetes instalados en un entorno virtual mediante el siguiente comando: pip freeze Mostrará la lista de paquetes, tales como: Django==1.5 MySQL-python==1.2.4 argparse==1.2.1 distribute==0.6.36 django-debug-toolbar==0.9.4 ipython==0.13.1 lxml==3.1.1 pygeoip==0.2.6 requests==1.2.0 wsgiref==0.1.2 Podemos volcar ese contenido en un archivo de requisitos: pip freeze > requirements Y usar… Leer más »
crear un sitio django – gunicorn – nginx – supervisord – centos 7 – selinux
1. crear virtualenv virtualenv misitio 2. activar virtualenv source /opt/virtualenvs/misitio/bin/activate 3. Instalar paquetes: pip install django==1.10 pip install psycopg2==2.7.3.1 pip install django-suit==0.2.25 pip install django_select2 pip install gunicorn pip install django_select2 4. Crear base inicial: python manage.py makemigrations python manage.py migrate 5. Crear usuario python manage.py createsuperuser SELINUX setenforce 1 semanage fcontext -a -t httpd_sys_content_t… Leer más »