October 2017
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

October 2017
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

tc server run level RHEL7

ln -s /usr//tcServer/APP/bin/init.d.sh /etc/init.d/tc_APP /sbin/chkconfig –add tc_APP /sbin/chkconfig –level 2345 tc_APP on

#!/bin/sh # # ————————————————————————— # tc Runtime application server bootup script # # Copyright (c) 2009-2011 VMware, Inc. All rights reserved. # ————————————————————————— # chkconfig: 2345 80 20 # description: Start up the tc Runtime application server # version: 2.9.2.RELEASE # build […]

install wildfly 10 on centos 7

Introduction WildFly formerly known as JBoss web and application server is an open source high performance web application server written in Java.

It is specially designed for high throughput and is able to handle millions of connections. WildFly is a simple, flexible, lightweight, managed application runtime that can help you build amazing applications easily. WildFly’s […]

DDoS Protection With IPtables

DDoS Protection With IPtables

There are different ways of building your own anti-DDoS rules for iptables. We will be discussing the most effective iptables DDoS protection methods in this comprehensive tutorial. This guide will teach you how to: Select the best iptables table and chain to stop DDoS attacks Tweak your kernel settings to mitigate […]

wireshark cmd

wireshark cmd

ip.dst==192.168.6.58 ip.src==192.168.6.58

ip.dst==192.168.6.58 and http ip.dst==192.168.6.58 and ssl

up vote 20 down vote Filtering IP Address in Wireshark:

(1)single IP filtering:

ip.addr==X.X.X.X

ip.src==X.X.X.X

ip.dst==X.X.X.X

(2)Multiple IP filtering based on logical conditions:

OR condition:

(ip.src==192.168.2.25)||(ip.dst==192.168.2.25)

AND condition:

(ip.src==192.168.2.25) && (ip.dst==74.125.236.16)

The filtering capabilities of Wireshark are very comprehensive. You can filter on just […]

Recovering Windows Password – Sticky Keys Technique

he “sticky keys” technique for resetting the password on a Windows system is described in many places around the web, but all tend to over-complicate the steps. I’m describing it here for my own reference, so I have a reminder of how it works.

The technique basically provides access to a command prompt from the […]

SSL 64-bit Block Size Cipher Suites Supported (SWEET32) – Tomcat

Following on from the Windows vulnerability for SWEET32, Here’s how to resolve the same issue with Tomcat 8. This use the OpenSSL format string for ciphers, so can also be applied to anything using the same cipher list.

ciphers=”HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!kRSA:!ECDHE-RSA-DES-CBC3-SHA” Simply by adding the !ECDHE-RSA-DES-CBC3-SHA to your existing : delimited cipher list disables the cipher on […]

Dovecot can’t start with error pop3-login & imap-login not supported protocol family

vim /etc/dovecot/dovecot.conf — listen = *, :: ? listen = * — service dovecot restart

If you see this error after Dovecot 2.0.x was installed: Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 995) failed: Address family not supported by […]

Disable or enable the IPv6 protocol

Disable or enable the IPv6 protocol

Disabling IPv6 support in Red Hat Enterprise Linux 7

Disable ipv6 built-in kernel module.

Edit /etc/default/grub and append ipv6.disable=1 to GRUB_CMDLINE_LINUX like the following sample: Raw

GRUB_CMDLINE_LINUX=”rd.lvm.lv=rhel/swap crashkernel=auto rd.lvm.lv=rhel/root ipv6.disable=1″

Run the grub2-mkconfig command to regenerate the grub.cfg file: Raw

# grub2-mkconfig -o […]

MySQL 5.8 starts and then instantly stops

MySQL 5.8 starts and then instantly stops Everything worked perfectly except one of the final steps, launching mysql:

mysqld –skip-grant-tables –user=mysql Was giving me the following message and then shutting down:

[ERROR] Can’t find messagefile ‘/usr/share/errmsg.sys’ After some googling I found the solution to be adding the following flag:

–lc-messages-dir=”/usr/local/mysql/share/english/” To launch it and have […]

Compare Linux XFS vs EXT4 File System

Linux Operating System has lots of different file system alternatives, with all the existing default is commonly used ext4. File systems are generally utilized in order for handling how the information is kept soon after any program no longer is utilizing it, how accessibility to the information is managed, what other information (metadata) is linked […]