cd /usr/local/alfresco
./alfresco.sh stop
mv alf_data /DATA
vi /usr/local/alfresco/tomcat/shared/classes/alfresco/extension/custom-repository.properties
change
dir.root=/DATA/alf_data
cd /usr/local/alfresco
./alfresco.sh start
cd /usr/local/alfresco
./alfresco.sh stop
mv alf_data /DATA
vi /usr/local/alfresco/tomcat/shared/classes/alfresco/extension/custom-repository.properties
change
dir.root=/DATA/alf_data
cd /usr/local/alfresco
./alfresco.sh start
1. on the server – Create a mount point
mkdir /mnt/shared
2. on the server – edit /etc/exports
/mnt/shared 192.168.100.20(rw,anonuid=12345,anongid=12345)
exportfs -a
3. on the client – edit /etc/fstab
192.168.100.20:/volume1/shared /mnt/shared nfs rsize=8192,wsize=8192,soft,intr 0 0
The extra rsize and wsize parameter would improve r/w performance
4. on the client –
mount /mnt/shared
To enable ESXi to capture performance data up to 36 hours, simple access to the console and change the following file.
Edit /etc/vmware/hostd/config.xml
< historicalStatsEnabled> true < /historicalStatsEnabled>
services.sh restart
Found a nice article on how to integrate mod_geoip in PHP.
http://blackonsole.blogspot.com/2009/02/install-and-configure-geoip-on-opensuse.html
wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.5.tar.gz
wget http://geolite.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_1.2.5.tar.gz
apxs2 -i -a -L/usr/local/lib -I/usr/local/include -lGeoIP -c mod_geoip.c
IfModule mod_geoip.cGeoIPEnable On
GeoIPDBFile /usr/local/share/GeoIP/GeoIP.datIfModule
$country_code = apache_note("GEOIP_COUNTRY_CODE");
print "Code : " . $country_code . "
";
$country_name = apache_note("GEOIP_COUNTRY_NAME");
print "Country: " . $country_name . "
";
yum update
yum install sysstat
chkconfig --level 123456 bluetooth off
chkconfig --level 123456 avahi-daemon off
chkconfig --level 123456 cups off
chkconfig --level 123456 iptables off
chkconfig --level 123456 ip6tables off
chkconfig --level 123456 pcscd off
chkconfig --level 0123456 yum-updatesd off
chkconfig --level 0123456 smartd off
chkconfig --level 0123456 hidd off
chkconfig --level 0123456 gpm off
chkconfig --level 0123456 apmd off
chkconfig --level 345 ntpd on
chkconfig --level 345 ntpdate on
vi /etc/ntp.conf
vi /etc/sysconfig/selinux
vi /etc/sysconfig/network-scripts/ifcfg-eth0
By Default installation, remote connection is disabled.
If you have an issue to connect the MSSQL Management Studio to a remote MSSQL Server, you will need to change the following configration on the SQL Server Surface Area Configuration.
Enable remote named pipe or tcp: All programs | Microsoft SQL Server 2005| Configuration Tools | SQL Server Surface Area Configuration | Configuration for Services and Connections | Remote Connections, choose either enable TCP or Named Pipe or both.
yum install kernel-devel
First – you will need to check the clock speed of the machine.
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
1833000
then under VMWare Config – update the following parameters.
/etc/vmware/config
host.cpukHz = 1830000
host.noTSC = TRUE
ptsc.noTSC = TRUE
If you have 4 GB or more RAM use the Linux kernel compiled for PAE capable machines. Your machine may not show up total 4GB ram. All you have to do is install PAE kernel package.
This package includes a version of the Linux kernel with support for up to 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
The non-PAE kernel can only address up to 4GB of memory. Install the kernel-PAE package if your machine has more than 4GB of memory (>=4GB).
To install PAE Kernel.
yum install kernel-PAE
http://wiki.alfresco.com/wiki/Audit_Configuration
Alfresco Audit is note turn on by default.
Create custom-audit-services-context.xml in the extension directory
<?xml version=’1.0′ encoding=’UTF-8′?>
<!DOCTYPE beans PUBLIC ‘-//SPRING//DTD BEAN//EN’ ‘http://www.springframework.org/dtd/spring-beans.dtd’><beans>
<!– The configuration of the audit model –><bean id=”auditConfiguration” class=”org.alfresco.repo.audit.AuditConfigurationImpl”>
<property name=”config”>
<value>alfresco/extension/auditConfig.xml</value>
</property>
</bean>
</beans>
Create auditConfig.xml in the extension directory
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<!– Default Audit Configuration –>
<Audit xmlns=”http://www.alfresco.org/model/audit/1.0” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” enabled=”true” auditInternal=”false” mode=”all”><Service name=”ContentService” mode=”none”>
<Method name=”getWriter” mode=”all”/>
<Method name=”transform” mode=”all”/>
<Method name=”getReader” mode=”all”/>
</Service>
<Service name=”FileFolderService” mode=”none”>
<Method name=”rename” mode=”all”/>
<Method name=”move” mode=”all”/>
<Method name=”copy” mode=”all” auditInternal=”true”/>
<Method name=”create” mode=”all”/>
<Method name=”delete” mode=”all”/>
<Method name=”makeFolders” mode=”all”/>
<Method name=”getWriter” mode=”all”/>
<Method name=”getReader” mode=”all”/>
</Service>
</Audit>
To view the Audit trail
View Details >> Custom Views >> Modify >> show_audit.ftl Template >> ok