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  

Adding Samba to the Service Management Facility

I am a bit new to the Service Management Facility (SMF) introduced into Solaris 10, but after getting my feet wet I kinda like it. These steps came in handy for me when I needed to add Samba to SMF.

Backup and Remove samba rc* scripts bash-3.00# tar cvpf – /etc/rc?.d/???samba | gzip -c > […]

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

SSH password authentication

There are times when you really want to get rid of SSH password authentication, however SSH is VERY picky about permissions etc. I just found out that there’s a tool for that in all Linux boxes!

As promised, the two simple steps:

Create your keypair (assuming you don’t already have it ready) $ ssh-keygen -t […]

Tomcat 8 on CentOS 7

The instructions below are assuming you’re logged in as root, if you are logged in as another user remember to prepend sudo to the commands shown below. Install the necessary packages First of all update your server and install the necessary packages using the following commands: yum -y update yum -y install curl libcap-devel yum […]

Install Rootkit Hunter Centos 7 / 6 / 5

Rootkit Hunter (rkhunter) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. Rootkits are self-hiding toolkits secretly installed by a malicious intruder to allow that user to gain access to the server. Rootkit Hunter offers protection by comparing SHA-1 hashes of important files with known good ones in a online database […]

FSCK on an LVM

Running FSCK on an LVM (Logical Volume Manager) using Linux Rescue Disk

i am not a linux expert and so when I have problems from time to time I usually have to go searching for the answer. It usually takes me looking at several articles to get my answer and when I am finished I […]

Debian give root password for maintenance lost password

In the event your Linux box experiences disk or file system issues you may receive a “Give root password for maintenance” prompt upon reboot. If you have your root password you can login but in the event your using ‘slide’ or ‘sudo’ for wheel access or you’ve just mis-placed your root password – you’ll need […]

OpenStack

PaaS, OpenStack, & cloud adoption

 

 

IT Challenges

Major issues with traditional infrastructure

Our data is too large • Volumes of data are being generated at unprecedented levels • Most of this data is unstructured • Service requests are too large • More and more devices are coming online • […]