Skip to main content

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

Comments

Popular posts from this blog

How To Kill Tomcat HTTP Stuck Thread

Stuck Thread Problem: In one of our application we were facing issue of stuck thread ,it can not complete current work and also not able to accept new work. Once thread is stuck,CPU utilization starts increasing slowly, as stucked thread is utilizing more CPU, other threads start performing slowly makes the environment slow for users  and at some point it brings your server down. Restarting server in business hours is not good for anyone ,and it creates the bad impression of IT department to business. Identify Stuck Threads: To identify which are stuck threads ,you can use jconsole and  topthreads plugin.once you identified the top http threads which are consuming more memory you can kill stuck threads using below solution. Stuck Thread Solution: so we have implemented below solution for stuck thread which we found on web. in java you can create jsp with below code and call jsp using URL something like this- http://servername:port/context/jspname.jsp?thr...

Read PDF in Boomi

If you need to read pdf from Boomi Atom installation path,then use code something like this in map function. byte[] filebytes = new File('\\\\'+path+'\\'+filename+'.pdf').readBytes() String strEncoded= filebytes.encodeBase64().toString() name = filename+".pdf"; fileContent= strEncoded; fileContent stores the encoded base 64 data.

Salesforce - Common footer and sender email address for all emails from one department

if you are in situation where you are sending email out from salesforce and you want to use same  sender email address and footer.Lets say you are from customer service department and you department tag line is Best in service:) and you want to send email always from one email id bestineservice@mycompany.com for customer service department. Follow below steps- Common email footer(Organization wide email footer):- 1)login to salesforce 2)click on setup, in Admistration setup section click on Email footers then click on new on email footer screen. 3) enter all the details and click on same. Common Email address :-  1)click on setup 2) click on setup, in Admistration setup click on organization-wide address and then click on Add 3) fill the details and select the profile like customer service profile or depends on you situation and click on save