/etc/modprobe.d/

On CentOS and probably other RedHat-based distributions, /etc/modprobe.d/ is the directory which contains configurations for loading kernel modules, module aliases and module blacklists, that are specific to the host, and not shipped by packages (those should go in /usr/lib/modprobe.d/.

Module configurations from both directories are read by default, unless dracut is run in generic mode.

See also

Set up CentOS 6 as NFS Server

These are minimal instructions on how to set up an NFS server running on CentOS 6.

  1. Install the required packages:

    yum install nfs-utils nfs-utils-lib
    
  2. Enable and start the required services:

    chkconfig rpcbind on 
    chkconfig nfs on
    
    service rpcbind restart
    service nfs restart
    
  3. Create shares by editing: /etc/exports

Mail Tools

GitPython

Installation

The easy way is to use one of the utilities provided by Python's setuptools. If you don't have setuptools, you can install them with:

{% highlight bash %} sudo apt-get install python-setuptools {% endhighlight %}

...or with:

{% highlight bash %} sudo yum install python-setuptools {% endhighlight %}

... depending on your platform. You can then install GitPython with:

{% highlight bash %} sudo easy_install GitPython {% endhighlight %}

After that, it will be available for you to import and use:

{% highlight python %} import git {% endhighlight %}

Usage

Initialize a Repository Object

If you have a local directory that has already been initialized as a Git repository (hint: it should contain a .git subdirectory), then you can simply create an object of it:

{% highlight python %} import git repo = git.Repo('/home/marios/repositories/test-repo') {% endhighlight %}

See Also

VMware Memory Balloning

Memory Balloning is a memory reclamation technique employeed by VMware ESXi hosts, that is triggered by high memory utilization on the host and aims to reclaim unused memory on some VMs, for use in others that require it.

Read more

About

Hello, I'm Marios Zindilis and this is my website. Opinions are my own. You also find me on LinkedIn and GitHub.

Unless otherwise specified, content is licensed under CC0.

Search