Archivo de la categoría: linux

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 »

How to Setup and Configure an OpenVPN Server on CentOS 6 – 7

How to Setup and Configure an OpenVPN Server on CentOS 6 (update centos 7) http://www.unixmen.com/setup-openvpn-server-client-centos-6-5/ Tagged In: CentOS, Miscellaneous, VPN Introduction This article will guide you through the setup and configuration of OpenVPN server on your CentOS 6 cloud server. We will also cover how to configure your Windows, OS X, or Linux client to… Leer más »

Using lsof utility

lsof is one of the little known but very powerfull utility in Linux. Man pages basically says that lsof: list open files. But you can use it for managing and tracking network connections, you can list open ports, identify connections currently being made to your system, and determine what resources a process is using. Not… Leer más »

FIO Perf Tool Nutshell

FIO is an I/O tool meant to be used both for benchmark and stress/hardware verification. It has support for 13 different types of I/O engines (sync, mmap, libaio, posixaio, SG v3, splice, null, network, syslet, guasi, solarisaio, and more), I/O priorities (for newer Linux kernels), rate I/O, forked or threaded jobs, and much more. It… Leer más »

Easter Eggs

$ aptitude moo There are no Easter Eggs in this program. $ aptitude -v moo There really are no Easter Eggs in this program. $ aptitude -vv moo Didn’t I already tell you that there are no Easter Eggs in this program? $ aptitude -vvv moo Stop it! $ aptitude -vvvv moo Okay, okay, if… Leer más »

Transmission 2.40 and above (RPC version: 14 and above)

https://code.google.com/p/transmission-control/ Introduction Transmission Web Control is a custom web UI, Support Transmission Version Transmission 2.40 and above (RPC version: 14 and above) Features Add torrent files or URLs Drag-and-drop to add torrent files Online modify the Transmission setting (Download folder,Speed ​​limit,Port,etc.) Pause / resume / recheck selected or all torrents View the current torrents status… Leer más »

Optimize Apache and MySQL for a 256MB VPS

Home > Misc. Tutorial Logs > Optimize Apache and MySQL for a 256MB VPS « Newer | Older » Optimize Apache and MySQL for a 256MB VPS September 1, 2011 No Comments Tags: apache mysqltuner prefork ubuntu vps For small websites or not so popular WordPress blogs a small VPS with only 256MB of RAM… Leer más »