Sunday, November 20, 2011

Download Ubuntu 11.10 (Oneiric Ocelot) CD ISO / DVD Images

Ubuntu Linux (a GNU/Linux-based computer operating system) version 11.10 has been released and available for download. The new release includes some enhancements to make your experience even more enjoyable. The Default user interface is set to unity shell on top of GNOME 3.x. However, you will get a 2D version of Unity as a fallback for systems that lack the hardware resources for the 3D version. The good news is you will be able to install the entire GNOME 3 desktop along with GNOME Shell directly from the Ubuntu repos.

View the Original article

Download Fedora 16 CD / DVD ISO

Fedora Linux version 16 (code name "Verne") has been released and available for download ( jump to download link ). Fedora Linux is a community-based Linux distribution which is sponsored by Red Hat, Inc. This release is dedicated to Dennis Ritchie, who co-invented Unix and the C language. Fedora is considered as the third most popular cutting edge distro, behind Ubuntu and Mint Linux for desktop and laptop usage.

View the Original article

Installing And Using OpenVZ On CentOS 5.7

# yum search vzkernel
...
ovzkernel.i686 : Virtuozzo Linux kernel (the core of the Linux operating system)
ovzkernel.x86_64 : Virtuozzo Linux kernel (the core of the Linux operating system)
ovzkernel-PAE.i686 : The Linux kernel compiled for PAE capable machines.
ovzkernel-PAE-devel.i686 : Development package for building kernel modules to match the PAE kernel.
ovzkernel-devel.i686 : Development package for building kernel modules to match the kernel.
ovzkernel-devel.x86_64 : Development package for building kernel modules to match the kernel.
ovzkernel-ent.i686 : The Linux kernel compiled for huge mem capable machines.
ovzkernel-ent-devel.i686 : Development package for building kernel modules to match the ent kernel.
ovzkernel-xen.i686 : The Linux kernel compiled for Xen VM operations
ovzkernel-xen.x86_64 : The Linux kernel compiled for Xen VM operations
ovzkernel-xen-devel.i686 : Development package for building kernel modules to match the kernel.
ovzkernel-xen-devel.x86_64 : Development package for building kernel modules to match the kernel.


View the Original article

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 11.10)

an email address) which is easier to understand and keep in mind.

This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.

This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

This tutorial is based on Ubuntu 11.10 Server (Oneiric Ocelot), so you should set up a basic Ubuntu 11.10 server installation before you continue with this tutorial (e.g. as shown on the pages 1 - 3 in this tutorial: The Perfect Server - Ubuntu 11.10

View the Original article

Installing LedgerSMB 1.3 Series (Open Source Accounting/ERP Application) On Ubuntu 11.10 (Oneiric Ocelot)

localhost.

This tutorial is only for LedgerSMB 1.3 series.

For the 1.2 versions please refer to http://www.howtoforge.com/ledgersmb_debian_etch of which author is Falko Timme: Installing LedgerSMB (Open Source Accounting Application) on Debian Etch.

Only with this remark that libmd5-perl is not in the repositories anymore. Hereunder you will find how to download and install this Perl-module.

Thanks to Falko I could explore LedgerSMB in the beginning. Evidently I would like to thank also Chris Travers (www.ledgersmb.org) who has assisted me a lot.

Of course there is no guarantee that this will work in general terms.

This instruction is made with the intention that you can copy and paste the commands into the terminal. In case of sudo commands your password will be asked.

The same goes for the needed changes in some configuration files; evidently the changes in those files have to be done manually.

 

2. Installation Of Required Perl Modules And Required Texlive Modulessudo apt-get install libdata-dumper-simple-perl perl-modules liblocale-maketext-lexicon-perl libdbi-perl libdbd-pg-perl libconfig-any-perl libmime-lite-perl libhtml-linkextractor-perl libnet-tclink-perl libparse-recdescent-perl libmodule-build-perl libperl5.12 libuuid-perl liblocale-gettext-perl libyaml-tiny-perl libtext-iconv-perl libtext-charwidth-perl libmodule-install-perl liblatex-driver-perl

(This is one command.)

There are another three modules to be installed, the first two (SOURCE: Falko Timme):

libclass-std-perl
libconfig-std-perl

But they are not in the repositories. First both should be done by downloading from Sourceforge:

cd /tmp
wget http://mesh.dl.sourceforge.net/sourceforge/ledger-smb/deb-prereq-1.2.8.tar.gz
tar xvfz deb-prereq-1.2.8.tar.gz
cd deb-prereq-1.2
sudo dpkg -i libclass-std-perl_0.0.8-1_all.deb libconfig-std-perl_0.0.4-1_all.deb

The last one is:

libmd5-perl

This is to be downloaded from Debian:

cd /tmp
wget http://ftp.debian.org/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb
sudo dpkg -i libmd5-perl_2.03-1_all.deb

In connection with the above mentioned installed Perl modules a few texlive modules should be installed also. I would like to emphasize if those are not installed Perl will not work with the LedgerSMB!!!

sudo apt-get install texlive-fonts-extra texlive-latex-extra-doc texlive-lang-all texlive-latex-extra texlive-fonts-recommended texlive texlive-doc-en

This could take long time (700MB)!!!

Unfortunately one needed Texlive-module is not in the repositories:

texlive-generetic-extra

This is going to be downloaded from Ubuntu: http://packages.ubuntu.com/lucid/texlive-generic-extra

Just copy and paste this in your browser in order to enter this website. Under the page you will see this: "Download texlive-generic-extra" and go to
"all" under "architecture", then choose a "site" (a lot) for download and choose save.

In order to install this do the following:

cd

View the Original article

Saturday, November 19, 2011

Back Up Files With Déjà Dup (Linux Mint 11)

Please notice that I selected a local folder only fordemonstrational purposes. A back up is supposed to save and restoreyour files in case of emergency, which is most likely a corruption ofthe hard drive the data is on, that is why you should either select anexternal hard drive or an online server you have access to. The nexttab is the Files tab, where you specify which files you want to back up and, if that is the case, which files to exclude from backing up.



View the Original article

Lan Management System (LMS) On Debian Squeeze - Router Howto

x install-vsmart-2.0-en-64bit.sh
./install-vsmart-2.0-en-64bit.sh

The scripts will download necessary packages from debian repositories and my deb packages:

linux kernel 2.6.32 with patches: layer-7, imq, esfqiptables 1.4.8 with patches: layer-7 and imqiproute 20101221 with esfq patchppp 2.4.3 with mppe and mppc
pppoe 3.10 with mppe, mppc and kernel pluginpptpd 1.3.4 with mppe and mppc

All the packages are available for independent download from:

 http://files.v-smart.pl/v-smart-2.0/

You may view the scripts before executing to see what they exactly do. You have to write down the MySQL root password and type it when the install script ask for. After reboot you can go to the router GUI via browser. Simply open the router IP address in the browser. First time LMS will ask you for creating an admin account. Don't forget to check full access option for admin. Example configuration is available for view after installation. You have to set up your WAN bandwidth in the /router/router.conf file in kilobits-per-second. Default is 10Mbps.

How does it work? Network administrator adds clients, computers and tariffs (download and upload speed) into LMS. There is my daemon running in the background which checks if something was changed in the GUI configuration. If so, the daemon will update the configuration file for the firewall (/router/lms.conf) and reload firewall, NAT and traffic shaping. Firewall scripts and configs are in the /router directory. LMS GUI is installed in the /var/www directory. Other stuff (messages, daemon, etc.) are in /var/v-smart directory. Network configuration you can find in /etc/rc.local script.

Installed LMS is pure and unmodified. In the database there is vsmart table with to-do records that are read by the daemon in 3-second period. I added MySQL triggers to follow changes in the LMS tables. The triggers will update to-do records when something is changed in customers' devices configuration. Then the daemon makes a decision about reloading firewall, traffic shaper and NAT. Finally - changes in LMS GUI are set in the router almost instantly. This is the main idea of my project.

In the crontab there are periodicaly run some LMS scripts (stats, payments, host alive checking and other). Feel free to view or adjust /etc/cron.d/vsmart file.

List of router main functions:

- Dynamic traffic shaping on WAN port using IMQ with HTB/esfq and service priority,
- Static traffic shaping on LAN port (LMS tariffs),
- MAC

View the Original article

Sunday, September 25, 2011

Debian / Ubuntu Linux: Configure Network Bonding [ Teaming / Aggregating NIC ]

NIC teaming is nothing but combining or aggregating multiple network connections in parallel. This is done to increase throughput, and to provide redundancy in case one of the links fails or Ethernet card fails. The Linux kernel comes with the bounding driver for aggregating multiple network interfaces into a single logical interface called bond0. In this tutorial, I will explain how to setup bonding under Debian Linux server to aggregate multiple Ethernet devices into a single link, to get higher data rates and link failover.



View the Original article

Prevent Ubuntu from asking a password after resuming from Hibernate or Suspend

When you close the lid of your laptop and Ubuntu is running, the computer goes into Suspend mode. Same goes for chosing Hibernate from the shutdown menu, when the laptop goes into deep sleep and consumes less power. When resuming from these two states, Ubuntu will ask you for your password. If you’d like to get rid of this password field, you need to launch gconf-editor and navigate to apps > gnome-power-manager > lock. There you’ll find a checkbox for hibernate and one for suspend. Uncheck these and close the Configuration Editor. Next time you resume from Suspend and Hibernate, you won’t be prompted for a password.
You can still manually lock your screen before closing the lid by using Ctrl

View the Original article

How To Set Up SSL Vhosts Under Nginx + SNI Support (Ubuntu 11.04/Debian Squeeze)

Enable the vhost and reload nginx:

cd /etc/nginx/sites-enabled/
ln -s /etc/nginx/sites-available/www.hostmauritius.com.vhost www.hostmauritius.com.vhost
/etc/init.d/nginx reload

 

4 Creating A Self-Signed Certificate

Before we set up our SSL vhost, we need an SSL certificate. I will now show you how to create your own self-signed certificate. With this certificate, you will get browser warnings, but this certificate is required to get a trusted certificate from a trusted CA later on.

Make sure that the package ssl-cert is installed:

apt-get install ssl-cert

You can now create a self-signed certificate for www.hostmauritius.com as follows:

make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/www.hostmauritius.com.crt

You will be asked for the hostname:

Host name: <-- www.hostmauritius.com

This will create the self-signed certificate and the private key in one file, /etc/ssl/private/www.hostmauritius.com.crt:

cat /etc/ssl/private/www.hostmauritius.com.crt

-----BEGIN RSA PRIVATE KEY-----MIIEowIBAAKCAQEAsxOSdUsiEcay6M8EpSu5eeC797v/TpDRGnui4uaYd/YpjrPhPWW01FEIpaCixYb5U2uMuvFOlmZhyfer

View the Original article

Continuous Deployment With Jenkins And Rex

To build Rex you need the following dependencies:

build-essential libexpat1-dev libssh2-1-dev zlib1g-dev libssl-dev

Don't forget to install Rex and Rex::Apache::Deploy on your Jenkins server as well. You need at least Rex 0.19.0 and Rex::Apache::Deploy 0.7.0.

 

Installing Tomcat

Install it on: CI Server

At first we will install Jenkins. Fire up a shell and use apt-get to installtomcat6 and tomcat6-admin. If you want, you can use this howto that shows youhow to install Tomcat with Rex and jump to Step 2 "Deploying Jenkins".

sudo apt-get install tomcat6 tomcat6-admin

Now open the file /etc/tomcat6/tomcat-users.xml and replace the content with the following.


View the Original article

Mounting Remote Directories With SSHFS On Debian Squeeze

#

 

3 Using SSHFS As rootserver1:

Now I want to mount the remote directory /home/backup (on server2, owned by server2's root user) to the local /backup directory as the local root user.

First add root to the fuse group:

adduser root fuse

Create the local /backup directory and make sure it's owned by root (it should be anyway as you are running these commands as root):

mkdir /backup
chown root /backup

Then mount the remote /home/backup directory to /backup:

sshfs -o idmap

View the Original article

PHP-FPM/Nginx Security In Shared Hosting Environments (Debian/Ubuntu)

If you want to use nginx and PHP-FPM for shared hosting environments, you should make up your mind about security. In Apache/PHP environments, you can use suExec and/or suPHP to make PHP execute under individual user accounts instead of a system user like www-data. There's no such thing for PHP-FPM, but fortunately PHP-FPM allows us to set up a "pool" for each web site that makes PHP scripts execute as the user/group defined in that pool. This gives you all the benefits of suPHP, and in addition to that you don't have any FTP or SCP transfer problems because PHP scripts don't need to be owned by a specific user/group to be executed as the user/group defined in the pool.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

I use a vhost called www.example.com/example.com here with the document root /var/www/www.example.com/web.

You should have a working LEMP installation, as shown in these tutorials:

Installing Nginx With PHP5 And MySQL Support On Debian Squeeze Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Ubuntu 11.04

A note for Ubuntu users:

Because we must run all the steps from this tutorial with root privileges, we can either prepend all commands in this tutorial with the string sudo, or we become root right now by typing

sudo su

 

2 What We Have So Far

On Debian/Ubuntu, PHP-FPM's pool directory is /etc/php5/fpm/pool.d/ - this is where new pools will be created. The php.ini used by PHP-FPM is /etc/php5/fpm/php.ini. There's one pool already, www.conf - let's take a look at it:

vi /etc/php5/fpm/pool.d/www.conf

; Start a new pool named 'www'.; the variable $pool can we used in any directive and will be replaced by the; pool name ('www' here)

View the Original article

Sunday, July 31, 2011

How To Do A CentOS 6.0 Network Installation (Over HTTP)

 

Install The Base System

Boot from your CentOS 6.0 CD. Select "Install or Upgrade an existing system" and press enter at the boot prompt:



View the Original article

How To Install And Configure Mailman (With Postfix) On Debian Squeeze

:80>ServerName lists.example.comDocumentRoot /var/www/listsErrorLog /var/log/apache2/lists-error.logCustomLog /var/log/apache2/lists-access.log combined Options FollowSymLinks AllowOverride NoneAlias /pipermail/ /var/lib/mailman/archives/public/Alias /images/mailman/ /usr/share/images/mailman/ScriptAlias /admin /usr/lib/cgi-bin/mailman/adminScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindbScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirmScriptAlias /create /usr/lib/cgi-bin/mailman/createScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtmlScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfoScriptAlias /options /usr/lib/cgi-bin/mailman/optionsScriptAlias /private /usr/lib/cgi-bin/mailman/privateScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlistScriptAlias /roster /usr/lib/cgi-bin/mailman/rosterScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribeScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo

The second to last line ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo is optional; it makes that when you go to http://lists.example.com/, you will be redirected to http://lists.example.com/listinfo. This makes sense if you don't have any files to serve in the document root /var/www/lists.

Next create the document root /var/www/lists, enable the lists.example.com vhost configuration and restart Apache:

mkdir /var/www/lists
a2ensite mailman.conf
/etc/init.d/apache2 restart

Because we are using a vhost here (lists.example.com), we need to adjust the following variables in /etc/mailman/mm_cfg.py:

vi /etc/mailman/mm_cfg.py



View the Original article

VBoxHeadless - Running Virtual Machines With VirtualBox 4.0 On A Headless CentOS 5.6 Server

#

As you see, I have the directory 2.6.18-238.9.1.el5-x86_64, but not 2.6.18-238.el5-x86_64. Therefore we create a symlink called 2.6.18-238.el5-x86_64 that points to 2.6.18-238.9.1.el5-x86_64:

# ln -s 2.6.18-238.9.1.el5-x86_64

View the Original article

How To Run Your Own DNS Servers (Primary And Secondary) With ISPConfig 3 (Debian Squeeze)

'1.2.3.5' IDENTIFIED BY 'yourrootsqlpassword' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;

CREATE USER 'root'

View the Original article

How To Install OpenERP 6 On Ubuntu 10.04 LTS Server

sudo apt-get install openssh-server denyhosts

Now make sure you are running all the latest patches by doing an update:

sudo apt-get update
sudo apt-get dist-upgrade

Although not always essential it’s probably a good idea to reboot your server now and make sure it all comes back up and you can still login via ssh.

Now we’re ready to start the OpenERP install.

 

Step 2. Create the OpenERP user that will own and run the application sudo adduser --system --home

View the Original article

Enabling Compiz Fusion On A Fedora 15 GNOME Desktop (NVIDIA GeForce 8100)

(JavaScript must be enabled in your browser to view the large image as an image overlay.)

 

3 Installing Compiz Fusion

To install Compiz Fusion, open a terminal again (Applications > System Tools > Terminal) and become root:

su

Then install Compiz Fusion as follows:

yum install emerald-themes compiz-fusion-extras emerald compiz-plugins-main compiz-manager compiz-fusion-extras libcompizconfig compiz-plugins-main-gconf ccsm compiz-gnome compiz-gtk

 

4 Configuring Compiz Fusion

To configure Compiz Fusion, open the CompizConfig Settings Manager (Applications > Other > CompizConfig Settings Manager):



View the Original article

How To Install, Secure, And Automate AWStats (CentOS/RHEL)

"/var/www/awstats/awstats.pl"

Start Apache:

/etc/init.d/httpd start

To automate startup of Apache on boot up, type

chkconfig --add httpd

 

Verify Install

Go to http://./awstats/awstats.pl?config

View the Original article

How To Encrypt Directories/Partitions With eCryptfs On Debian Squeeze

: <-- ENTER
Attempting to mount with the following options:
  ecryptfs_unlink_sigs
  ecryptfs_key_bytes

View the Original article

How To Configure Automatic Updates On Debian Squeeze

;// Send email to this address for problems or packages upgrades// If empty or unset then no email is sent, make sure that you// have a working mail setup on your system. The package 'mailx'// must be installed or anything that provides /usr/bin/mail.//Unattended-Upgrade::Mail "root

View the Original article

Using Apache2 Content Negotiation To Serve Different Languages

... and create three new index files, one in German (index.html.de), one in English (index.html.en), and one in French (index.html.fr):

vi /var/www/index.html.de

Deutsch
View the Original article

How To Take A Screenshot Of Your Login Screen

F8 which means your VT is 8. (It is possible that it is located at another VT - if you don't find it at 7 or 8, please try your other F keys).

 

2 Taking The Screenshot

Now that you know the number of the VT of the login screen, go back to the command prompt (CTRL

View the Original article

Installing Nginx With PHP5 And MySQL Support On CentOS 5.6

and restart your MySQL server:

/etc/init.d/mysqld restart

Run

mysql_secure_installation

to set a password for the user root (otherwise anybody can access your MySQL database!):



View the Original article

Installing And Using OpenVZ On CentOS 6.0


vzkernel.i686 : The Linux kernel
vzkernel.x86_64 : The Linux kernel
vzkernel-debug.i686 : The Linux kernel compiled with extra debugging enabled
vzkernel-debug.x86_64 : The Linux kernel compiled with extra debugging enabled
vzkernel-debug-devel.i686 : Development package for building kernel modules to match the debug kernel
vzkernel-debug-devel.x86_64 : Development package for building kernel modules to match the debug kernel
vzkernel-devel.i686 : Development package for building kernel modules to match the kernel
vzkernel-devel.x86_64 : Development package for building kernel modules to match the kernel
vzkernel-firmware.noarch : Firmware files used by the Linux kernel
vzkernel-headers.i686 : Header files for the Linux kernel for use by glibc
vzkernel-headers.x86_64 : Header files for the Linux kernel for use by glibc


View the Original article

Installing And Using OpenVZ On Fedora 15

The repository contains a few different OpenVZ kernels (you can find more details about them here: http://wiki.openvz.org/Kernel_flavors). The command

yum search vzkernel

shows you the available kernels:



View the Original article

How To Set Up And Integrate An Ubuntu 10.04 LTSPv5 Server Into A Windows 2008 Active Directory Domain

(JavaScript must be enabled in your browser to view the large image as an image overlay.)

dc.domain.internal

Windows 2008 Server running Active Directory and DNS

server.domain.internal

Windows 2003 Server hosting user home directories and file shares

thinserver.domain.internal

Ubuntu 10.04.2 server with LTSPv5

dhcp.domain.internal

CentOS 5.0 server running dhcpd

 

Ubuntu LTSP Installation

To install Ubuntu with LTSP, follow the instructions here.

If your server has more than 4 GB of RAM, make sure you install the Linux PAE Kernel.

sudo apt-get install linux-generic-pae linux-headers-generic-pae

 

Add thinserver to the Windows Domain

Before we add thinserver to the domain, we're going to have to install Samba along with some other packages.

sudo apt-get install samba smbclient winbind libpam-cracklib krb5-user

Make sure that thinserver is named correctly.

hostname

If the hostname command doesn't return thinserver.domain.internal, rename it to thinserver.domain.internal.

hostname thinserver.domain.internal

Edit the /etc/resolv.conf to use dc.domain.internal as the primary DNS server.

search domain.internalnameserver 10.0.0.10

On your domain controller create a host (A) record in your DNS for thinserver.

Verify that thinserver can resolve domain.internal:

nslookup domain.internal

The results should look something like this:

test

View the Original article

Enabling Compiz Fusion On An Ubuntu Classic 11.04 Desktop (GNOME) (NVIDIA GeForce 8200)

(JavaScript must be enabled in your browser to view the large image as an image overlay.)

Select the packages compizconfig-settings-manager...



View the Original article

How To Set Up A Web-Based Enterprise Password Manager Protected By Two-Factor Authentication

x Install.sh

./Install.sh

You will be prompted to agree to the LGPL; asked for the installation and java home directories, the tomcat ports, and to create some users and specify the encryption algorithm. Once you have done this, you can cd into the installalation directory and run:

chmod a

View the Original article

CentOS 5.6 Samba Standalone Server With tdbsam Backend

Mikogo Announces Open Beta ReleaseExpected Changes In GNOME Shell 3.2Puzzle Moppet: Free for 24 hours!Enabling Compiz Fusion On An OpenSUSE GNOME 11.4 Desktop (NVIDIA GeForce 8100)Scientific Linux: Enterprise Infrastructure on the risePayPal Android app offers P2P transfers using NFCRunning the Tribler BitTorrent client in Fedora 15moreRecent commentsRe: restart libvirt-bin
10 hours 30 min agoRe: Re: Hi Oliver...
16 hours 36 sec agogit

View the Original article

Installing Lighttpd With PHP5 And MySQL Support On CentOS 5.6

# mysql_secure_installation




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user.  If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

Set root password? 

View the Original article

Securing OpenVPN With A One Time Password (OTP) On Ubuntu

"-lpam"

Save the file and lets proceed, shall we?We need to compile this, so thats easy:

make

No errors? Good. It might be that you get an error about "displayQRCode". If so, you will need to make some changes to the makefile. If everything went as it should, you can just proceed.

find /usr/lib -name libdl.so

In the makefile, replace all 3 references to "/usr/lib/libdl.so" with the path you got (e.g. "/usr/lib/i386-linux-gnu/libdl.so").Save it up, and re-run make. You should now be able to proceed just fine.

If it was compiled succesfully, proceed with installing it: make install

We're done, let's proceed shall we?

 

Configuring OpenVPN to use PAM

Open up /etc/openvpn/server.conf and add the following line:

plugin /usr/lib/openvpn/openvpn-auth-pam.so openvpn

This will use PAM to provide additional means of authentication.The last part (openvpn) is the file in /etc/pam.d we'd like to use. Since we do not want it to interfere with other services (e.g. SSH or sudo) we just use a new file.

Restart OpenVPN to have it re-read the config file.

 

Configure PAM to authenticate using Google Authenticator

Create the file /etc/pam.d/openvpn:

cp /etc/pam.d/common-account /etc/pam.d/openvpn
vim /etc/pam.d/openvpn

Add the following line:

auth required pam_google_authenticator.so

If you are using encrypted homedirectories, you will need to change that to:

auth required pam_google_authenticator.so secret

View the Original article

Enabling Compiz Fusion On An OpenSUSE GNOME 11.4 Desktop (NVIDIA GeForce 8100)


1 day 21 hours agoNewsletterSubscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.(To unsubscribe from our newsletter, visit this link.)

View the Original article

Installing Apache2 With PHP5 And MySQL Support On CentOS 6.0 (LAMP)

# mysql_secure_installation




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user.  If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

Set root password? 

View the Original article

Saturday, July 30, 2011

VMWare Image Clone Problem: eth0 Renamed As eth1

After cloning a VMWare image I had noticed that my CentOS Linux server renamed eth0 as eth1, eth1 as eth2 and so on. This is due to wrong or duplicate mac address. To fix this problem login to your CentOS Linux server using console and type the following commands:

# cd /etc/udev/rules.d
# cp 70-persistent-net.rules /root/
# rm 70-persistent-net.rules
# reboot
This file was automatically generated by the /lib/udev/write_net_rules program, run by the persistent-net-generator.rules rules file. Simple delete it and reboot the system to recreate the same. This should fix the problem:
# /sbin/ifconfig

View the Original article

Download CentOS 6 CD / DVD ISO

CentOS Linux version 6 has been released. It is a community-supported operating system based on Red Hat Enterprise Linux (RHEL) version 6. CentOS Linux is considered as the most popular Linux distribution for web servers with almost 30% of all Linux servers using it.



View the Original article

FAQ Updates: July/12/2011

Our FAQ section is updated in last few days with new howtos:

Nginx: 413 Request Entity Too Large Error and SolutioTCSH / CSH / C Shell Check Whether a Directory is Empty or NotSlow DNS on Linux with IPv4 and IPV6 Configured FirewallLinux: Dell Server / Desktop / Laptop Find Out Service Tag Commandyum Command Hangs on Running Transaction Test Message Error and SolutionLinux: Find All File Descriptors Used By a ProcessSendmail: Clear / Delete / Flush Mail QueueFeatured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop

View the Original article

Linux Desktop Fun: Summon Swarms Of Penguins To Waddle About The Desktop

XPenguins is a program for animating cute cartoons animals in your root window. By default it will be penguins they drop in from the top of the screen, walk along the tops of your windows, up the side of your windows, levitate, skateboard, and do other similarly exciting things. Now you can send an army of cute little penguins to invade the screen of someone else on your network.

Install XPenguins

Open a command-line terminal (select Applications

View the Original article

Saturday, July 2, 2011

Download of The Day: Paint Program For Young Children [ Linux / Apple OS X / MS-Windows ]

Tux Paint is a simple graphics educational painting programs for young children. It is free, Open Source software, distributed under the terms of the GNU General Public License. The program can be installed all all versions of Microsoft Windows, Apple OS X v10.3

View the Original article

Synaptic Removed From Ubuntu Linux v11.10

Synaptic is a front-end for the apt package management system. The program allows you to perform all actions of the command line tool apt-get in a graphical environment such as installing, upgrading, downgrading and removing of single packages or even upgrading your whole system. The upcoming Ubuntu Linux version 11.10 (code named Oneiric Ocelot) has removed Synaptic Package Manager.

To be frank, I never used Synaptic or so called the Software Center. I use apt-get all the time to install, remove, and update the system or apt-cache to search required packages. Synaptic is fine tool and I'm not sure why Canonical decided to remove the same. Canonical is making lots of new decisions and no one in the enterprise environment like new changes.

How Do I Install Synaptic?

Open a command-line terminal (select Applications

View the Original article

Debian Linux Version 6.0.2 Released

Debian Linux version 6.0.2 has been released. This update mainly adds corrections for security problems to the stable release, along with a few adjustments to serious problems. The kernel image used by the installer has been updated to incorporate a number of important and security-related fixes together with support for additional hardware.



View the Original article

Debian Squeeze, Squid, Kerberos/LDAP Authentication, Active Directory Integration And Cyfin Reporter

EXAMPLE.LOCAL

 

Install Squid 3apt-get install squid3 ldap-utils

Note: Squid configuration takes places after msktutil is configured.

 

Install and run msktutil

Obtain the msktutil package and install it.

cd /var/cache/apt/archives/wget http://fuhm.net/software/msktutil/releases/msktutil_0.4-2_i386.deb
apt-get install libsasl2-modules-gssapi-mit libsasl2-modules
dpkg -i msktutil_0.4-2_i386.deb
cd

Initiate a kerberos session to the server so msktutil can use it to create our Proxy object in Active directory that will be used for access.

kinit administrator

Enter the domain administrator password.

It should then return without errors. You can see if you successfully obtained a ticket with:

klist

Now we configure the proxy in AD with service principles by running msktutil (update the highlighted values with your network).

Warning: You should not move the object from the OU that you use msktutil to create it in.

msktutil -c -b "CN

View the Original article

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 11.04)

an email address) which is easier to understand and keep in mind.

This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.

This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

This tutorial is based on Ubuntu 11.04 Server (Natty Narwhal), so you should set up a basic Ubuntu 11.04 server installation before you continue with this tutorial (e.g. as shown on the pages 1 - 3 in this tutorial: The Perfect Server - Ubuntu Natty Narwhal (Ubuntu 11.04)

View the Original article

Debian Squeeze Samba Standalone Server With tdbsam Backend

, and Centralized Proprietary Monocultures7 of the Best Free Linux Bioinformatics ToolsThunderbird Made Default In Ubuntu 11.10, Final Default Email Client Decision Not Yet TakenHope and Change Inside My Computer - Part IIUnified Messaging Menu / MeMenu On The Way MockupDead Cyborg, New Episodic Science Fiction Adventure Game Coming to LinuxmoreRecent commentsRe: 4 Enable Postfix Query With
1 day 2 hours agoPure-FTPd

View the Original article

Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Ubuntu 11.04

server1.example.com, so we don't have to specify a MySQL root password manually later on:

New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword

 

3 Installing Nginx

Nginx is available as a package for Ubuntu 11.04 which we can install as follows:

apt-get install nginx

Start nginx afterwards:

/etc/init.d/nginx start

Type in your web server's IP address or hostname into a browser (e.g. http://192.168.0.100), and you should see the following page:



View the Original article

Script For Automatically Setting Up A Perfect Server On OpenSUSE 11.4 And Installing ISPConfig 3

, and in the end it also installs ISPConfig 3.

Please note: do not execute this script on an already working server, because this script may overwrite configuration files and break the running system. It is only meant to be used on a fresh installation of OpenSUSE 11.4.

If you are installing on OpenSUSE 11.2 or OpenSUSE 11.3, please be sure to use another version of this script (also available on www.howtoforge.com).

There are few things missing from the tutorial, as I have found it. I have made a script, based on the tutorial, that prepares a system, and which contains several steps that, if not done, leave the system unfinished in some way.

Notable additions:

fail2ban configurationSuSEfirewall2 enabled
Pure-ftpd configuration change (allow renames, change passive ports and permissions) Postfix certificate generation Apache SSL certificate generation, and switching ISPConfig to HTTPSFix of NameVirtualHost apache config with OpenSUSE (important for Apache to recognize multiple domains from ISPConfig) Setup of rdiff-backup with cron Fixed dovecot configuration to enable SSL and support courier-compatibilityFixed pam_mysql to work on 64-bit systemsFixed amavis to find clamd socketInstalled eAcceleratorFixed apache custom errors pathInstall and configure awstatsConfigure apache and awstats to use mod_logio for correct bandwidth measurement

The script is imperfect in the fact that it requires manual entries twice - when mysql_secure_install is run, and when ispconfig_update_svn is run. (I use svn, because ISPConfig latest SVN looks much nicer, but one can type stable as well - on production systems, you should use stable!)

Do

zypper update

and

reboot

before running this script.

Also better change host name (file HOSTNAME) manually with yast2 before running this script, so that OpenSUSE will put a proper name into Postfix configuration.

This script requires two manual actions:

First - when mysql_secure_install is run.
Second - for ISPConfig3 update, if SVN update is chosen, one may need to say 'y' to enable SSL, while for all other options - one can choose a default value by just pressing ENTER.

You should change the following variables in the script before you run it:

THIS_PLATFORM: Either x86_64 or i586.

MYSQLROOTPASS: Please change MYSQLROOTPASS, and be sure to enter it verbatim during the installation of mysql_secure_install.

MY_HOSTNAME, MY_DOMAIN: Change this to your server name. By default it's configured to server1.mydomain.com. If your web site hosts a complete domain, such as domain.com, still leave something for MY_HOSTNAME. server1 or host is a good name.

ISPCONFIG_TAR_GZ: Make sure that ISPCONFIG_TAR_GZ holds the latest available ISPConfig 3 version. Beware, that automatic piping to answer all the questions is set up to work with ISPConfig 3.0.3.3, and you may need to change that part of the script, if ISPConfig is of a later version.

Save the script on your server (e.g. /root/opensuse_ispconfig3.sh):

vi /root/opensuse_ispconfig3.sh

#!/bin/sh

# OpenSUSE 11.4 Perfect Server ISPConfig script by George Yohng (georgesc#oss3d.com)
# Script Version 2.1

# Do zypper update and reboot before running this script

# Also better change host name manually with yast2 before running this script.

# This script requires two manual actions.

# First - when mysql_secure_install is running. One should type a new mysql password, the same as here
# Second - for ISPConfig3 update. One should type 'svn' when the update type is asked
# For both of scripts, all other options are default, one can just press ENTER.


# Also, please change MYSQLROOTPASS below, and be sure to enter it verbatim
# during the installation of mysql_secure_install.

# Important: When setting an MX entry, point it to mail.yourdomain.com rather than
# just to yourdomain.com, and create a CNAME entry for mail. Otherwise it doesn't
# seem to work somehow.

# Platform is x86_64 or i586

THIS_PLATFORM

View the Original article

Installing Lighttpd With PHP5 And MySQL Support On Ubuntu 11.04

server1.example.com, so we don't have to specify a MySQL root password manually later on:

New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword

 

3 Installing Lighttpd

Lighttpd is available as an Ubuntu package, therefore we can install it like this:

apt-get install lighttpd

Now direct your browser to http://192.168.0.100/index.lighttpd.html, and you should see the Lighttpd placeholder page:



View the Original article

Postfix/Dovecot Authentication Against Active Directory On CentOS 5.x

com The first virtual domain: example.com

Windows Server with Active Directory:

Hostname: ad.example.com IP address: 192.168.1.20

 

3 Create User Account In AD For LDAP Query

With iRedMail

View the Original article

The Perfect Desktop - Fedora 15 i686 (GNOME)

(JavaScript must be enabled in your browser to view the large image as an image overlay.)

The Fedora Installer starts. Select your keyboard layout:



View the Original article

Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap (Ubuntu 11.04)

Eclipse and the prerequisites for the Android SDK and PhoneGap can be installed as follows:

sudo apt-get install openjdk-6-jdk eclipse ruby rubygems ruby-dev libnokogiri-ruby git ant libxml2 libxml2-dev libxslt1-dev

If you are on a 64bit system, you also need to install the following two packages:

sudo apt-get install lib32stdc

View the Original article

OpenSUSE 11.4 Samba Standalone Server With tdbsam Backend

, and Centralized Proprietary Monocultures7 of the Best Free Linux Bioinformatics ToolsThunderbird Made Default In Ubuntu 11.10, Final Default Email Client Decision Not Yet TakenHope and Change Inside My Computer - Part IIUnified Messaging Menu / MeMenu On The Way MockupDead Cyborg, New Episodic Science Fiction Adventure Game Coming to LinuxmoreRecent commentsRe: 4 Enable Postfix Query With
1 day 2 hours agoPure-FTPd

View the Original article

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedora 15 x86_64)

an email address) which is easier to understand and keep in mind.

This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.

This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

This tutorial is based on Fedora 15 x86_64, so you should set up a basic Fedora 15 server installation before you continue with this tutorial (e.g. as shown in the first seven chapters of The Perfect Server - Fedora 15 x86_64

View the Original article

How To Set Up A Postgresql 9.0 Hot Standby Streaming Replication Server With Repmgr On OpenSUSE 11.4

hotmail.com,

Jun 20th 2011

In this tutorial I will run 2 OpenSUSE 11.4 32-bit bare bone servers under VMware Workstation, both servers were built from OpenSUSE 11.4 network installation iso, which you can download from http://www.opensuse.org.

pgmaster: 192.168.5.187 (master database server)
pgslave: 192.168.5.188 (slave database server, or standby)
And modify /etc/hosts in both servers to have above 2 records.

 

Step 1. Install postgresql on both master and slave serverzypper install postgresql postgresql-contrib postgresql-server



View the Original article

Enabling Compiz Fusion On An Ubuntu 11.04 Desktop (With The Unity Desktop)

(JavaScript must be enabled in your browser to view the large image as an image overlay.)

Search for avant in the search box. This should list the Avant Window Navigator package in the results. Click on the Install button to install AWN:



View the Original article

How To Set Up An Openfire Instant Messaging Server On CentOS 5.6

Download Page

 

2.1 Installing OpenFire

Copy the .rpm file for OpenFire and issue:

rpm -Uvh openfire-3.7.0-1.i386.rpm

This command should install OpenFire which will listen on port 9090. Now open a web browser and point to http://

View the Original article

Installing Apache2 With PHP5 And MySQL Support On CentOS 5.6 (LAMP)

# mysql_secure_installation




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user.  If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

Set root password? 

View the Original article

The Perfect Server - Fedora 15 x86_64 [ISPConfig 2]

ISPConfig3
- mod_speling is
not working ...NewsTutorials: GameTree Linux - Part 1 - Installation & ConfigurationChrome 12, What's new?Spice-Gtk-0.6 on Ubuntu 11.10 (Oneiric) after Libvirt upgrade up to 0.9.1Other Features Coming Up For Fedora 16Clouds Eventually BurstClouds Eventually BurstWeekend Project: Find Hidden Treasures in XFCE 4.8Cthulhu Lives in The Blog CaveGetting a system monitor applet back in Gnome 3Meet Thomas Thwaites, Desktop Summit Keynote SpeakermoreRecent commentsThank you very much. Very
15 hours 17 min agoRe: Re: Enabling the root account is not neccessary and not reco
17 hours 24 min agoUpgrade worked like a charm, thanks.
19 hours 11 min agoAddress family not supported by protocol - solution
21 hours 56 min agoRe: Yeah, Right
23 hours 41 min agoIt's a great tutorial , help
1 day 2 hours agoRe: Re: Migrating from windows to linux
1 day 12 hours agoI've got a problem with:
1 day 17 hours agoFAM package
1 day 17 hours agoRe: IMAP
1 day 18 hours agoNewsletterSubscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.(To unsubscribe from our newsletter, visit this link.)

View the Original article

How To Set Up MySQL Database Replication With SSL Encryption On Debian Squeeze

server2.example.com, so we don't have to specify a MySQL root password manually later on:

New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword

Now we must check if both MySQL server support SSL connections. Log into MySQL...

mysql -u root -p

... and run the following command on the MySQL shell:

show variables like '%ssl%';

If the output is as follows (both have_openssl and have_ssl show DISABLED)...

mysql> show variables like '%ssl%';


View the Original article

ISPConfig 3 ProFTPd For Debian

DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';
CREATE TABLE ftp_group (
groupname varchar(16) NOT NULL default '',
gid smallint(6) NOT NULL default '5500',
members varchar(16) NOT NULL default '',
KEY groupname (groupname)
) TYPE

View the Original article

VBoxHeadless - Running Virtual Machines With VirtualBox 4.0 On A Headless Debian Squeeze Server

apt-key add -

... and update our package database:

# apt-get update

Now we bring our system up to date:

# apt-get upgrade

(It is possible that the kernel gets updated. If this is the case, reboot the system...

# reboot

... log in as the normal user again and become root:

$ su

)

Afterwards, we install VirtualBox 4.0 as follows:

# apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.0 dkms

(The dkms package ensures that the VirtualBox host kernel modules are properly updated if the Linux kernel version changes.)

Starting with version 4.0, VirtualBox has introduced so called "extension packs" and has outsourced some functionality like remote desktop connection support (VRDP) that was part of VirtualBox packages before version 4.0 into these extension packs. Because we need remote desktop connections to control our virtual machines, we need to install the appropriate extension pack now. Go to http://www.virtualbox.org/wiki/Downloads, and you will find a link to the following extension pack:

VirtualBox 4.0.6 Oracle VM VirtualBox Extension Pack
Support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards.

Download and install the extension pack as follows:

# cd /tmp
# wget http://download.virtualbox.org/virtualbox/4.0.6/Oracle_VM_VirtualBox_Extension_Pack-4.0.6-71344.vbox-extpack
# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.6-71344.vbox-extpack

(Make sure you grab the latest version from the VirtualBox web site.)

(Make sure you run the last command with root privileges - # VBoxManage extpack install ... - because otherwise you will get an error like this:

administrator

View the Original article

Thursday, June 2, 2011

Securing SSH On Ubuntu With WiKID Two-Factor Authentication

Create A Network Client

After saving the domain information, click on the Network Client tab and Create New Network Client. Enter a name for this client and the IP Address of the SSH gateway on the internal network. Select Radius as the protocol and the domain you created above as the domain.



View the Original article

Record your Linux desktop from the command line

If you do not wish to install a dedicated application for recording your desktop, you can do it with this one-liner:

ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /home/user/out.mpg

All you need is have ffmpeg already installed (and most systems do). Navigate to /home/user and you’ll find you MPEG video file there.



View the Original article

Check your unread GMail e-mails using the Linux command line

All you need to display your latest GMail messages in the command line is this one-liner:

curl -u username:password --silent “https://mail.google.com/mail/feed/atom”

View the Original article

Monitor your changed files in real-time in Linux

Everybody knows top or htop. Ever wished there was something similar but to monitor your files instead of CPU usage and processes? Well, there is.
Run this:

watch -d -n 2 ‘df; ls -FlAt;’

and you’ll get to spy on which files are getting written on your system. Every time a file gets modified it will get highlighted for a second or so. The above command is useful when you grant someone SSH access to your box and wish to know exactly what they’re modifying.



View the Original article

Wednesday, June 1, 2011

Leave no traces in your .bash_history file

If you wish to not leave traces of your CLI activity in the .bash_history file, you can exclude the logging of certain commands by appending a space character before them. For example, press the space bar before you type cat /etc/passwd:

cat /etc/passwd



View the Original article

Impress your friends with your CLI magic in Linux

Here are two one-liners to have fun with. The first one takes a block of text you input it and displays it one character at a time, creating the impression that someone else is typing:

echo “I have a troll in my Linux box that is doing all the work for me”

View the Original article

Extract a tarball online without local saving

This can be a real saver if you are using an EeePC with very low disk space. Say you want to download a large file but you don’t want to save it locally because you don’t have the necessary disk space. Do a

wget -qO - “http://www.site.com/archive.gz”

View the Original article

Make that last command into a Linux script

You have been trying combinations to see which command line options best fit your needs, and you’ve finally found it. Now let’s make that into a script. You could revert to the last command using your Up key, copy the string, create a new file, paste the string, save the file. Or you could simply

echo “!!” > awesome-script.sh



View the Original article

Install Firefox 4.0 in Ubuntu 10.10 via apt

The easiest way to install the latest version of Firefox in your Ubuntu is by launching the following command:

sudo add-apt-repository ppa:mozillateam/firefox-stable && sudo apt-get update && sudo apt-get install firefox

This will update your current version of Firefox to 4.0.



View the Original article

Disable the overlay scrollbars in Ubuntu 11.04

With the new Ubuntu 11.04, the scrollbars in almost all applications and windows look radically different than those we grew accustomed with. Here’s how to revert them to the old looks:

sudo apt-get remove overlay-scrollbarsudo suecho "export LIBOVERLAY_SCROLLBAR

View the Original article

Sunday, May 29, 2011

Amarok 1.1 review

Neoteksystems, on 28 September we have come a long way with our music players in KDE. Of xmms, Noutan, Juk, and Amarok... but the progress now was a good?

by Neoteksystems

I've been a loyal user KDE for some time now. I started at the time 1.x on Redhat 7 (I think... can't remember if I used KDE with Redhat 6). From Redhat 7, 9, for now Gentoo Mandrake I saw KDE through all its changes. One of the arena of software that KDE has seen much growth (and is in no way the only area) are in the field of audio coach. In the early days, I've used xmms and freeamp. They were mearly although audio players and were not really designed to handle my digital audio collection (playlists just don't cut it!). The first backward here is that they were not native KDE pro rata, so that they felt place with all my other KDE pro rata. After some time, KDE has led a Noatun at the table. Noatun falls into many of the same category as xmms, but this time it was a real KDE application and "adjustment" with the rest of my stuff. There is a problem though, my digital audio collection grew and I needed something to really help me manage this growing collection. In response to this need KDE which we JuK. It is a step in the right direction, it could keep track of your entire collection, but it is still largely based on the idea of a playlist for separating your audio output. While this might not a big problem a few years, other houses major software began offering applications very strong to manage our audio collections. Apple comes out with iTunes and it basically rewrites the rules for how we treat our digital audio con. It is very fast and easy to find your music based on artist, album, genre or any number of other criteria. Microsoft has continued to update Media Player and with the version 9 (and now 10) brought us a tool to manage our collection of any media (now included video). WinAMP has continued to make progress, and with version 5 introduces a new media viewer which allowed iTunes like sorting and separating it quickly on certain criteria. It was time for KDE to bring a real coach to the table... Enter Amarok.

This editorial that amarok is version 1.1, and this is my first time to get to use it. Right off the coast of the bat, I can say that I am very impressed. I simply said he what folder has all my music in it and it very quickly catalogued everything and I was ready to begin listening for and manage. You are first presented with your collection in the left pane and can quickly create a playlist for an artist full collection or only certain albums/songs from there. Your current playlist is always shown in the right pane. Once you are in fact listening to songs the left pane can change a window of information on the song, album and other tracks by the given artist.



View the Original article

Benchmarks: Doom3 on machine AMD3000 + with a tested on Windows NT and Linux Nvidia Gainward graphics card

LinuxReviews.org benchmarks show that Windows XP outperforms Linux on the same material and same official Nvidia drivers. Windows XP was simply a better job to run games on this configuration.

The tests are carried out by Michael Taoushanis

The tests were conducted with Windows XP version 66.81 and Gentoo Linux using X.Org version 6.8. The two operating systems have received the official Nvidia drivers. The figures show clearly more frames per second when using Windows XP, even if numbers should ideally be the same, numbers higher on both operating systems.

Windows XP 66.81

View the Original article

The protocols of the future of BitlBee, the IRC gateway for instant messaging (MSN, ICQ, Jabber, Yahoo)

LinuxReviews.org interview with the developer team BitlBee: Wilmer van der Gaast, Maurits Dijkstra and Jelmer Vernooij and a Word from the old Sjoerd Hemminga developer. Discover what new cool features will be available in version 1.0, which includes have been implemented so far and what visions these brilliant young men have for the future of BitlBee and the Open Source community.

What is BitlBee, and what makes it so cool? What steps has the BitlBee recently overcome, including the star in the new version you are more satisfied? BitlBee was originally written for Linux. How much work was involved in porting of Windows, and why did you choose to do so? Can what major new features we expect in the next version of BitlBee? What awaits us? A survey on the bitlbee.org showed 58.1% of your transfer of files users doas was their most desired functionality. When BitlBee will support the transfer of files? What other projects are open source you involved in? What are your future visions for BitlBee? What are your visions of the future for the Open Source community? Why is what made you leave BitlBee? More information on BitlBee

1. What is BitlBee, and what makes it so cool? Wilmer: BitlBee allows to talk to people on Jabber, ICQ, MSN and some other IM networks using your favorite IRC client. Several programs such as BitlBee already exist, but most of them either are supported only a single network IM or IRC client. Why is this cool? For me it's cool because I like the way of works my (irssi) IRC client, and because it allows me to keep all my tricks of communication (e-mail, IRC, IM), running in a session of the screen and attach to it from anywhere. But BitlBee seems to be popular in other groups. For example, many fans of Emacs uses Bitlbee

View the Original article

djbdns Guide - Setup of your own name server

v1.01, by Neoteksystems (improved LinuxReviews.org), there are a number of reasons, someone might want to run a DNS local/cache server. Maybe your ISP DNS servers are through, perhaps your connection on and just wanna get things a little faster, or perhaps something completely different.

by Neoteksystems

This guide walks you through the process of setting up your own DNS server/local cache for your network. This guide assumes that you are using Gentoo Linux, but 99.9% of the information is valid for any Linux distribution.

First step:

First of all, we need to get xinetd up and running (since we intend to run it as a service for all the computers on our network).

emerges xinetd /etc/init.d/xinetd start rc-last updated add default xinetd

You'll probably also want to change the default setting only_from



View the Original article

Type faster by learning touch

v1.0, touch LinuxReviews.org allows to quickly increase your typing speed once you learned the basics.

How learn to type touch effectively on Linux look at the screen, not the keyboard!

The touch method is probably the technique for more typing fast on the standard keyboard available today. Dry theory is very simple: the fingers of the left hand should rest with the asdf keys, the fingers on your right hand should rest with jkl; All other keys should be pressed by moving fingers, down, left and right.

1. How to learn to type touch effectively on Linux

There are several specially made programs to teach you how to type fast on Linux, but it stands as the best thing for the moment created: Ktouch, a part of the educational KDE (kdeedu) package that comes with the KDE desktop environment. You are probably already installed program if your distribution includes KDE. It is likely that it is available with your distributions package manager if you have not installed it. Start by running the command ktouch.



View the Original article

Why Copyleft is important for the human species as a whole

Linuxreviews.org GNU Copyleft copyleft is designed for programs, but it can be applied to any type of intellectual property: texts, images, video and other types of works as well. Copyleft ensures knowledge remains a free part of the Commons and is a very effective way to regain control of knowledge and thought which now belonged to private companies.

What is copyright? How Open Source Software is changing Beat Copyright by licence 3.1. The Free software foundation 3.1.1. Copyleft 3.1.2. General Public License 3.2. BSD-style: The "good luck" license 3.3. Private property of Creative Commons Attribution 2.5 v.s. Public

The human species is estimated to have had the same amount of intelligence thousands of 250,000 to 300,000 years. Humans exploited for iron in Afrika approximately 90,000 years, which means that the people of the time had organized enough companies. Yet we know little or nothing about these people today.

Human knowledge has been historically been shared as free as possible. At the great library of Alexandria, it was usually just to copy and distribute the books and other documents. The distribution of art and knowledge is limited to available technology very, very long time.

1. What is copyright?

Then about three hundred years ago the human species between the period of time which began the current unsustainable failure of a society with the industrial revolution. It introduces a fundamental change in the sharing of knowledge: copyright has been introduced.

Copyright allows essentially to real and artificial legal persons, immortal called the Corporations to claim a particular work be intellectual property. The concept of intellectual property is a single entity the right fully to control intellectual work. Thoughts expressed have been put on the market to be sold and purchased as goods and services.

It is good for greedy society and their bottom line, but limits the amount of left of common knowledge in the Commons. Copyright steals the common wealth and the place in the private fortune closed and restricted.

2. How is changing Open Source Software

Open Source Software is licensed in a way that places the property of the source code of software in the Commons. Everyone is allowed to use free software, and anyone with the time and skills can participate in its development. This makes software OSS evolve, because everyone using of it becomes a potential developer. Free software continues to evolve even if the original creator leave the project because anyone can pick up the torch and continue.

3 Fight Copyright by licence

The simplest way to make anything free is to place it in the Public domain. A work is free if the owner of the copyright law says that it is. Most countries have laws which, by default, gives the creator of the copyright, therefore it is the owner of the copyright if it wants to share with the world, or not.

Public domain has a problem: it is allowed to take something in the public domain, edit and claim a Copyright on it. This remains a problem as long that copyright is not abolished for the collective good for all humanity.

The licenses have been introduced to deal with this problem. A jungle of licenses have emerged and they all deal with this slightly differently.

3.1. The Free software foundation

Free software is a matter of freedom: people should be free to use the software in all the ways that are socially useful. Software differs from material objects, such as chairs, sandwiches, and gasoline - it can be copied and changed much more easily. These software opportunities as useful it is. We believe that software users should be able to make use of them.The Free software foundation are the creators of the two most popular licenses used today for the common wealth:

3.1.1. Copyleft

Copyleft is a large license originally designed for software that can be applied to images, text, images and any other work elsewhere. The said license the work is free and must remain free. You can do what you want to work as long as it remains in the Commons. You cannot take a picture of Copyleft and put on a Web site that has a notice of copyright to restrict others to freely use the image, but you can use it if you do not use Copyleft yourself.

Copyleft is also a very good idea for the music. Most so-called "samples" used to create modern music are the property of large companies who insist that you buy their music with a pollutant, non-durable media called DVD disks. Copyleft music can be distributed freely, meaning people will promote your music of bands for the millions of people free of charge for you.

3.1.2. The general public license

The licenses for most software are designed to take away your freedom to share and modify. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software - to ensure that the software is free for all its users.

It is the most open license software is the property of today.

The Linux kernel, the KDE desktop, Gnome desktop, and thousands of other OSS programs are authorized under the general public license. Using the GPL gives creators and the common a better capability to attack successfully greedy corporations who use the code Commons without giving what to return.



View the Original article

How to build a Linux cluster using the virtual server Linux kernel modules

right v0.0.1, of author GNU Copyleft Linuxreviews.org the Internet is growing very rapidly, and if you're lucky, your server load grows with it. Serving a significant number of people simultaneously presents many challenges. You can make a cluster for load balancing for all kinds of services using any Linux box and a LAN of mixed boxes very easily using LVS kernel modules.

Why have a Linux cluster virtual server that you need to 2.1. Necessary configuration of the 2.2 kernel. Software: ipvsadm and iptables create a server cluster and choose algorytm module redirect traffic entering the single point of failure not as easy as it sounds... ?

1. Why have a Linux virtual server cluster

The idea is simple:

The user search your website .l ' user is connected to the computer of LVS load balancing.The connection is forwarded to one of the real servers on the local network.A service like the Apache web server or an FTP client on the real server handles the request.The user is presented content quickly requested even if the site is heavily used.?Benefit!

View the Original article

KDE 4.0 Alpha 2 released

Community of KDE LR are now extremely proud to have released the second Alpha version of what will probably be the worlds most popular desktop environment in a few years.

0.1 New Desktop 0.2. It is Alpha

Hundreds of KDE hackers are now conspiring to make the best environment for GUI user never created in Glasgow, Scotland. An overview of their plans of domination of the world Office environment was releasted from there, on July 4, 2007.

0.1 New Desktop

The KDE 4 desktop will be very different from KDE 2.x and 3.x. The new user interface is the code name of Plasma and a rumour to be very slippery.



View the Original article

Flash Player 9 Update Release Candidate available

Adobe LR released a candidate of their proprietary software flash player update. It has a few new features like support for H.264 video, but it really does not matter that the licence remains totally unacceptable.

0.1 RC new version 0.2. So what? 0.3 Please help 0.4. GNU alternative

0.1 New version RC

Many modern Web uses flash for various purposes. Adobe today launched a new version of their proprietary software flash drive RC and it has some new features, including:



View the Original article

Viet Nam widely used software open source

VietNamNet Bridge Minister of Information and Communications the Doan Hop requested that 100% of the servers in the divisions of government agencies it must be installed with the software open source by June 30, 2009.

Total preferred plan technology no "cracked software."

Vietnam Ministry of Information and Communications has heard that 100% of all the servers of agencies for the Government to carry free software by June 30, 2009. They also impose divisions IT form their staff to use this software and require 50% of drones to be able to use the technology "with competence".



View the Original article

Women are not relevant to the free software community

LR barely one per cent of all female contributors are on the postings for free software projects.

The percentages of sex KDE commit digest are:

89% Male9.51% (unknown) 1.34% female



View the Original article

Eyemagnet Limited sponsoring Gnash development

LinuxReviews new ships technical director Steve Eyemagnet Castellotti offered project Gnash "paid a few hours of Gnash development time".

Gnash is a GNU project which aims to replace Flash player of plant functions. The project needs more good programmers. A small company of new ships now offers to pay developers to work on the project. Eyemagnet Gnash needs for their own purposes, so that they do not mind a small amount of expenditure to improve the technology.

Steve Castellotti this posted on the Gnash mailing list on 12 March:



View the Original article

The Best Open Source Graphics And Design Software

A few years ago Novell conducted an online public survey to determine which MS-Windows apps need to be ported on Linux desktop. Adobe Photoshop and other graphics application that user want ported to Linux. However, Linux comes with the sheer numbers of open source software projects produced by the community. You may overwhelmed by the choices available under Linux and not know where to begin.
This blog post covers Vector-based editors, Raster-based editors, Photo editing, Specialty, Desktop publishing (DTP), Web design, 3D modeling, Animation Typography and other softwares:

Even when looking at just a subset -- such as graphics applications -- if you are not already familiar with the options, the volume can make it hard to track down the application that fits your needs. The major categories tend to break down the same way, however -- just a few major players; the large projects often catering to slightly different design goals, and a second set of smaller projects each of which has a smaller team and a more narrow focus.

Let's examine each design field in turn. We'll start by describing the leading program or programs in each, followed by the smaller or younger projects, and end with the special-purpose tools.

Read more: Periodic table of the open source graphics and design apps

Featured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop

View the Original article

Top 5 Open Source Linux Server Provisioning Software

Server provisioning is nothing but load the Linux or UNIX like operating systems automatically with actual operating systems, device drivers, data, and make a server ready for network operation without any user input. Typically you select a server from a pool of available servers, load the operating systems (such as RHEL, Fedora, FreeBSD, Debian), and finally customize storage, network (IP, gateway, bounding etc), drivers, applications, users etc. Using the following tools you can perform automated unattended operating system installation, configuration, set virtual machines and much more. These software can be used to install a lot (say thousands) of Linux and UNIX systems at the same time.

Kickstart

From the official Redhat guide:

Many system administrators would prefer to use an automated installation method to install Red Hat / CentOS / Fedora Linux on their machines. To answer this need, Red Hat created the kickstart installation method. Using kickstart, a system administrator can create a single file containing the answers to all the questions that would normally be asked during a typical Red Hat Linux installation. Kickstart provides a way for users to automate a Red Hat Enterprise Linux installation.

Kickstart Configurator allows you to create or modify a kickstart file using a graphical user interface, so that you do not have to remember the correct syntax of the file.



View the Original article

Open Source Photography Software

I recently brought Canon EOS 500D mid-range DSLR cameras with good promotional discounts. My photography interests date back to my school days but I did not take photography seriously until recently. Now, I'm researching for quality open source photo-software which may be available to photographers. This blog post gives a quick and dirty view of the different photo applications available for Linux operating systems:

Photography on the free software desktop has come a long way in recent years. All of the major desktop environments support camera import and provide image management and editing applications, including the all-important raw file conversion. But the desktop defaults are really geared towards casual users, optimized for point-and-shoot cameras and sharing photos online. Don’t be fooled by that, though; open source can and does offer the tools to support professional photographers and high-end enthusiasts.

Rather than drop in a long, bulleted list of applications, though, let’s take a look at what the open source alternatives are, task-by-task, to get a better feel for how the pieces fit together into a normal photographic workflow.

Read more: Photography with Open Source / Linux

Featured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop

View the Original article

Ubuntu Linux: Install RT2870 Chipset Based USB Wireless Adapter

This blog post listed Linux Compatible USB wireless adapters. It seems that many new Linux users frequently have problems learning how to install RT2870 driver under Linux. I also received email requesting installation instructions for the same device. This quick tutorial will explains how to install RT2870 based chipset device with WPA2 authentication and TKIP wireless encryption.

Our Sample Setup

The following instructions are tested on:

Ubuntu Linux 10.04.1 LTSKernel - Linux 2.6.32-24-generic-pae i686 (32 bit)WPA2 with Linksys 160N router RT2870 Chipset Based Devices Are Not Working Out Of Box

The main problem is conflicting driver which are shipped with default kernel. WPA2 is a method of security wireless networking with optional PSK for home users. The default driver only recognizes driver but always failed to join WPA2 based network. The solution is to install RT2870 driver from the vendor site.

Step #1: Disable Default Drivers

Type the following command to black list default drivers:
$ sudo vi /etc/modprobe.d/blacklist.conf
Append the following driver names:

blacklist rt2800usbblacklist rt2x00libblacklist rt2x00usb

Save and close the file. Use the rmmod command to remove current drivers or just reboot the system:
$ sudo modprobe -r driverName
# you need to remove all of the above drivers one by one:
$ sudo modprobe -r rt2800usb
OR simply reboot the systems:
$ sudo reboot

Step 2: Install Compilers

Type the following command to install required packages so that you can compile source code:
$ sudo apt-get install build-essential fakeroot dpkg-dev
Finally, install Linux kernel headers so that you can compile kernel device drivers:
$ sudo apt-get install linux-headers-$(uname -r)

Step #3: Download Driver

Visit this page and download USB drivers

View the Original article

Download Ubuntu 10.10 (Maverick Meerkat) CD ISO / DVD Images

The latest version of the popular Linux desktop distribution Ubuntu 10.10 has been released and available from the official project web site. New features since Ubuntu 10.04 includes - Gnome 2.32, KDE 4.5.0 (QT 4.7), new KDE browser Rekonq, Pulse Audio as the default sound server, Firefox 3.6.9, OpenOffice 3.2.1, Evolution 2.30.3, Shotwell, Btrfs with experimental support, kernel 2.6.35, and X.org version 1.9.



View the Original article

HowTo: Use Bash Parameter Substitution Like A Pro

The $ character is used for parameter expansion, and command substitution. You can use it for manipulating and/or expanding variables on demands without using external commands such as sed or awk.

#1: Getting Up Default Shell Variables Value

The syntax is as follows:

${parameter:-defaultValue}var

View the Original article

Download Fedora 14 CD / DVD ISO

Fedora Linux version 14 has been released and available for download ( jump to download link ). Fedora Linux is a community-based Linux distribution. Fedora is sponsored by Red Hat, Inc. Fedora is considered as the second most popular distro, behind Ubuntu Linux for desktop and laptop usage.



View the Original article

Linux / UNIX Desktop Fun: Terminal ASCII Aquarium

by Vivek Gite on January 5, 2011 · 29 comments

You can now enjoy mysteries of the sea from the safety of your own terminal using ASCIIQuarium. It is an aquarium/sea animation in ASCII art created using perl.

Install Term::Animation

First, you need to install Perl module called Term-Animation. Open a command-line terminal (select Applications

View the Original article

Download Debian Linux 6 Squeeze ISO / CD / DVD Images

Debian GNU/Linux version 6.0 has been released ( jump to download ) after 24 months of constant development and available for download in various media format. Debian 6.0 is a free operating system, coming for the first time in two flavours. Alongside Debian GNU/Linux, Debian GNU/kFreeBSD is introduced with this version as a "technology preview". It also supports various processor architectures and includes the KDE, GNOME, Xfce, LXDE and other desktop environments. It also features compatibility with the FHS v2.3 and software developed for version 3.2 of the LSB.



View the Original article

Top 5 Linux DVD RIP Software

A DVD ripper software allows you to copying the content of a DVD to a hard disk drive. You transfer video on DVDs to different formats, or make a backup of DVD content, and to convert DVD video for playback on media players, streaming, and mobile phone. A few DVD rippers software can copy protected disks so that you can make discs unrestricted and region-free.

Please note that most of the following programs can rip encrypted DVDs, as long as you have libdvdcss2 installed as described here. Please check the copyright laws for your country regarding the backup of any copyright-protected DVDs and other media.

#1: AcidRIP

AcidRip is an automated front end for MPlayer/Mencoder (ripping and encoding DVD tool using mplayer and mencoder) written in Perl, using Gtk2::Perl for a graphical interface. Makes encoding a DVD just one button click! You can install it as follows under Debian / Ubuntu Linux:
$ sudo apt-get install acidrip


View the Original article

FAQ Updates – Feb/07/2011

FAQ Updates – Feb/07/2011AboutForumHowtos & FAQsLow graphicsShell ScriptsRSS/Feednixcraft - insight into linux admin workFAQ Updates – Feb/07/2011by Vivek Gite on February 7, 2011 · 3 comments



View the Original article

5 Best Linux Distribution With No Proprietary Components

Linux is a free and open source operating system. However, Linux (and other open source operating system) can use and load device drivers without publicly available source code. These are vendor-compiled binary drivers without any source code and known as Binary Blobs. Die hard open source fans and Free Software Foundation (FSF) recommends completely removing all proprietary components including blobs. In this post I will list five best Linux distribution that meets the FSF's strict guidelines and contains no proprietary components such as firmware and drivers.

Top 5 Reasons to Avoid Binary BlobsModification & distribution - Binary blobs can not be improved or fixed by open source developers. You can not distribute modified versions.Reliability - Binary blobs can be unsupported by vendors at any time by abandoning driver maintenance.Auditing - Binary blobs cannot be audited for security and bugs. You are forced to trust vendors not to put backdoors and spyware into the blob.Bugs - Binary blobs hide many bugs. Also, it can motivate people to buy new hardware.Portability - Binary blobs can not be ported on different hardware architectures. It typically runs on a few hardware architectures.Look Ma Not Just Free Software!

The following are not just a distribution but offers additional benefits too:

Learn how a distribution works on the inside.Ease of use.An active community providing quick and helpful support.#1: gNewSense

gNewSense is a GNU/Linux distribution based on Ubuntu Linux. However, gNewSense v3.0 will be based on Debian instead of Ubuntu. The current version is same as Ubuntu, but with all non-free software and binary blobs removed. The FSF considers gNewSense to be a GNU/Linux distribution composed entirely of free software.


View the Original article

Linux Advanced Hardening With the Capability Bounding Set

The last time I wrote about basic "Linux Server Hardening Security" tips. In this post I will write about the /proc/sys/kernel/cap-bound file which act as a powerful Linux hardening tool. This file holds the value of the kernel capability bounding set (expressed as a signed decimal number). This set is ANDed against the capabilities permitted to a process during exec. You can make changes to this file (bit value of cap-bound) and you can restrict many capabilities of process and put restrictions on root related process too. Using capability you can enable or disable Linux kernel modules loading, firewall, routing, raw sockets, locking of memory segments, restrictions on changing file ownership, restrictions on read and search of files and directories, sending signals to processes owned by others, modification of immutable and append-only file attributes, use of chroot(), rebooting the system, conman sys admin tasks such as mount, quotas, swapping and much more.

How Do I See Default or Current Capability Values?

Type the following command:
$ cat /proc/sys/kernel/cap-bound
Sample outputs:

-257How Do I Set New Capability Values?

Use the echo command as follows:

 echo 0xHexValue > /proc/sys/kernel/cap-bound 

The bounding set is expressed as a bitmask so you can use hexnumber or use bash shell left bit bitwise shifts ARITHMETIC EVALUATION operators. A word of warning - be very careful when making changes to the bounding set. You may end up locking the system due to wrong values.

Example: Stop Loading Modules (Drivers) After System Has Booted

The CAP_SYS_MODULE allows to insert and remove kernel modules without limit. The capability number is 16 for CAP_SYS_MODULE. So you can use bash shell left bit bitwise shifts as follows to disable loading of drivers as follows (you must be root user):

 echo 0xFFFEFFFF > /proc/sys/kernel/cap-bound 

Now try to load or unload modules:
# modprobe ide_cd
Sample outputs:

FATAL: Error inserting ide_cd (/lib/modules/2.6.18-194.3.1.el5/kernel/drivers/ide/ide-cd.ko): Operation not permitted

OR try to remove module:
# modprobe -r cdrom
Sample outputs:

FATAL: Error removing cdrom (/lib/modules/2.6.18-194.3.1.el5/kernel/drivers/cdrom/cdrom.ko): Operation not permittedHow Do I Make Changes To Capability Permanently?

To make changes to /proc filesystem permanently, add them to /etc/sysctl.conf file:
# vi /etc/sysctl.conf
Append the following line:

 # Do not load or remove any kernel drivers# Clear bit # 16echo 0xFFFEFFFF > /proc/sys/kernel/cap-bound 

Save and close the file. Load changes:
# sysctl -p

How Do I Find Out List Of All Supported Capabilities?

To get an overview of Linux capabilities and its numbers see /usr/src/linux/include/linux/capability.h file, enter:
$ vi /usr/src/linux/include/linux/capability.h
OR use the grep command to find out numbers quickly:

 grep '#define CAP' /usr/src/linux/include/linux/capability.h 

Sample outputs:

#define CAP_CHOWN 0#define CAP_DAC_OVERRIDE 1#define CAP_DAC_READ_SEARCH 2#define CAP_FOWNER 3#define CAP_FSETID 4#define CAP_KILL 5#define CAP_SETGID 6#define CAP_SETUID 7#define CAP_SETPCAP 8#define CAP_LINUX_IMMUTABLE 9#define CAP_NET_BIND_SERVICE 10#define CAP_NET_BROADCAST 11#define CAP_NET_ADMIN 12#define CAP_NET_RAW 13#define CAP_IPC_LOCK 14#define CAP_IPC_OWNER 15#define CAP_SYS_MODULE 16#define CAP_SYS_RAWIO 17#define CAP_SYS_CHROOT 18#define CAP_SYS_PTRACE 19#define CAP_SYS_PACCT 20#define CAP_SYS_ADMIN 21#define CAP_SYS_BOOT 22#define CAP_SYS_NICE 23#define CAP_SYS_RESOURCE 24#define CAP_SYS_TIME 25#define CAP_SYS_TTY_CONFIG 26#define CAP_MKNOD 27#define CAP_LEASE 28#define CAP_AUDIT_WRITE 29#define CAP_AUDIT_CONTROL 30#define CAP_SETFCAP 31#define CAP_MAC_OVERRIDE 32#define CAP_MAC_ADMIN 33#define CAP_LAST_CAP CAP_MAC_ADMIN#define CAP_TO_INDEX(x) ((x)

View the Original article

HowTo: Use OpenBSD In the Corporate Environment

OpenBSD has a reputation for high security and difficult operating systems for new user. But, some orginsations are using OpenBSD for everything including firewall, servers and desktop computers. This is quite impressive, from the article:

So our paid job is hacking on and deploying, maintaining, supporting... OpenBSD installations. We are also required to hack on things that can be merged back into OpenBSD itself and when it's not possible, then we change what we did so that it can be. Of course some developments are very specific to what we do and have no place in the project's CVS tree.

So, amongst other services, we set up and maintain several 100% OpenBSD-based infrastructures (going from the entry site firewall to the secretary's workstation) and this is what I'm going to talk about here.

As a side note, it is important to know that we are working exclusively for Fortune 500 companies (each operating in totally different and unrelated sectors).

Read more: A Puffy in the corporate aquarium.

Featured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop

View the Original article

FAQ Updates – April/30/2011

Our FAQ section is updated in last few days with new howtos:

Linux Display System Statistics Gathered From /procHowTo: Linux Random Password Generator CommandBash Shell: Extract Digits From a StringLinux / UNIX: scp / rsync File Name With colon (:) In It

HowTo: UNIX Set Date and Time CommandUNIX / Linux: Increment The DateBash Remove Last Character From String / Line / WordUNIX: Lynx Browser Set / Change the Default Home PageFreeBSD Jail Allow Sound And Flash AccessLinux: Determine the Manufacturer of a PCI DeviceLinux Install an RPM FileLinux Static IP Address ConfigurationBash: Pass Shell Variables To awkLinux / UNIX: See If Particular Users Are Logged Into ServerHowTo: Convert Between Unix and Windows text filesMySQL: Connect From an Other System / ComputerLinux: Rename Expression To Remove First Character From a File NameLinux: Set Environment VariableApple OS X Lock Desktop / ScreenHowTo: Install Ports in FreebsdHowTo Install firefox-4.0.tar.bz2 in LinuxFAQ & Howtos RSS Feed

Get intimated about our new howtos / faqs as soon as it is released via RSS feed.

nixCraft is on Facebook!

Not our Fan yet? We suggest you become one right away! Just visit our Facebook Page. Click on the "like" button.

Featured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop

View the Original article

Download Ubuntu 11.04 (Natty Narwhal) CD ISO / DVD Images

The latest version of the popular Linux desktop distribution Ubuntu 11.04 has been released and available from the official project web site. This new version uses the Unity user interface instead of GNOME Shell as default desktop (user can switch back to classic Gnome desktop any time). New features since Ubuntu 10.10 includes - Banshee as the default music player, Mozilla Firefox 4, LibreOffice, Linux kernel v2.6.38.2, gcc 4.5, Python 2.7, dpkg 1.16.0, Upstart 0.9, X.org 1.10.1, Mesa 7.10.2, Shotwell 0.9.2, and Evolution 2.32.2.



View the Original article

Download Fedora 15 CD / DVD ISO

Fedora Linux version 15 has been released and available for download ( jump to download link ). Fedora Linux is a community-based Linux distribution which is sponsored by Red Hat, Inc. Fedora is considered as the second most popular cutting edge distro, behind Ubuntu Linux for desktop and laptop usage. The new version comes with several new features such as special focus on desktops, developers, virtualization, security and system administration.


View the Original article

Linux / UNIX Desktop Fun: Steam Locomotive

ls; but then you may miss out the steam train with whistle.

sl is a joke software or classic UNIX game. It is a steam locomotive runs across your screen if you type "sl" (Steam Locomotive) instead of "ls" by mistake.

Install sl

Type the following command under Debian / Ubuntu Linux, enter:
# apt-get install sl
It is also available on FreeBSD and other UNIX like operating systems. Next, mistyped ls command as sl:
$ sl


View the Original article

FAQ Updates – May/27/2011

Our FAQ section is updated in last few days with new howtos:

Linux Find Out CPU Architecture InformationGnome Network Manager VPN Tab Disabled ( Greyed out )Gnome Volume Control: Disabled Sound ThemesDebian Linux (Squeeze) Install Firefox 4UNIX: Find Out the Server ModelLinux / UNIX: Run Command a Number of Times In a RowLinux: TMOUT To Automatically Log Users OutRHEL 6: Change OpenSSH Port To 1255 ( SELinux Config )RHEL 6: semanage SELinux Command Not FoundHowTo: UNIX Set Date and Time CommandFAQ & Howtos RSS Feed

Get intimated about our new howtos / faqs as soon as it is released via RSS feed.

nixCraft is on Facebook!

Not our Fan yet? We suggest you become one right away! Just visit our Facebook Page. Click on the "like" button.

Featured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop

View the Original article

How To Upgrade DRBD Userland Version To 8.3.9 Under OpenSUSE 11.4

hotmail.com. Thanks.

In this tutorial I will run 2 OpenSUSE 11.4 32-bit servers under VMware Workstation, both servers were built from OpenSUSE 11.4 live-CD, which you can download from http://www.opensuse.org.

Both servers have 2 disks:

/dev/sda: OpenSUSE system OS;

/dev/sdb: for DRBD only

Server names and network addresses:

drbd1: 192.168.5.129

drbd2: 192.168.5.137

 

Step 1. Install kernel-source, gcc, flex, make On Both Serverszypper install kernel-source gcc flex make



View the Original article

The Perfect Desktop - Kubuntu 11.04

(JavaScript must be enabled in your browser to view the large image as an image overlay.)

Select your language and click on the Install Kubuntu button to start the installation:



View the Original article

How To Integrate ClamAV Into PureFTPd For Virus Scanning On Fedora 14

# If your pure-ftpd has been compiled with pure-uploadscript support,# this will make pure-ftpd write info about new uploads to# /var/run/pure-ftpd.upload.pipe so pure-uploadscript can read it and# spawn a script to handle the upload.CallUploadScript yes

View the Original article