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