Archivo de la categoría: CentOS

openvpn username password auth

edit /etc/openvpn/server.conf CENTOS X64 # Username and Password authentication. client-cert-not-required plugin /usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so login RASPBERRY # Username and Password authentication. client-cert-not-required plugin /usr/lib/openvpn/openvpn-auth-pam.so login Also script for firewall cat firewall-openvpn-rules.sh #!/bin/sh iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j SNAT –to-source 11.22.33.44 11.22.33.44 you RPI address Add pre-up /etc/firewall-openvpn-rules.sh We want to add a… Leer más »

how to install java centos

This is guide, howto Install Sun/Oracle Java JDK and JRE 7 update 40 (7u40) on Fedora 19/18/17/16/15/14/13/12, CentOS 6.4/6.3/6.2/6.1/6/5.9, Red Hat (RHEL) 6.4/6.3/6.2/6.1/6/5.9. If you’re looking instruction for Sun/Oracle Java JDK/JRE version 6 installation on Fedora 19/18, CentOS/Red Hat (RHEL) 6.4/5.9, please check this guide. What’s new in Sun/Oracle Java 7 VM Compressed 64-bit object… Leer más »

NAT para tap0 qemu openvz CENTOS 6

echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j SNAT –to 123.123.123.123 iptables -t nat -A POSTROUTING -j SNAT –to-source 10.0.0.2 123.123.123.123 vps IP source tap0 interface ip

Compile qemu for Centos 6 GNS3

Common errors: glib-2.12 required to compile QEMU ERROR: pixman not present. Your options: (1) Preferred: Install the pixman devel package (any recent distro should have packages as Xorg needs pixman too). (2) Fetch the pixman submodule, using: git submodule update –init pixman Install: yum install git glib2 glib2-devel pixman pixman-devel git clone git://git.qemu-project.org/qemu.git ./configure make… Leer más »

“Cannot Connect to X Server :0.0”

“Cannot Connect to X Server :0.0” cuestión que se resuelve poniendo: xhost + pero ahí me parece que se le está sacando mucha seguridad a algo, pero bueno, no será el primer linux que rompo Aclaración: xhost + lo ejecuto desde el usuario no root para que el root pueda usarlo, andá a saber… y… Leer más »

Installing GNS3 on CentOS/RHEL 6

Aug 1st, 2012 by jrehmert Login as root and run the following (accept all dependencies): yum install python python-devel xorg-x11-proto-devel libXext-devel gcc-c++ libXrender* PyQt4 PyQt4-devel qt qt-devel qemu-img libvirt Download the latest GNS3 source, unpack it to /opt, create symbolic link, create subfolders and set permissions: wget http://iweb.dl.sourceforge.net/project/gns-3/GNS3/0.8.3/GNS3-0.8.3-src.tar.gz tar -xvf GNS3-0.8.3-src.tar.gz /opt cd /opt ln… Leer más »

pptpd

1. Install ppp via yum: $ yum install ppp -y 2. Download and install pptpd (the daemon for point-to-point tunneling). You can find the correct package at this website http://poptop.sourceforge.net/yum/stable/packages/ : $ cd /usr/local/src $ wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm $ rpm -Uhv pptpd-1.3.4-2.el6.x86_64.rpm 3. Once installed, open /etc/pptpd.conf using text editor and add following line: remoteip 192.168.0.234-238,192.168.0.245… Leer más »

Malware Detector – Maldet

It is quite a common view that your server eventually will be the target of unethical hackers. They will try their best to hack into your server, inject their codes, and get the right to brag among their buddies (pathetic). There so many ways on how they gain access to the server but usually thanks… Leer más »

Increasing Disk Space in CentOS using LVM

Increasing Disk Space in CentOS using LVM By SecaGuy On 13 July 2011 · 1 Comment LVM (Logical Volume Manager) is a tool in Linux which can help you manage disk drives and partition. Usually it being used in server/computer whereby you can easily re-size the partition, creating snapshots backup, combined all hard disk to… Leer más »