Sidehistorik
...
Kodeblok |
---|
sudo apt-get install mysql-server ImageMagick GhostScript smbclient libjpeg62 libgif4 sudo add-apt-repository ppa:jon-severinsson/ffmpegsmbclient sudo apt-get install libsm6 libxt6 libxrender1 libfontconfig1 libcups2 libxinerama1 libglu1-mesa sudo apt-get update sudo apt-get install ffmpeg sudo apt-get installinstall imagemagick ghostscript libjpeg62 ffmpeg libgif-dev libice6 libart-2.0-2 wget http://archive.canonical.com/ubuntu/pool/partner/s/swftools/swftools_0.9.0-0ubuntu2_amd64.deb chmod a+x swftools_0.9.0-0ubuntu2_amd64.deb sudo dpkg -i swftools_0.9.0-0ubuntu2_amd64.deb sudo rm swftools_0.9.0-0ubuntu2_amd64.deb |
LibreOffice
swftools |
LibreOffice
Kodeblok |
---|
sudo apt-get install libreoffice
sudo apt-get install ttf-mscorefonts-installer fonts- |
Kodeblok |
sudo apt-get install libreoffice
sudo apt-get install ttf-mscorefonts-installer fonts-droid |
SMTP Access for sending mail
...
Kodeblok |
---|
mysql> CREATE DATABASE alfresco CHARACTER SET utf8 COLLATE utf8_bin; Query OK, 1 row affected (0.00 sec) mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on ALL on alfresco .* to alfresco@localhost identified by '******'; Query OK, 0 rows affected (0.00 sec) mysql> |
...
MySQL Driver is at http://dev.mysql.com/downloads/connector/j/
Kodeblok |
---|
chmod +x alfresco-community-5.0.c-installer-linux-x64.bin .root@alf01:~# ./alfresco-community-5.0.c-installerinstaller-201605-linux-x64.bin Language Selection Please selectSome or all of 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 [8] Russian - ??????? [9] Simplified Chinese - ???? [10] Norwegian - Norsk bokmål [11] Brazilian Portuguese - Português Brasileiro Please choose an option [1] : 1 -------------libraries needed to support LibreOffice were not found on your system: fontconfig libSM libICE libXrender libXextlibcups libGLU You are strongly advised to stop this installation and install the libraries. For more information, see the LibreOffice documentation at http://docs.alfresco.com Do you want to continue with the installation? [y/N]: y 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 [8] Russian - ??????? [9] Simplified Chinese - ???? [10] Norwegian - Norsk bokmål [11] Brazilian Portuguese - Português Brasileiro Please choose an option [1] : ---------------------------------------------------------------------------- Welcome to the Alfresco Community Setup Wizard. ---------------------------------------------------------------------------- Installation Type [1] Easy - InstallsInstall servers withusing the default configuration. [2] Advanced - ConfiguresConfigure server ports and service properties.: Also chooseChoose 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] : PostgreSQL [Y/n] :n Alfresco : Y (Cannot be edited) Solr1 [y/N] : Solr4 [Y/n] : SharePoint [Y/n] : Web Quick Start [y/N] : Google Docs Integration [Y/n] : LibreOffice [Y/n] : Is the selection above correct? [Y/n]: ---------------------------------------------------------------------------- Installation Folder Please choose a folder to install Alfresco Community Select a folder [/opt/alfresco-5.0.c]: /opt/alfresco ---------------------------------------------------------------------------- Database Configuration JDBC URL: [jdbc:postgresql://localhost/alfresco]: jdbc:mysql://localhost/alfresco JDBC Driver: [org.postgresql.Driver]: com.mysql.jdbc.Driver Database name: [alfresco]: Username: []: alfresco Password: : Verify: : :n LibreOffice [Y/n] : Alfresco Community : Y (Cannot be edited) Solr1 [y/N] : Solr4 [Y/n] : Alfresco Office Services [Y/n] : Web Quick Start [y/N] : Google Docs Integration [Y/n] : Is the selection above correct? [Y/n]: ---------------------------------------------------------------------------- TomcatInstallation Port Configuration Please enter the Tomcat configuration parameters you wish to use. Web Server domain: [127.0.0.1]: Tomcat Server Port: [8080]: Tomcat Shutdown Port: [8005]: Tomcat SSL Port [8443]: Tomcat AJP Port: [8009]: Folder Choose a folder to install Alfresco Community. Select a folder: [/opt/alfresco-community]: /pack/alfresco-201605 ---------------------------------------------------------------------------- Alfresco FTP Port Please choose a port number to use for the integrated Alfresco FTP server. Port: [21]---- Database Configuration JDBC URL: [jdbc:postgresql://localhost/alfresco]: jdbc:mysql://localhost/alfresco JDBC Driver: [org.postgresql.Driver]: com.mysql.jdbc.Driver Database name: [alfresco]: alfresco Username: []: alfresco Password: : Verify: : ---------------------------------------------------------------------------- Alfresco RMI Port Please choose a port number for Alfresco to use to execute remote commands. Port: [50500]: Tomcat Port Configuration Enter your Tomcat configuration parameters. Web Server Domain: [127.0.0.1]: Tomcat Server Port: [8080]: Tomcat Shutdown Port: [8005]: Tomcat SSL Port: [8443]: Tomcat AJP Port: [8009]: ---------------------------------------------------------------------------- Admin Password Please give a password to use for the Alfresco administrator account. Admin Password: : Repeat Password: :LibreOffice Server Port Enter the port that the LibreOffice Server will listen to. LibreOffice Server Port: [8100]: ---------------------------------------------------------------------------- Alfresco SharePointFTP Port Please chooseChoose a port number for the integrated Alfresco SharePointFTP protocolserver. Port: [707021]: ---------------------------------------------------------------------------- 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]: Admin Password Specify a password for the Alfresco administrator account. Admin Password: : Repeat Password: : ---------------------------------------------------------------------------- LibreOfficeInstall as Servera Port Please enter the port that the Libreoffice Server will listen to by default. LibreOffice Server Port [8100]:service If you register Alfresco Community as a service it will automatically start Alfresco Community on machine startup. Install Alfresco Community as a service? [Y/n]: ---------------------------------------------------------------------------- Warning! This environment is not configured optimally for Alfresco - please carefully review this list before continuing. While these issues willwon’t not prevent Alfresco from functioning, some product features might maynot be unavailableavailable, or the system maymight not perform optimally. Insufficient system RAM (4.0GB Not enough CPUs (cores) available (2+): 3.86GB1 Press [Enter] to continue: ---------------------------------------------------------------------------- Setup is now ready to begin installing Alfresco Community on your computer. Do you want to continue? [Y/n]: ---------------------------------------------------------------------------- Please wait while Setup installs Alfresco Community on your computer. Installing 0% ______________ 50% ______________ 100% Installing 0% ______________ 50% ______________ 100% ######################################### ---------------------------------------------------------------------------- Setup has finished installing Alfresco Community on your computer. View Readme File [Y/n]: n Launch Alfresco Community Share [Y/n]: n root@afserver:~# root@alf01 |
If You use MySQL, we need to copy in the driver (get it here) first to /opt/alfresco/tomcat/lib:
Kodeblok |
---|
sudo cp mysql-connector-java-5.1.3439-bin.jar /optpack/alfresco-201605/tomcat/lib/ |
Then start alfresco:
Kodeblok |
---|
sudo /etc/init.d/alfresco start 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/bin/tomcat-juli.jar Using CATALINA_PID: /opt/alfresco/tomcat/temp/catalina.pid Tomcat started. /opt/alfresco/tomcat/scripts/ctl.sh : tomcat started root@myserver:~# |
...