rev.dennis Posted December 23, 2014 Share Posted December 23, 2014 Drupal is an excellent CMS used on millions of websites but it has always lacked a decent Document Management module. This is where Alfresco comes in which is an excellent Document Management Repository but lacks any luster of a website. These two together would prove to be a great pair / team. Here are some sites that talk about methods to integrate the two of these together. CMIS Liferay (still uses CMIS but some great information) Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted December 23, 2014 Share Posted December 23, 2014 Instructions Download CMIS from Drupal On your Drupal site, click Admin - Modules and Click on Install New Module Click on Browse and locate the CMIS file you downloaded in step 1 Once installed, click on enable newly installed module and place a checkmark in every option and then click Save Configuration You have to configure the module "CMIS Browser" with: Set Root location for CMIS Browser (Root Directory / Root folder for CMIS nodes) Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted December 23, 2014 Share Posted December 23, 2014 First I installed CentOS 7 minimal (static set ip during installation) logged in as root configured proxy in /etc/profile by adding the following at the bottom then running source /etc/profileMY_PROXY_URL="http://proxy.hosangit.com:8080/" HTTP_PROXY=$MY_PROXY_URL HTTPS_PROXY=$MY_PROXY_URL FTP_PROXY=$MY_PROXY_URL http_proxy=$MY_PROXY_URL https_proxy=$MY_PROXY_URL ftp_proxy=$MY_PROXY_URL export HTTP_PROXY HTTPS_PROXY FTP_PROXY http_proxy https_proxy ftp_proxy tested yum by updating the new installation with yum update (yum -y update) Two methods of a minimal Desktop installation OPTION1 yum -y groupinstall "X Window System" yum -y install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts unlink /etc/systemd/system/default.target ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target reboot OPTION2 yum groupinstall "GNOME Desktop" "Graphical Administration Tools" yum groupinstall "Server with GUI" ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target reboot Since I'm running on a VMWare instance, I need a few things as prereq yum -y install gcc kernel-devel perl tcpdump net-tools Now mount the VMWare tools image and at your console while logged into root run: mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom cd /tmp tar -xvf /mnt/cdrom/VMWare...tar.gz cd vmware-tools-distrib chmod +x vmware-install.pl ./vmware-install.pl Accept all the default settings (since the minimal installation doesn't have X windows installed, I suggest leaving the setting as no for drag and drop, shared folders, etc. that are only available for x-window systems like Gnome or KDE)Note: start VMware Tools by invoking: /usr/bin/vmware-toolbox-cmd upload alfresco....bin file to /tmp yum -y install mariadb-server mariadb Create the startup links systemctl start mariadb.service systemctl enable mariadb.service Set password for mysqldb root (i just accept all the defaults by pressing enter except I do enter a password when prompted)mysql_secure_installation Install Apacheyum -y install httpd Create the startup links for Apache so it will start when the server does systemctl start httpd.service systemctl enable httpd.service Edit your built-in firewall to allow traffic firewall-cmd --permanent --zone=public --add-service=http firewall-cmd --permanent --zone=public --add-service=https firewall-cmd --reload Test by opening a browser and going to your ip address http://192.168.1.10 Install PHP yum -y install php vi /etc/php.ini memory_limit = 256M post_max_size = 128M upload_max_filesize = 256M max_execution_time = 60 upload_tmp_dir = /var/www/html/tmp systemctl restart httpd.service Test PHP by creating info.php (vi /var/www/html/info.php) <?php phpinfo(); ?> Open a Browser http://192.168.1.10/info.php Get MySQL support in php (yum search php <-- shows you all the supported modules) yum -y install php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap libssh2 libssh2-devel make php-devel curl curl-devel systemctl restart httpd.service Let's install phpMyAdmin yum -y install epel-release yum -y install phpMyAdmin Configure phpMyAdmin (vi /etc/httpd/conf.d/phpMyAdmin.conf) Replace: Require ip 127.0.0.1 Require ip ::1 # Require ip 127.0.0.1 # Require ip ::1 Require all granted systemctl restart httpd.service Open a Browser http://192.168.1.10/phpmyadmin Done with the building the backend... now to load the CMS and then Alfresco Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted December 23, 2014 Share Posted December 23, 2014 Install Drupal Instructions (on CentOS 7 minimal install after doing the above install) Create drupal database mysql -u root -p MariaDB > CREATE DATABASE drupaldb; MariaDB > CREATE USER drupaluser@localhost IDENTIFIED BY 'drupalpassword'; MariaDB > GRANT ALL PRIVILEGES ON drupaldb.* TO drupaluser@localhost; MariaDB > FLUSH PRIVILEGES; MariaDB > EXIT vi my.cnf max_allowed_packet=32M systemctl restart httpd.service systemctl restart mariadb.service Installation of Open Atrium 2 cd /tmp yum -y install wget unzip wget http://ftp.drupal.org/files/projects/openatrium-7.x-2.26-core.tar.gz cd /var/www/html tar -zxvf /tmp/openatrium-7.x-2.26-core.tar.gz mv openatrium-7.x-2.26/ oa2/ cd /var/www/html/oa2/sites/default/ cp -p default.settings.php settings.php cd /var/www/html/oa2 chmod a+w sites/default/settings.php chmod a+w sites/default chcon -R -t httpd_sys_content_rw_t /var/www/html/oa2/sites/ chown -R apache:apache /var/www/html/oa2 vi /etc/selinux/config (changed to disabled which fixed Forbidden You don't have permission error when accessing site) open browser http://192.168.1.10/oa2 Note: I always pick Standard Installation After installation chmod 644 sites/default/settings.phpchmod 755 sites/default Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted December 23, 2014 Share Posted December 23, 2014 Install Alfresco First I figured out you need to have a local browser to configure Alfresco so I install a minimal desktop on my server (not a fan of this but its needed). You could first try the text based browser Lynx but not sure this will work. yum -y install lynx (configure lynx proxy here /etc/lynx.cfg) yum -y groupinstall "X Window System" yum -y install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts unlink /etc/systemd/system/default.target ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target reboot Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted December 23, 2014 Share Posted December 23, 2014 If you mess up the install, its not the end of the world. What I do is delete and start fresh until I have a clean installation with no errors When I had to reinstall open atrium I simply $ rm -rf /var/www/html/oa2 Then I went into phpmyadmin (http://192.168.1.10/phpmyadmin) and selected all tables in drupaldb and dropped them until I had an empty database again. Started over with uploading the .tar.gz of oa2 Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted January 7, 2015 Share Posted January 7, 2015 Had to install firefox so I had a browser in the GUI (yum -y install firefox) Now off to installing alfresco PreReq's yum -y install fontconfig libSM libICE libXrender libXext hostname alfresco.hosangit.com ping alfresco.hosangit.com (verify it comes back with 127.0.0.1) vi /etc/hosts127.0.0.1 localhost localhost.localdomain alfresco.hosangit.com vi /etc/sysconfig/networkHOSTNAME=alfresco.hosangit.com Install cd /tmp wget https://process.alfresco.com/ccdl/?file=release/community/5.0.c-build-00145/alfresco-community-5.0.c-installer-linux-x64.bin chmod +x alfresco-community-5.0.c-installer-linux-x64.bin ./alfresco-community-5.0.c-installer-linux-x64.bin --mode text firewall-cmd --zone=public --add-port=8080/tcp --permanentfirewall-cmd --zone=public --add-port=8005/tcp --permanentfirewall-cmd --zone=public --add-port=8443/tcp --permanentfirewall-cmd --zone=public --add-port=8009/tcp --permanentfirewall-cmd --reload yoursite.com:8080/share admin and password you entered during setup Troubleshoot Services service alfresco stop # To stop Alfrescoservice alfresco start # To start Alfrescoservice alfresco restart # To restart Alfresco Cleaner URL (instead of using 8080) if you have Apache (httpd) loaded just edit httpd.conf (vi /etc/httpd/conf/httpd.conf) and add the following lines to the end ProxyPass /share http://localhost:8080/shareProxyPassReverse /share http://localhost:8080/shareProxyPass /alfresco http://localhost:8080/alfrescoProxyPassReverse /alfresco http://localhost:8080/alfresco Add the following to /var/www/html/oa2/sites/default/settings.php $conf['cmis_repositories'] = array( 'default' => array( 'user' => 'admin', 'password' => 'testlab', 'url' => 'http://yoursite.com:8080/alfresco/cmisatom' )); Module CMIS VIews (leave "Set Root location for CMIS Broswer" blank) http://yoursite.com/cmis/browser(tests that the cmis browser is working) http://yoursite.com/cmis/query(another test) Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted January 8, 2015 Share Posted January 8, 2015 Rough steps: Install Atrium Install the CMIS and Alfresco CMIS modules like you would a normal Drupal module Expand the attached tar ball in sites/all/modules/features Replace theme.css with the attached in sites/all/themes/ginkgo Replace sprite_icons.png with the attached in sites/all/themes/ginkgo/images Set the CMIS settings. In your browser go to: atrium.localhost/admin/settings/cmis and specify Alfresco In your browser go to: atrium.localhost/admin/settings/cmis/alfresco and set your repository URL and credentials Quote Link to comment Share on other sites More sharing options...
Guest dennis Posted January 15, 2015 Share Posted January 15, 2015 Error sharing folders in VMware Workstation 10 with CentOS 7 during install of vmware tools I get the following error In file included from /tmp/modconfig-pM2CXU/vmhgfs-only/inode.c:36:0:/tmp/modconfig-pM2CXU/vmhgfs-only/inode.c: In function ‘HgfsPermission’:/tmp/modconfig-pM2CXU/vmhgfs-only/./shared/compat_dcache.h:57:38: error: ‘struct dentry’ has no member named ‘d_count’ #define compat_d_count(dentry) dentry->d_count ^/tmp/modconfig-pM2CXU/vmhgfs-only/inode.c:1904:23: note: in expansion of macro ‘compat_d_count’ int dcount = compat_d_count(dentry); ^make: *** Error 1make: *** Waiting for unfinished jobs....make: *** Error 2make: Leaving directory `/usr/src/kernels/3.10.0-123.13.2.el7.x86_64'make: *** Error 2make: Leaving directory `/tmp/modconfig-pM2CXU/vmhgfs-only'The filesystem driver (vmhgfs module) is used only for the shared folderfeature. The rest of the software provided by VMware Tools is designed to workindependently of this feature.If you wish to have the shared folders feature, you can install the driver byrunning vmware-config-tools.pl again after making sure that gcc, binutils, makeand the kernel sources for your running kernel are installed on your machine.These packages are available on your distribution's installation CD. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.