November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

How to disable Cloud-Init in a RHEL Cloud Image

So this one is pretty simple. However, I found a lot of misinformation along the way, so I figured that I would jot the proper (and most simple) process here.

Symptoms: a RHEL (or variant) VM that takes a very long time to boot. On the VM console, you can see the following output […]

disable directory browsing apache2.4

<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>

to

<Directory /var/www/> Options FollowSymLinks AllowOverride None Require all granted </Directory>

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 […]