Category: Basics

0

OpenVZ 7 Upgrade Error !

While upgrading OpenVZ server I got an error as below : ==== –> Finished Dependency Resolution Error: Package: 10:qemu-kvm-vz-2.9.0-16.3.vz7.8.x86_64 (factory) Requires: libspice-server.so.1(SPICE_SERVER_0.12.5)(64bit) You could try using –skip-broken to work around the problem ** Found...

0

Flush DNS cache

This morning I was doing some work with one of my website transfer and to see the changes on my MacBook laptop I knew I would need to flush the DNS cache so I...

0

Linux Configuration and Diagnostic Tools

untitled System and Network Configuration * linuxconf – A GUI interactive interface available on Redhat 6.0 or later which includes netconf configuration. * netconf – A GUI interactive interface available on Redhat 6.0 and...

0

Give me the most current file

I needed a quick way to maintain a current symlink to the most recent file by time stamp. Here’s one way to do it: ls -t1 *.jpg | head -1 | xargs -i ln...

0

#!/bin/bash

I think the number one skill a sysadmin should have is a solid understanding of shells and shell scripting. The Advanced Bash-Scripting Guide is a good place to start or take a refresher. From...

0

Repairing MySQL tables that will not open.

This should be handled on a case by case basis, but if you are using the default MySQL table type of MyISAM (which is the default storage engine unless changed or specified differently) here...

0

Service/Daemon Management

restarting/stopping/starting a service On any init.d based linux distro you can restart a service with the following… /etc/init.d/serviceName restart You may replace ‘restart’ with ’stop’ or ’start’ (and in some cases ’status’). Forcefully stopping...