Starting postgreSQL in command line in CentOS
/opt/postgres/8.4/bin/postgres -D /opt/postgres/8.4/data
Starting postgreSQL in command line in CentOS
/opt/postgres/8.4/bin/postgres -D /opt/postgres/8.4/data
I was able to solve the issue
Following are the steps
While installing giving “nomodetest” option did not show the display, After few attempts I connected a monitor to the laptop and tried booting, in this case I was able to see the display,using the monitor display I finished the installation
then I did the following steps
edited the /etc/rc.local and before exit 0: added the line
“setpci -s 00:02.0 F4.B=00”
then edited “/etc/default/grub”
edit the line GRUB_CMDLINE_LINUX_DEFAULT:
GRUB_CMDLINE_LINUX_DEFAULT = “quiet splash acpi_osi = Linux”
Updated grub with:
sudo update-grub2
iptables -L -t nat
-L, –list [chain]
List all rules in the selected chain. If no chain is selected, all chains are listed. Like every other iptables command, it applies to the
specified table (filter is the default), so NAT rules get listed by
iptables -t nat -n -L
-t, –table table
This option specifies the packet matching table which the command should operate on.
cifs.enabled=true
cifs.Server.Name=dm_a
cifs.domain=AGG
cifs.hostanounce=true
cifs.broadcast=0.0.0.0
cifs.tcpipSMB.port=1445
cifs.ipv6.enabled=false
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
audit.enabled=true
audit.dod5015.enabled=true
cat alfresco_cifs.sh
echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe iptable_nat
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -A PREROUTING -p tcp –dport 445 -j REDIRECT –to-ports 1445
iptables -t nat -A PREROUTING -p tcp –dport 139 -j REDIRECT –to-ports 1139
iptables -t nat -A PREROUTING -p udp –dport 137 -j REDIRECT –to-ports 1137
iptables -t nat -A PREROUTING -p udp –dport 138 -j REDIRECT –to-ports 1138
Dmidecode reports information about your system’s hardware as described in your system BIOS according to the SMBIOS/DMI standard.
This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer.
This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).
Beware that DMI data have proven to be too unreliable to be blindly trusted. Dmidecode does not scan your hardware, it only reports what the BIOS told it to.
Mounting Alfresco as CIFS
//127.0.0.1/Alfresco /mnt/MyCIFS/destination cifs rw,suid,credentials=/etc/alfpasswd,domain=SAJI 0 0
cat /etc/alfpasswd
username=joseph
password=mypass
domain=SAJI
To grep recursive
grep -r -n ‘lfr-column’ *
find . | xargs grep lfr-column | more
Default theme CSS files and their purposes
application.css :-
application.css Contains default styling having to do with components of applications. This includes the tabs, expandable trees, dialog overlays, and the results grid (that is, search container). Much of the markup for these styles is created by Liferay’s tag libraries.
base.css :-
base.css Contains default styling for standard HTML tags, such as paragraphs, headings,tables, and more. This file also contains styling for some Liferay-specific page elements, such as errors, warnings, tooltips, the loading animation, and more.
dockbar.css :-
dockbar.css Contains default styling for the Dockbar, which floats at the top of the page when a user is logged in.
custom.css :-
custom.css A blank file that is loaded last. As a best practice, theme developers should put their custom styles here to override default styles provided by Liferay in the other theme CSS files.
forms.css :-
forms.css Contains default styling for all form elements.
layout.css :-
layout.css Contains default styling used by layout templates.
main.css :-
main.css Contains no styling, but imports the rest of the files.
navigation.css :-
navigation.css Contains default styling for the main navigation elements.
portlet.css :-
portlet.css Contains default styling for the portlet windows.
init_custom.vm :-
init_custom.vm Allows you to add custom Velocity variables.
init.vm :-
init.vm In conjunction with VelocityVariables.java in Liferay, sets many Velocity variables that correspond to Liferay Java objects.
navigation.vm :-
navigation.vm Implements the page navigation within the theme.
portal_normal.vm :-
portal_normal.vm The overall template for all pages the theme implements. This file includes the other files.
portal_pop_up.vm :-
portal_pop_up.vm The overall template for any portlets that use the Liferay pop-up custom window state.
portlet.vm :-
portlet.vm The template for portlet windows within the theme.