Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

MongoDB replication set settings Replication Sets

MongoDB replication set settings Replication Sets

Master-Slave Master-slave replication: -master only need to add a parameter when a service starts, while another service plus -slave and -source parameters, you can achieve synchronization.

The latest version of MongoDB is no longer recommended for this program.

Replica Sets replication set: MongoDB version 1.6 for developers of new […]

rsync command

Occasionally, rsync is too slow when transferring a very large number of files. This article discusses a workaround. Recently I had to copy about 10 TByte of data from one server to another. Normally I would use rsync and just let it run for whatever time it takes, but for this particular system I could […]

[CentOS 7.0] Configure Services

[CentOS 7.0] Configure Services [1] Configure Services of the System.

# list services which are booted (list all includes inactive one with “–all” option)

[root@dlp ~]#systemctl -t service

UNIT                                    LOAD   ACTIVE SUB     DESCRIPTION auditd.service                      loaded active running Security Auditing Service avahi-daemon.service         loaded active running Avahi mDNS/DNS-SD Stack crond.service                       loaded active running Command Scheduler dbus.service                        loaded […]

activate windows 10

http://www.zdnet.com/article/going-pro-how-to-upgrade-windows-10-home-without-hassles/ C:\Windows\system32>slmgr.vbs /dti C:\Windows\system32>slmgr.vbs /ato C:\Windows\system32>

CentOS 7 used rpm install MySQL 5.7

$  wget http://repo.mysql.com/mysql57-community-release-el7-7.noarch.rpm

$ rpm -ivh mysql57-community-release-el7-7.noarch.rpm

[root@cluster1 ~]# rpm -ivh mysql57-community-release-el7-7.noarch.rpm warning: mysql57-community-release-el7-7.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY Preparing…                ########################################### [100%] 1:mysql57-community-relea########################################### [100%]

$  yum install mysql-server

So far, mysql57 has been successfully installed. Now try to log on to use the root mysql, an error ERROR 1045 (28000): Access denied […]

weblogic script

#!/bin/sh if [ -z “$1” ]; then echo “You must supply either start or stop command while calling this script! correct usage: weblogic_start_stop.sh start|stop” exit fi bold=`tput bold` normal=`tput sgr0` case “$1” in         ‘start’)         echo “Starting Management Node & Weblogic Server 10.3.6” echo “Starting NodeManager” nohup $WLS_HOME/server/bin/startNodeManager.sh > /dev/null 2>&1 & sleep 10 output=`ps […]

WORDPRESS VS JOOMLA VS DRUPAL + CMS “COMPARISON CHART”

WordPress, Joomla and Drupal have established themselves as the leaders for online content management systems.

To be honest, they are all incredible systems, and can make creating a website quick and easy, no matter how little one knows about computers and technology. Even, better – they are all open-source with means they are all FREE […]

Changing the weblogic server admin console timeouts.

The console application can be find at the below location $WEBLOGIC_HOME\server\lib\consoleapp

Change the directory location to $WEBLOGIC_HOME/server/lib/consoleapp/webapp/WEB-INF and open the weblogic.xml in a text editor.

Look for a session param tag with the name as “invalidation-interval-secs” and “timeout-secs”

Default Values

<session-descriptor>  <timeout-secs>3600</timeout-secs> <invalidation-interval-secs>60</invalidation-interval-secs> <cookie-name>ADMINCONSOLESESSION</cookie-name> <cookie-max-age-secs>-1</cookie-max-age-secs> <url-rewriting-enabled>false</url-rewriting-enabled> </session-descriptor>

Change the value for “invalidation-interval-secs” and “timeout-secs” as […]

THE best oil for natural hair

 

 

THE best oil for natural hair. A mega summary! – For Long, Healthy Natural Kinky and Curly Hair – Your Dry Hair Days Are Over!//

(function() { var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’; var s = […]

awk built-in variables

Properties Description $0 The current record (as a single variable) $1~$n N-th field of the current record, separated by FS between fields FS Enter the default field separator is a space NF The number of fields in the current record is the number of columns NO The number of records have been read out, […]

Page 1 of 3123