Chris Schuld's Blog

personal musings on the composition of software

Archive for the ‘Linux’ Category

Posted by Chris Schuld ADD COMMENTS

I still use a lot of NFS connections on my equipment and when I create OpenVZ VPS systems I need them to have access to NFS. Here are the steps I use: From the Host Node (HN): modprobe nfs vzctl set 101 –features "nfs:on" –save From the VPS: yum -y install nfs-utils nfs-utils-lib chkconfig –levels [...]

Categories: CentOS5, OpenVZ
Posted by Chris Schuld ADD COMMENTS

Here is my quick-and dirty way to build DNS servers using OpenVZ, CentOS and Bind/Named. This assumes you are creating a new server via OpenVZ. Although Bind is easy to admin with the configuration files recently I have found it is easier to simply admin the zones with Webmin. This setup will create the VPS, [...]

Categories: CentOS5, OpenVZ
Posted by Chris Schuld ADD COMMENTS

There are a few tutorials out there on installing OpenVZ in CentOS 5.3. Here are the steps I use to install OpenVZ on a brand new installation of CentOS 5.3: Note: this tutorial / walkthrough is for use 64 bit only Update the box via yum Install the OpenVZ Repository and grab the GPG key [...]

Categories: CentOS5, OpenVZ
Posted by Chris Schuld ADD COMMENTS

Here are the steps I continue to use over and over to build utilities/project servers in OpenVZ. Utilities servers host web apps, mailing applications, etc for my company. We usually build them as self-contained little appliance-like servers. My vision and goal is simple == better every day! First, we create the virtual machine: cid=1164 cd [...]

Categories: OpenVZ
Posted by Chris Schuld ADD COMMENTS

There are a lot of ways to backup an OpenVPS without powering them down. I have two critical VPS systems both operating phone/PBX apps (asterisk) which I need to backup and I cannot get them to backup correctly while powered up (driving me nuts). So weekly (early on Sunday mornings) I backup them up by [...]

Categories: OpenVZ
Posted by Chris Schuld ADD COMMENTS

All of our name servers I use are virtual servers and we add them into our network as OpenVZ VPS systems.  Here is the setup I use for setting up a Bind server on an OpenVZ VPS with CentOS 5. Setup the Open VZ VPS and get into the VPS: vzctl create 1031 –ostemplate centos-5-i386-default [...]

Categories: CentOS5, Linux
Posted by Chris Schuld 1 COMMENT

If you are missing the dig command it means you are missing a package called bind-utils.  To install this package use yum to install bind utils: yum install bind-utils Or if you do not have access to yum, maybe from a hosted VPS solution you can grab the RPM packages (this is 100% assuming you [...]

Categories: CentOS5
Posted by Chris Schuld ADD COMMENTS

We have a TFTP server running on our network and sometimes we need to get a handle on the requests on the server.  By default if you are using linux and the tftp server through xinetd you won’t have a log file to look at.  Thus you need to use TCPDUMP… here is how you [...]

Categories: Linux
Posted by Chris Schuld 1 COMMENT

We have a server in my office we reference a lot.  After X time period it would fall asleep and someone would have to hit the keyboard to see the latest information.  After digging for a bit (and never really finding the answer) I figured it out and decided to document it because I will [...]

Categories: Linux
Posted by Chris Schuld ADD COMMENTS

To mount an NFS share using fstab (/etc/fstab) you need to know a few things, the hostname or IP address of the NFS server, the share name and where you intend to mount the share at. Next, add this line to the end of the /etc/fstab file: [hostname_or_ip]:/[share_name] /[your_mount_location] nfs rsize=8192,wsize=8192,timeo=14,intr 10.0.0.50:/backup /nfs/backup nfs rsize=8192,wsize=8192,timeo=14,intr [...]

Categories: Linux

About Chris

Chris Schuld

Thank you for visiting my website. I use this site for a myriad of things: maintaining software I have open sourced, connecting with my readers and friends and documenting all of this little things "I wished I would have written down." You can read more about me or contact me.


thanks for visiting... happy coding

Recent Comments