Archivo de la categoría: CentOS

Finding the PID of the process using a specific port?

http://unix.stackexchange.com/questions/106561/finding-the-pid-of-the-process-using-a-specific-port Also you can use lsof utility. Need to be root. # lsof -i :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME exim4 2799 Debian-exim 3u IPv4 6645 0t0 TCP localhost:smtp (LISTEN) exim4 2799 Debian-exim 4u IPv6 6646 0t0 TCP localhost:smtp (LISTEN) You can use netstat’s -p option. You’re already issuing it, but… Leer más »

install webmin centos 7

Webmin is a web based tool for Linux, it helps to manage the services like DNS, DHCP, MySQL server, PostgrSQL and other networking services. It also helps to manage the user, disk, file system, process, packages, etc.. This post will guide you to install Webmin on CentOS 7. Create repo for webmin. vi /etc/yum.repos.d/webmin.repo Place… Leer más »

centos 7 minimal

ifconfig -a equivalente en centos 7: ip a list   Install net-tools (ifconfig) #yum install net-tools

How to get started with Firewalld

source: http://www.tejasbarot.com/2014/08/05/rhel-7-centos-7-how-to-get-started-with-firewalld/#axzz3DakgfzHX   Hello All, Today I was trying to learn and know about Systemd. I have found one of the great Article about firewalld, Sharing with you guys, It will help you to understand this biggest and major change in RHEL and CentOS 7. This article is not mine, I found on internet and… Leer más »

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

url: http://www.howtoforge.com/apache_php_mysql_on_centos_7_lamp   1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. I will add EPEL-7 repo here to install latest phpMyAdmin as follows: rpm -ivh http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

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