DUNTUK

A web and systems development journal (from a–too busy–web developer who does a lot of various IT work.)

linux server

How to install Apache Solr 3.x for Drupal 7 or Drupal 6

Last updated: Tue, 09/18/2012 - 7:28pm

First we'll need to install Java 1.6 JDK, and be on PHP 5.2 or higher (You can check my PHP installation tutorial here. Also I'm on CentOS.

Install Java 1.6 JDK

yum install java-1.6*

Install Apache Solr

We're going to install Apache Solr into /usr/local/share; however you can install it somewhere else if you'd like (e.g. install it in the root dir / )

Update CentOS / DirectAdmin Server with custombuild 2.0

Last updated: Tue, 05/01/2012 - 7:05pm

Here is how to use latest version of custombuild 2.0 . The commands for custombuild 2.0 are basically identical to custombuild 1.1 and 1.2, so all this stuff should look familiar.

Notice: At the time of this writing (2012-03-14) custombuild 2.0 doesn't support upgrading from php 5.2 to 5.4. If you're upgrading from php 5.2 to 5.4 please use custombuild 1.2.

cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build

edit options.conf file, selecting whatever you want to upgrade and what version numbers... then run:

./build update_data

New Server Checklist for directadmin (2009)

Last updated: Mon, 10/17/2011 - 2:30am

-Add all your ips in directadmin under "IP management"
(and assign 2 ips to admin)
http://xx.xxx.xxx.xxx:2222/CMD_IP_MANAGER

-Register nameserver at registrar
(namecheap.com is my fav; networksolution.com is the worst for this... it's not longer an option you can click on the website, you have to send an email request for this)

-Add nameservers to server:
1. go to user level, and add the new domain you registered (leave default settings, and tweak them after)
2. go back to reseller level, and click "nameserver" and select 2 ips you want to use and click "create" then set the 2 new nameservers for "Set the Nameservers that will be assigned to new users" (it should be added by default)

-Share nameserver ips (so you're able to add other domains to them):

Subscribe to RSS - linux server