collectd is a statistics gathering tools which helps system admin to analysis the system conditions. It includes both server and client implementations. The collectd client send metrics to the collectd server.
I installed the collectd on a CentOS 7 machine and try to send the metrics to a Graphite instance. But no matter how i changed the setup, the Graphite couldn’t receive any data. Finally, i realized that it is blocked by the SELinux policy.
Continue reading collectd – Cannot send out matrics →
Assume SELinux is disabled on your Git server…
The following setup is on CentOS and assume your Git repositories are all located under /data/repos.
1. Install Git and Apache.
yum install git httpd
2. Create the /etc/httpd/conf.d/git.conf.
# Git over HTTP
<VirtualHost *:80>
SetEnv GIT_PROJECT_ROOT /data/repos
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/
<Location /git/>
AuthType Basic
AuthName "Git Access"
AuthUserFile /var/www/passwd.git
Require valid-user
</Location>
</VirtualHost>
Continue reading Make Git work on HTTP protocol →
If you found something doesn’t work on your Linux box, one possible reasons would be the SELinux.
1. Check if the SELinux is enabled.
[ykyuen@dev.eureka ~]$ getenforce
Enforcing
2. If it returns Enforcing, that means SELinux is enabled.
Continue reading Temporarily disable SELinux →
Dream BIG and go for it =)