formats

Enable Automatic Updates in Ubuntu Linux

Published on April 20, 2013, by + in linux, sysadmin.

Enable Automatic Updates in Ubuntu Linux | With Ubuntu or Debian Linux it is possible to enable automatic updates. Here’s how it works!

formats

clamav Signatures not Updating Ubuntu Linux

clamav Signatures not Updating Ubuntu Linux | Clamav will sometimes have trouble downloading updates for some reason or another. I’ll show you how to fix this in Ubuntu Linux! First, stop clamav: $ sudo /etc/init.d/clamav-daemon stop $ sudo /etc/init.d/clamav-freshclam stop Next we are going to manually download the latest signatures from clamav’s website and place them into the proper location in Ubuntu.

formats

How to Manually Edit ufw Rules on Ubuntu Linux

How to Manually Edit ufw Rules on Ubuntu Linux | ufw is the great command line app for managing iptables in Ubuntu. While any changes should use the ufw command, it is possible to rather manually edit user created ufw rules in cases where that might be desirable. The file location is: /lib/ufw/user.rules For ipv6 rules, the file is: /lib/ufw/user6.rules As with iptables, rules are

formats

Ubuntu Server MOTD Include Security Updates

Published on July 7, 2012, by + in linux, sysadmin.

Ubuntu Server MOTD Include Security Updates | Ubuntu Server can display outstanding package and security updates as the MOTD when logging in locally or via ssh. I’ll show you how! To enable this feature, install the following package: $ sudo apt-get install update-notifier-common The terminal output will look as below: $ ssh user@example.com Linux example.com 3.0.18-linode43 #1 SMP Mon Jan 30 11:44:09

formats

What’s New in Ubuntu Server 12.04 LTS

What’s New in Ubuntu Server 12.04 LTS | Ubuntu Server 12.04 will be released on 26 April 2012. Ubuntu 12.04 is supported with security updates until 2017 which makes Ubuntu LTS an attractive choice for use as a server. At the time of this blog post, 12.04 is still in Alpha 1 so many changes are still occurring. However, I will give you

formats

ufw Allow From Specific IP on Specific Port

Published on October 10, 2011, by + in sysadmin.

ufw Allow From Specific IP on Specific Port | ufw is the friendly command line firewall utility in Debian and Ubuntu. I’ll show you how to create a specific rule syntax for allowing traffic in from a specific ip on a specific port. Say for example you want to allow traffic from 192.168.1.215 on udp port 88. Here is the command: $ sudo ufw

formats

Protect Against Brute Force with ufw

Published on August 8, 2011, by + in sysadmin.

Protect Against Brute Force with ufw | ufw is the super easy firewall interface featured in Ubuntu and also the latest Debian. Somewhat like fail2ban, one feature of ufw is built-in rate limiting to protect against brute force attacks. While this could be used on any port, a common use is on port 22 to protect against ssh dictionary attacks or other

formats

Make Your Web Server Snappy With php-apc

Published on August 3, 2011, by + in sysadmin.

Make Your Web Server Snappy With php-apc | In Debian / Ubuntu, simply installing one package will instantly make your web server faster. (That is, if you are serving up php!) Here ya go: sudo apt-get install php-apc Next, edit the following file: $ sudo nano /etc/php5/conf.d/apc.ini And put in the following values. Increase the apc.shm_size as high as is available: extension=apc.so apc.shm_size=64M

formats

Disable Debian Banner Suffix on SSH Server

Published on June 14, 2011, by + in linux, sysadmin.

Disable Debian Banner Suffix on SSH Server | While ssh requires broadcasting the exact version number for the protocol of the openssh spec, you can opt to disable broadcasting of the ‘Debian’ suffix that is added by default. By default your server provides something like this to the world: OpenSSH 5.2p1 Debian 7ubuntu3.5 (protocol 2.0) I’ll show you how to change that and

formats

Prevent Postfix Brute Force

Published on May 26, 2011, by + in linux, sysadmin.

Prevent Postfix Brute Force | An often used attack vector is brute forcing MTA logins. While most admins watch ssh auth logs like a hawk, email auth/login logs are most often not closely watched for this sort of thing if at all. I’ll show you one way to easily prevent a Postfix brute force attack! This how-to focuses on fail2ban

Home Posts tagged "ubuntu server"