วันอังคารที่ 10 มกราคม พ.ศ. 2560

Install alfresco


============Examble==============
1.set
IP= 10.1.10.201/24
Gateway = 10.1.10.254
DNS=10.1.10.3
**follow me below**

---------------------------------------------------------------------------------------------------

2. http://dba1admin.blogspot.com/2013/01/installing-alfresco-40-on-centos-5.html

Install PostgreSQL 9.2 repository

2.1 # service iptables stop
2.2  # chkconfig iptables off
2.3 # vi /etc/sysconfig/selinux -------> chang----->SELINUX=disabled
2.4 # rpm -Uvh http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm
2.5 # yum install postgresql92 postgresql92-server postgresql92-contrib
2.6 # /etc/init.d/postgresql-9.2 initdb
2.7 # /etc/init.d/postgresql-9.2 start
2.8 # su - postgres
2.8 # psql template1
2.9 # CREATE DATABASE alfresco;
2.10 # CREATE USER alfresco WITH PASSWORD '123abc';
2.11 # GRANT ALL PRIVILEGES ON DATABASE alfresco to alfresco;
2.12 #\q -------> # exit
2.13 # vi /var/lib/pgsql/9.2/data/pg_hba.conf -------> change-->IPv4 local connections:------ direct---->password
2.14 # /etc/init.d/postgresql-9.2 restart
2.15 # psql -h localhost alfresco alfresco ------> : __123abc_______
2.16 # yum install wget
2.17 # wget http://jdbc.postgresql.org/download/postgresql-9.2-1000.jdbc4.jar

3. install alfresco
reference ====> http://dba1admin.blogspot.com/2013/01/installing-alfresco-40-on-centos-5.html
3.1 copy file alfresco-community-4.0.e-installer-linux-x64.bin  to linux
====> download ===>http://www2.alfresco.com/e/1234/l-1234-2014-03-13-3fk111/3fk19r/776313546
3.2 # chmod +x alfresco-community-4.0.e-installer-linux-x64.bin
3.3  # ./alfresco-community-4.0.e-installer-linux-x64.bin 
3.4 Language Selection
Please select the installation language
[1] English - English
[2] French - Français
[3] Spanish - Español
[4] Italian - Italiano
[5] German - Deutsch
[6] Japanese - 日本語
[7] Dutch - Nederlands

Please choose an option [1] : 1

----------------------------------------------------------------------------
Welcome to the Alfresco Community Setup Wizard.
----------------------------------------------------------------------------

3.5 Installation Type
[1] Easy - Installs servers with the default configuration
[2] Advanced - Configures server ports and service properties.: Also choose optional components to install.

Please choose an option [1] : 2
----------------------------------------------------------------------------

Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.
Java [Y/n] :Y
PostgreSQL [Y/n] :n
Alfresco : Y (Cannot be edited)
SharePoint [Y/n] :Y
Web Quick Start [y/N] : N
OpenOffice [Y/n] :Y
Is the selection above correct? [Y/n]: Y

----------------------------------------------------------------------------
Installation folder
Please choose a folder to install Alfresco Community
Select a folder [/opt/alfresco-4.0.e]: /opt/alfresco
----------------------------------------------------------------------------

Database Configuration //-----> enter=pass
JDBC URL: [jdbc:postgresql://localhost/alfresco]:
JDBC Driver: [org.postgresql.Driver]:
Database name: [alfresco]: alfresco
Username: []: alfresco
Password: :123abc
Verify: : 123abc
----------------------------------------------------------------------------

Tomcat Port Configuration //-----> enter=pass
Please enter the Tomcat configuration parameters you wish to use.
Web Server domain: [127.0.0.1]:10.1.10.201
Tomcat Server Port: [8080]:
Tomcat Shutdown Port: [8005]:
Tomcat SSL Port [8443]:
Tomcat AJP Port: [8009]:
----------------------------------------------------------------------------

Alfresco FTP Port //-----> enter=pass
Please choose a port number to use for the integrated Alfresco FTP server.
Port: [21]:
----------------------------------------------------------------------------

Alfresco RMI Port //-----> enter=pass
Please choose a port number for Alfresco to use to execute remote commands.
Port: [50500]:
----------------------------------------------------------------------------

Admin Password
Please give a password to use for the Alfresco administrator account.
Admin Password: : 123abc
Repeat Password: : 123abc
----------------------------------------------------------------------------

Alfresco SharePoint Port
Please choose a port number for the SharePoint protocol.
Port: [7070]:
----------------------------------------------------------------------------

Install as a service
You can optionally register Alfresco Community as a service. This way it will
automatically be started every time the machine is started.
Install Alfresco Community as a service? [Y/n]: Y
----------------------------------------------------------------------------

OpenOffice Server Port
Please enter the port that the Openoffice Server will listen to by default.
OpenOffice Server port [8100]:
----------------------------------------------------------------------------

Setup is now ready to begin installing Alfresco Community on your computer.
Do you want to continue? [Y/n]: Y
----------------------------------------------------------------------------

Please wait while Setup installs Alfresco Community on your computer.
Installing
0% ______________ 50% ______________ 100%

########################################

N.B.
Make sure you copy the postgresql-9.2-1000.jdbc4.jar file we downloaded earlier to /opt/alfresco/tomcat/lib during Alfresco installation:
# cp postgresql-9.2-1000.jdbc4.jar /opt/alfresco/tomcat/lib/
Now, back to the installation.
Setup has finished installing Alfresco Community on your computer.
View Readme File [Y/n]: Y
Launch Alfresco Community Share [Y/n]: Y
README
Alfresco Community 4.0

======================

For Enterprise subscribers, refer to http://support.alfresco.com for release
notes and detailed information on this release.
For Community members, refer to the Alfresco wiki for more information on this
release.
Press [Enter] to continue :Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:        /opt/alfresco/java
Using CLASSPATH:       /opt/alfresco/tomcat/bin/bootstrap.jar
/opt/alfresco/tomcat/scripts/ctl.sh : tomcat started
 
Watch tomcat catalina.out logs right after starting Alfresco.
# tail -f /opt/alfresco/tomcat/logs/catalina.out
You will see the database getting populated.
Once done, login to http://localhost:8080/share using admin user and the password that you supplied during installation


TEST
http://10.1.10.201:8080/share/


LOGIN CANNOT
#/opt/alfresco/alfresco.sh stop
#/opt/alfresco/alfresco.sh start

ไม่มีความคิดเห็น:

แสดงความคิดเห็น