On Fri, 22 Mar 2013 OpenSSH 6.2 was released and like always, bring more improvements including support for multiple required authentication in SSH
protocol 2 via an AuthenticationMethods option:

sshd(8): Added support for multiple required authentication in SSH
   protocol 2 via an AuthenticationMethods option. This option lists
   one or more comma-separated lists of authentication method names.
   Successful completion of all the methods in any list is required for
   authentication to complete. This allows, for example, requiring a
   user having to authenticate via public key or GSSAPI before they
   are offered password authentication.

You can read more about this release here: https://lwn.net/Articles/543961/

I this guide I will show to how to connect to a Cisco equipment using minicom.

1. Install minicom If not installed:

apt-get install minicom

2. Setup minicom.

To enter in minicom setup screen use:

# minicom -s

minicom_setup

Now select “Serial port setup”  from the menu:

First thing you need to do is to select the serial port.
Select A and set it to ttyS0 on some other distribution will be ttyUSB0.

Then you need to select E to configure the port connection.
A new window called comm parameters will show up and  in this new window, press C to set the speed to 9600bps, and V to use 8 data bits, and then press Enter o go back to the previous window. Continue Reading…

Fix: Postfix File too big error

Valic —  March 13, 2013 — 1 Comment

I was looking in my server logs and I’ve found an error from my Postfix Mail Server. That appeared when I wanted to send a 10MB backup trough mail. The error was found in /var/log/mail.err file and looks like this:

postfix/postdrop[197353]: warning: uid=0: File too large
postfix/sendmail[197352]: fatal: root(0): message file too big

To check the default attachments size settings of Postfix use the following command:

# postconf -d | grep size
berkeley_db_create_buffer_size = 16777216
berkeley_db_read_buffer_size = 131072
body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
mailbox_size_limit = 51200000
message_size_limit = 10240000
tcp_windowsize = 0

As you can see the Postfix default value for a mailbox size is 51200000 bytes and max message size is 10240000 bytes.
To fix this issue the maximum outgoing message size needs to be increased as well as the mailbox size.
By entering the following commands we will set unlimited for both, mailbox size and max message size:

postconf -e mailbox_size_limit=0 Continue Reading...

If you want to monitor your Nginx server status and all connections per second just like Apache mod_status unde Debian or any Linux/Unix distribution follow this tutorial.

By default, Nginx web server comes with a module called  HttpStubStatusModule that provides information on Nginx active connections, connections per second and other.

This tutorial will show you how to enable this feature in Debian Squeeze:

1. Configure Ngins Status:

First, open the nginx.conf file. On Debian, this is located under the /etc/nginx directory.

# vi nginx.conf

Then add the followings in context location or under every virtualhost that you have configured:

location /nginx_status {
#This turn on stats
stub_status on;
access_log off;
#You can allow only from your home IP address or from any location
allow 192.168.1.100; #Let's day that this is your IP
#Uncomment the next line if you want to allow access to this from anywhere
#allow all;
deny all;
}

2. Save and close the file and reload nginx server:

/etc/init.d/nginx restart
[ ok ] Restarting nginx: nginx.

OR Continue Reading…

CentOS 6.4 was Released

Valic —  March 10, 2013 — Leave a comment

CentOS team was announced today the release of CentOS-6.4  install media for i386 and x86_64 Architectures.

You should look on those release notes for 6.4  that are available here:  http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.4

CentOS-6.4 is based on the upstream release EL 6.4 and includes packages from all variants. All upstream repositories have been combined into one, to make it easier for end users to work with.

There are some changes in this release, compared with the past CentOS-6 releases, and is highly recommend for everyone to read the Release Notes.

All updates released since upstream 6.4 release are also released to the CentOS-6.4 mirrors

Torrent files for the DVD’s are available at :
http://mirror.centos.org/centos/6.4/isos/i386/CentOS-6.4-i386-bin-DVD1to2.torrent
http://mirror.centos.org/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-bin-DVD1to2.torrent

You can also use a mirror close to you :
http://www.centos.org/modules/tinycontent/index.php?id=30

More info here  http://lists.centos.org/pipermail/centos-announce/2013-March/019276.html