Archivo de la categoría: Nix

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: How to get started with Firewalld »

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

HP ProLiant DL980 G7 Configure-to-order Server AM451A Supports up to eight 10-Core Intel® Xeon® E7-4800 sequence processors PC3-10600R Fully Buffered DIMMs (DDR3) with 32 memory slots Support for up to 8 hot plug SFF SAS drives HP Smart Array P410i with optional Fast Backed Write Cache (FBWC) HP NC375i Integrated Quad Port Multifunction Gigabit Server… Leer más: »

Add sshd port macsox mavericks

Edit: #vi /System/Library/LaunchDaemons/ssh.plist Add:                  <key>Alternate Listeners</key>             <dict>                     <key>SockServiceName</key>                     <string>2222</string>             </dict> To: <key>Sockets</key>         <dict>                 <key>Listeners</key>                 <dict>                         <key>SockServiceName</key>                         <string>ssh</string>                         <key>Bonjour</key>                         <array>                                 <string>ssh</string>                                 <string>sftp-ssh</string>                         </array>                 </dict>                  <key>Alternate Listeners</key>             <dict>                     <key>SockServiceName</key>                     <string>2222</string>             </dict>         </dict> Unload and load… Leer más: Add sshd port macsox mavericks »

Linux List All Large Files

Linux List All Large Files To finds all files over 50,000KB (50MB+) in size and display their names, along with size, use following syntax: Syntax for RedHat / CentOS / Fedora Linux find {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk ‘{ print $9 «: » $5 }’ Search or find… Leer más: Linux List All Large Files »

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: openvpn username password auth »