1. Use below yum command:
sudo yum -y install openoffice.org*
2. Download rpm file from http://sourceforge.net/projects/openofficeorg.mirror/files/4.0.1/binaries/en-US/Apache_OpenOffice_4.0.1_Linux_x86-64_install-rpm_en-US.tar.gz/download
and follow the instructions mentioned @ http://www.openoffice.org/download/common/instructions.html#linux-rpm
Another download link http://www.openoffice.org/download/other.html with language specific installers.
Feb 20, 2014
Feb 17, 2014
How to override:- Some settings are managed by your administrator
Configure Automatic Updates by using local Group Policy
1. Click Start, and then click Run.2. Type gpedit.msc, and then click OK.
3. Expand Computer Configuration.
4. Right-click Administrative Templates, and then click Add/Remove Templates.
5. Click Add, click Wuau.adm in the Windows\Inf folder, and then click Open.
6. Click Close.
7. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then expand Windows Update.
The Configure Automatic Updates policy appears. This policy specifies whether the computer receives security updates and other important downloads through the Windows Automatic Updates feature. By using the settings for this policy, you can specify whether automatic updates are enabled on the computer. If the service is enabled, you must select one of the three configuration options.
8. To view the policy settings, double-click the Configure Automatic Updates policy.
9. To turn on Automatic Updates, click Enabled in the list of options that appear at the top of the Setting tab.
If you click Enabled, you must select one of the configuration options that is described in step 10.
10. Select one of the following options:
2 - Notify for download and notify for install
When updates are available, an icon appears in the notification area and you receive a message that states that the updates are ready to be downloaded. Click the icon or the message to view and select the updates that you want to download. Windows downloads the updates in the background. When the download is complete, an icon appears in the notification area and you receive a message that states that the updates are ready to be installed. You can click the icon or the message to select the updates that you want to install.
3 - Auto download and notify for install
Note This is the default setting.
When updates are available, Windows downloads the updates in the background. The user is not notified or interrupted during this process. When the download is complete, an icon appears in the notification area and you receive a message that states that the updates are ready to be installed. You can click the icon or the message to view and select the updates that you want to install.
4 - Auto download and schedule the install
To specify the schedule, select the appropriate options in the Group Policy Settings dialog box. If you do not specify a schedule, updates are installed daily at 3:00 A.M by default. Windows restarts the computer automatically if it is necessary. If someone is using the computer when Windows is ready to restart it, a notification appears that states that Windows needs to restart the computer. The user can choose to restart the computer later.
If you select 4 - Auto download and schedule the install, you can set a recurring schedule. If you do not set a schedule, all updates are downloaded and installed every day at 3:00 A.M.
Other Options
Additionally, you can select the Disabled option or the Not Configured option. If you select Disabled, an administrator must download and install any available updates manually from the Microsoft Windows Update website.
If you select Not Configured, the status of Automatic Updates is not specified at the Group Policy level. The status is either "enabled" or "not enabled." However, an administrator can still configure Automatic Updates by using Control Panel. Control Panel includes the same settings that are available in Group Policy.
Note An updated Administrative Template (.adm file) is now available for use with the Automatic Updates feature in Windows Server 2003 and the Software Update Services (SUS) Service Pack 1 (SP1) client. This updated policy file adds two new policies:
- Reschedule Automatic Updates scheduled installations
This policy specifies the time period that Automatic Updates must wait after the computer starts, before it continues with a scheduled installation that was missed previously.
- No auto-restart for scheduled Automatic Updates installations
This policy specifies that Automatic Updates will complete a scheduled installation when any user who is logged on restarts the computer. If this policy is not used, the computer restarts automatically.
Source : http://support.microsoft.com/kb/328010
Oct 23, 2013
Linux pipe sample usages
1. Linux Command to search for specific files and modify the file permissions.
find . -name "*.?ar" -print | xargs chmod 777
2. Linux Command to search for specific files and list out the all file details (eg. file permissions)
find . -name "*.?ar" -print | xargs ls -l
Jul 29, 2013
How to remove the password expiry for DB users in Oracle DB.
DDLs to unlock the db user
ALTER USER sys IDENTIFIED BY new_password account unlock;
ALTER USER dbsnmp IDENTIFIED BY new_password account unlock;
ALTER USER sysman IDENTIFIED BY new_password account unlock;
ALTER USER system IDENTIFIED BY new_password account unlock;
DDL to remove users password expiry.
ALTER PROFILE DEFAULT LIMIT password_life_time UNLIMITED;
Statement to verify the User account status and expiry date.
SELECT username,ACCOUNT_STATUS,EXPIRY_DATE FROM dba_users;
ALTER USER sys IDENTIFIED BY new_password account unlock;
ALTER USER dbsnmp IDENTIFIED BY new_password account unlock;
ALTER USER sysman IDENTIFIED BY new_password account unlock;
ALTER USER system IDENTIFIED BY new_password account unlock;
DDL to remove users password expiry.
ALTER PROFILE DEFAULT LIMIT password_life_time UNLIMITED;
Statement to verify the User account status and expiry date.
SELECT username,ACCOUNT_STATUS,EXPIRY_DATE FROM dba_users;
Jul 11, 2013
Enabling Weblogic Server for debug
After the line ${JAVA_HOME}/bin/java ${JAVA_VM} –version, add the following two lines in $DOMAIN_HOME/bin/startWeblogic.sh
echo "Launching Java with debug port: 11171"
export JAVA_OPTIONS="-Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=11171,suspend=n $JAVA_OPTIONS" (for Linux)
set JAVA_OPTIONS=-Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=11171,suspend=n %JAVA_OPTIONS% (for Windows)
set JAVA_OPTIONS=-Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=11171,suspend=n %JAVA_OPTIONS% (for Windows)
Note: The debug port 11171 specified should be available.
Jun 17, 2013
java.lang.UnsupportedClassVersionError: com/sun/javadoc/Type : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: com/sun/javadoc/Type : Unsupported major.minor version 51.0 - This exception will occur when you mess up with different java versions in ant build script.
eg: If Java 7 set in Windows / Linux environment variables (JAVA_HOME & PATH) but trying to build the project in eclipse which is configured to Java 6.
Resolutions:
1. Update environment variables to set Java 6
or
2. Add Java 7 to Eclipse's Installed JREs and select it.
eg: If Java 7 set in Windows / Linux environment variables (JAVA_HOME & PATH) but trying to build the project in eclipse which is configured to Java 6.
Resolutions:
1. Update environment variables to set Java 6
or
2. Add Java 7 to Eclipse's Installed JREs and select it.
May 30, 2013
ADF UI Performance Guidelines
- Remove unnecessary/unused bindings from PageDefs.
- Remove unnecessary fields
from <
>.xml. - Identify and eliminate unnecessary SQLs.
- Use short component Ids (less than 6 chars).
- Cache Backing bean getters – Do not evaluate Els often.
- Use Conditional Activation for Taskflows.
- Always call manager APIs and Finders with in a transaction.
- Use the "immediate" attribute.
These are some cases where setting
immediate to TRUE can lead to better performance.
·
The
commandNavigationItem in the navigationPane can use the immediate
attribute set to TRUE to avoid processing the data from the current screen
while navigating to the new page.
·
If
the input component value has to be validated before the other values, immediate should be set to TRUE.
In case of an error it be detected earlier in the cycle and additional
processing be avoided.
- Use the "visible" and "rendered" attributes.
·
For
better performance, consider setting the component to not rendered instead of
not visible, assuming there is no client interaction with the component. Making
a component not rendered can improve server performance and client response
time since the component does not have client side representation.
Performance
Considerations for Table and Tree Components
- Modify table fetch size
·
Tables
have a fetch size which defines the number of rows to be sent to the client in
one round-trip. To get the best performance, keep this number low while still
allowing enough rows to fulfill the initial table view port. This ensures the
best performance while eliminating extra server requests.
- Disable column stretching
·
Columns
in the table and treeTable components can be stretched so that there is no
unused space between the end of the last column and the edge of the table or
treeTable component. This feature is turned off by default due to potential
performance impacts. Turning this feature on may have a performance impact on
the client rendering time, so use caution when enabling this feature with
complex tables.
Performance
Considerations for autoSuggest
·
autoSuggest
is a feature that can be enabled for inputText, inputListOfValues, and
inputComboboxListOfValues components. When the user types characters in the
input field, the component displays a list of suggested items.
·
This feature performs a query in the database
table to filter the results. In order to speed up database processing, a
database index should be created on the column for which autosuggest is
enabled. This improves the component's response times especially when the database
table has a large number of rows.
Data Delivery -
Lazy versus Immediate
·
Lazy delivery should be used on pages where
content is not immediately visible unless the user scrolls down to it. In this
case the time to deliver the visible context to the client be shorter, and the
user perceives better performance.
·
Immediate delivery
(contentDelivery="immediate") should be used if table data control is
fast, or if it returns a small set of data. In these cases the response time be
faster than using lazy delivery.
Settings for
web.xml
<context-param>
<param-name> org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS
<param-value> 3
</context-param>
<param-name>jsp_timeout
<param-value>600
</init-param>
<init-param>
<param-name>debug_mode
<param-value>false
</init-param>
<init-param>
<param-name>load_description_from_tlds
<param-value>false
</init-param>
<load-on-startup>1
Subscribe to:
Posts (Atom)
