August 2015
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Categories

August 2015
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

CentOS 7 Installation Failed

After hearing the news that CentOS 7 had been published, I decided to install it on my computer. I downloaded the ISO image from the CentOS official website (the one named CentOS-7.0-1406-x86_64-DVD.iso) and then burned it onto a USB drive by using a tool named UltraISO.

After that, I rebooted my computer and pressed F12to […]

shell scripts sample

#!/bin/bash for ((i=1;i<=254;i++)) do ip=192.168.1.$i ping $ip -c 1 |grep -q ‘ttl=’ && echo “$ip” >> alive.txt done

#!/bin/bash groupadd websphere for user in app1 app2 app3 app4 do useradd -g websphere -s /sbin/nologin -d /dev/null $user (echo $user;echo $user) | smbpasswd -s -a $user done

cat access.log |awk ‘{print $1}’|sort |uniq -c |sort -nr […]

MySQL slow remote connection causes and solutions

Because the network is deployed MySQL server, there is no load, when the speed local connections […]