formats

How to Manually Edit ufw Rules on Ubuntu Linux

Published on 2012/08/25, by in linux, sysadmin.

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

bing – Measure Bandwidth from Command Line

Published on 2012/08/22, by in linux, sysadmin.

bing – Measure Bandwidth from Command Line | The command line program bing measures bandwidth between two point to point locations. This is an excellent tool for testing throughput or interfaces. Here is how it works! Install bing: $ sudo apt-get install bing The syntax is: $ sudo bing [host1] [host2] bing works by sending an ICMP echo request and measuring the delay

formats

ss – the alternative to netstat

Published on 2012/08/16, by in linux, sysadmin.

ss – the alternative to netstat | An alternative to netstat is the utility ss. ss dumps socket statistics in a clear and more simple view as compared to netstat. Let’s check it out! With no options specified, ss displays a list of TCP sockets with established connections. This is useful on a server to see what clients are connected. The option

formats

Install EPEL Repository for CentOS 6

Published on 2012/08/09, by in linux, sysadmin.

Install EPEL Repository for CentOS 6 | The Fedora EPEL Repository provides many additional packages that are for use with either Red Hat or CentOS. I’ll show you how to add this repository for CentOS 6! Run the following command (you do use sudo, right?!): 32bit: $ sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 64bit: $ sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Now enjoy 7674 additional packages

formats

Install Drupal 7 in Ubuntu 12.04

Published on 2012/08/08, by in linux, sysadmin.

Install Drupal 7 in Ubuntu 12.04 | Drupal 7 is provided in Ubuntu 12.04. I’ll show you how to get it up and running! 1. Install the package drupal7: $ sudo apt-get install drupal7 2. Create the following apache site configuration file: $ sudo nano /etc/apache2/sites-available/drupal7 Alias /drupal7 “/usr/share/drupal7″ < Directory /usr/share/drupal7 > Options -Indexes FollowSymLinks MultiViews < /Directory > 3. Enable

formats

Change sudo default password timeout

Published on 2012/08/04, by in linux, sysadmin.

Change sudo default password cache | sudo’s default password cache time is 5 minutes. To change the default time, it is possible to edit a setting in /etc/sudoers as desired. I’ll show you how! Edit /etc/sudoers with your desired text editor, or as standard with sudo visudo: $ sudo visudo For example, to increase the timeout to 30 minutes for user

formats

Combine apt-get update and apt-get upgrade in one command

Published on 2012/08/01, by in linux, sysadmin.

Combine apt-get update and apt-get upgrade in one command | On Ubuntu or Debian, it is possible to make a small bash one-liner to fully update the host with one simple command. I’ll show you how! 1. Create a file called ‘update’ in /usr/local/bin: $ sudo nano /usr/local/bin/update 2. Type the following for the file contents, then save with Control+X. #!/bin/bash sudo apt-get update &&

formats

Suse | sudo asks for root password

Published on 2012/07/25, by in linux, sysadmin.

Suse | sudo asks for root password | By default, the sudo command on Suse Linux asks for the root password instead of the user’s password. I’ll show you how to fix that to be more expected (and secure!) behavior of sudo and only ask for the user’s password. 1. Crack open a terminal, and issue: $ sudo visudo 2. Comment out the

formats

Blue Snowball USB Mic – Linux Compatible

Published on 2012/07/23, by in linux.

Blue Snowball USB Mic – Linux Compatible | Audio geeks: the Blue Snowball mic works great in Linux. The Blue Snowball is a single channel (mono) 16bit 44.1kHz USB condenser microphone. The chip is CM6317A Below are some geeky tidbits: $ lsusb Bus 006 Device 003: ID 0d8c:0005 C-Media Electronics, Inc. $ arecord -l **** List of CAPTURE Hardware Devices **** card 2:

Home Archive for category "linux" (Page 14)