Friday, October 22, 2010

Installing alfresco 3.3 on ubuntu server 10.04

1. Install sun java jdk
sudo apt-get install sun-java6-jdk
2. Set environment variable for JAVA_HOME into /etc/environment
JAVA_HOME=/usr/lib/jvm/java-6-sun/
3. Install MySql Server
sudo apt-get install mysql-server
4. Create alfresco database
login to mysql using mysql root and password
mysql -u root -p
mysql> CREATE DATABASE alfresco DEFAULT CHARACTER SET utf8 COLLATE
utf8_unicode_ci;
mysql> GRANT ALL PRIVILEGES ON alfresco.* TO alfresco@localhost IDENTIFIED BY
'alfresco';
mysql> GRANT SELECT,LOCK TABLES ON alfresco.* TO alfresco@localhost IDENTIFIED BY
'alfresco';
mysql> FLUSH PRIVILEGES;
mysql> quit;

5. Download alfresco installation files
create alfresco directory
mkdir /opt/alfresco
use wget command to download alfresco or install on your machine on any location
wget http://dl.alfresco.com/release/community/build-2765/alfresco-community-
tomcat-3.3.tar.gz?dl_file=release/community/build-2765/alfresco-community-tomcat-
3.3.tar.gz -O alfresco-community-tomcat-3.3.tar.gz

6. Extract Alfresco into /opt/alfresco
gunzip alfresco-enterprise-tomcat-2.1.1.tar.gz
tar -xvf alfresco-enterprise-tomcat-2.1.1.tar
7 . Alfresco Configuration
we need to configure alfresco by editing the alfresco-global.properties
cd /opt/alfresco/tomcat/shared/classes
vi alfresco-global.properties
8. find the dir.root into alfresco-global.properties and set to
dir.root=/opt/alfresco/alf_data
set mysql database settings
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306
9. Start Alfresco
sudo /opt/alfresco/alfresco.sh start

10.Browse alfresco and alfresco share
http://localhost:8080/alfresco
http://localhost:8080/share

Thursday, January 14, 2010

CVS on Solaris

1. To install CVS and checkout head project,it is explained in below blog
http://anipossible3.blogspot.com/2008/03/solaris-discovery.html

2. To checkout branch of project
./cvs checkout -r {branchname} {projectname}

3. To update the head/branch on solaris
Head :
./cvs update -d {project name}
Brnach:
./cvs update -r {branchname} -d

Monday, January 11, 2010

Create New branch for Project into CVS

1) Make sure you have installed cvsnt on your machine .download it from
http://march-hare.com/cvspro/

2) Set home path of cvsnt into path environment variable of system.

3) Go to the command prompt

4) Do set CVSROOT setting
set CVSROOT=:pserver:userid@<cvshost>:/<repository>

4) Then "CVS login" with your password.

5) Then this command
cvs rtag -r HEAD -b <branchname> <headprojectname>