Showing posts with label Install. Show all posts
Showing posts with label Install. Show all posts

Sunday, July 31, 2011

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

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

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

Wednesday, June 1, 2011

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

Sunday, May 29, 2011

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

Thursday, April 7, 2011

How To Install Managing News On Ubuntu

Managing News is an RSS/Atom based news tracker with search, republishing and mapping. This tutorial shows how to install Managing News on an Ubuntu server.

Create database:

mysqladmin create [database]

Access MySQL:

mysql -u root -p[password]

Grant manipulation privileges to the database:

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER
ON [database].*
TO '[database_username]'@'localhost' IDENTIFIED BY '[password]';

Flush the grant tables (same as reload):

flush privileges;

Type this command:

wget http://managingnews.com/files/managingnews-1.2.zip

After download has finished, extract the file by typing this command:

unzip managingnews-1.2.zip

After finish extracting the file, move the file to /var/www/ folder by typing:

mv managingnews-1.2/* /var/www/

Go to the /var/www/sites/default/ folder and copy the default.settings.php to settings.php:

cd /var/www/sites/default/
cp default.settings.php settings.php

Then, change write permission of settings.php:

chmod a+w settings.php

In the same folder (/var/www/sites/default/ folder), create a files directory:

mkdir files

Then, change write permission of files directory:

chmod a+w files

Open your browser and type: http://YOURIPADDRESS/install.php

Choose profile: Click on install Managing News.

Set up database: Fill in the name of the database you created, database username and the database password.

Then, click "Save and continue" button.

Go to the /var/www/sites/default/ folder and remove write permission of settings.php:

cd /var/www/sites/default/
chmod a-w settings.php

Then, go back to the previous folder which is /var/www/sites/ folder and remove write permission of default folder:

cd ..
chmod a-w default

Configure site: Fill in Site name and Site e-mail address in "Site Information"section.

Configure site: Fill in Username, E-mail address, Password, Confirm password in "Administration account" section.

Configure site: Select for Default time zone, click Enabled for Clean URLs, and click Check for updates automatically for Update notifications in "Server settings" section.

Then, click "Save and continue" button.



View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

How To Install Apache-Solr And Use It With Drupal And ISPConfig (OpenSUSE/Debian)

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. I use this on OpenSUSE and Debian (minor tweaks on Debian, just paths to correct but it's almost the same). Packages from 4 of March 2011.

Install Drupal. And use ISPConfig 2.

Use this .htacess file in the root of your Drupal installation:

 
RewriteEngine on
#RewriteBase /  
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]  
#RewriteCond %{REQUEST_URI} !=/favicon.ico

Alter the .htacess file in /web/sites/default/files and comment:

#SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
#Options None

Install Drupal. This tutorial doesn't cover full Drupal installation.

Log in as root or sudo as you wish.

Install some dependencies Drupal needs:

pecl install uploadprogress
pecl install json
pecl install apc
pecl install -n solr-beta

Also install Java 1.5 (gives error if 1.6) on your server. (This tutorial doesn't cover Java installation.)

Open your php.ini...

nano -w /etc/php5/apache2/php.ini

... and paste the following extensions uploadprogress, apc and solr so the extensions load with PHP:

; Directory in which the loadable extensions (modules) reside.
extension_dir = /usr/lib64/php5/extensions
extension=uploadprogress.so
extension=apc.so
extension=solr.so

Save your file and restart webserver:

/etc/init.d/apache2 restart

cd /tmp
wget http://mirrors.ukfast.co.uk/sites/ftp.apache.org/lucene/solr/1.4.1/apache-solr-1.4.1.zip
unzip apache-solr-1.4.1.zip
mv apache-solr-1.4.1 apache-solr
cp -r apache-solr /usr/share/apache-solr

Copy configuration from your Drupal installation, in my case /srv/www/web11/web:

cp /srv/www/web11/web/sites/all/modules/apachesolr/solrconfig.xml /usr/share/apache-solr/example/solr/conf/solrconfig.xml
cp /srv/www/web11/web/sites/all/modules/apachesolr/schema.xml /usr/share/apache-solr/example/solr/conf/schema.xml

cd apache-solr/example
java -jar start.jar

In your browser, test it (remember to open in ISPConfig firewall port 8983):

http://yourwebsite.com:8983/solr/admin/

TEST OK!

ctrl+c in your terminal and apache-solr ends... But never mind.

Let's make a start script so it starts solr when system boots:

nano -w /etc/init.d/solr

And paste this script:

#!/bin/sh -e

# Starts, stops, and restarts solr

SOLR_DIR="/usr/share/apache-solr/example"
JAVA_OPTIONS="-Xmx1024m -DSTOP.PORT=8079 -DSTOP.KEY=stopkey -jar start.jar"
LOG_FILE="/var/log/solr.log"
JAVA="/usr/bin/java"

case $1 in
start)
echo "Starting Solr"
cd $SOLR_DIR
$JAVA $JAVA_OPTIONS 2> $LOG_FILE &
;;
stop)
echo "Stopping Solr"
cd $SOLR_DIR
$JAVA $JAVA_OPTIONS --stop
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}" >&2
exit 1
;;
esac

Make it executable:

chmod a+rx /etc/init.d/solr

Check what is booting:

chkconfig --list

Oh no! solr is not booting. Of course not!

chkconfig --add solr

Then try to stop it:

service solr stop

Oh. It's not working? Let's try to start it:

service solr start

Test on your browser. 

http://yourdomain.com:8983/solr/admin/

It's ALIVE! apache-solr, search on steroids!

Now you can reboot your server, too, and see apache-solr working. :)



View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

Saturday, March 26, 2011

Open-xchange to install Debian Linux

 

Since its beginnings as a Microsoft Exchange alternative for small, medium-sized businessed, the Open-Xchange collaboration suite has stretched a bit beyond just a messaging solution. The flagship product, open-xchange server is a complete collaborative platform, in particular with the addition of the InfoStore-document-sharing module. Here is how to install Open-Xchange server, on the way to replace Exchange.

Open-xchange is a multimedia tidal of flavors. It is, of course, the stand-alone Server-Edition, as also the hosting Edition, which provides open-xchange users as a Web app. The Advanced Server Edition features the same Web based user interface in the hosting Edition, but ensures content in a similar way as the Server Edition. The Open-Xchange appliance Edition also used the Web based GUI, and acts as a completely stand-alone appliance with a wizard-based interface to get started.

In this article we'll go old-school and go by setting the Server Edition (SE) on a Debian (lenny).

In addition to Debian GNU/Linux is open-xchange SE optimized on SUSE Linux Enterprise Server 10 and Red Hat Enterprise Linux 5 run. Additional software requirements include a MySQL database, Oracle Java VM 1.5 and an IMAP server such as Cyrus, courier, Dovecot, UW-IMAP. Finding all of these pieces is delivered Open-Xchange SE not difficult, as you with the SE package. But you need to know how you all these services, which requires a fair amount of expertise, because no GUI configuration tools for the Server Edition to configure it.

In particular, 6.18, as well as the basic configuration steps will demonstrate in this article to set up open-xchange SE. This is a single-server installation, without any distributed or clustering features of the ausgebrachtes product involved. All you need is a Debian Lenny installation and a working Internet connection.

The easiest way to open-xchange SE install on Debian, that add Open-Xchange-repository to the repository list and allow Debian Package Manager the heavy lifting.

Start to start the Terminal application to your favorite editor, that of the Open-Xchange software repository information file sources.list add Debian repository be changed.

$ Sudo gedit /etc/apt/sources.list

Add at the end of the file:

Deb http://software.open-xchange.com/OX6/6.18/DebianLenny/ /

In addition, you must also Sun Java and so should the Debian-non-free repository add/if you select is not already in the sources.list file:

 

Deb http://mirrors.kernel.org/debian/ lenny of main not Freedeb src http://mirrors.kernel.org/debian/ lenny of main not Freedeb http://security.debian.org/ lenny/updates of main non-Freedeb-src http://security.debian.org/ lenny / updates main non-free

 

Download the package index with the next command. This will download the package descriptions available in the software repositories:

 

$ Sudo apt-get update

 

Because Open-Xchange starts with meta packages after version 6.16, much can give you a command to the downloading and installing all necessary packages of an open-xchange deployment on a single server start pretty:

$ Sudo apt-get install MySQL-Server Open-Xchange-meta-single server Open-Xchange authentication database open-xchange-Spamhandler-default

Usually automatically runs the installation process, but you have to allow to see the Sun JRE packages. If you want to manage only your Open-Xchange installation of database and should not project to integrate, such as with LDAP and open-XchangeLDAPSync, you also install the package of Open-Xchange-meta-Databaseonly.

You can still individually install the individual packages if you need to select a specific set of functionality that you want to have. No matter what sure to install the MySQL-Server package together with the (meta) packages that you use for your installation.

If you installed the packages, it is time to configure the system. There are three levels of administration that require different credentials at some point during the installation and configuration of the server. The provided passwords are weak and replaced by stronger passwords need to be.

The MySQL database useranwendername: open exchange password made available: Db_password

The Open-Xchange admin master

User name: OxadminmasterPassword provided: Admin_master_password

The context Admin

User name: OxadminPassword provided: Admin_password

To set up open-xchange SE, it is imperative, for the database are running:

$ /etc/init.d/mysql start

It is also a good idea is there, the Open-Xchange binaries to your $PATH add:

Echo $ PATH



View the Original article