Redmine is a software project management tool which has Wiki, issue tracer, source code browser and other cool features built in. If you want to install Redmine with MySQL and Nginx on CentOS 6, follow these steps.
I always use EPEL repository with CentOS. EPEL provides additional RPM packages. We can use Nginx and some Ruby gem packages from EPEL.
Enable EPEL:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
Install required packages:
yum install nginx mysql-server ruby rubygem-rack rubygem-rake ruby-mysql
Redmine requires a Ruby gem called i18n. I couldn't find the RPM for i18n gem. I had to install i18n gem using the gem installer.
gem install -v=0.4.2 i18n
Start MySQL server:
/etc/init.d/mysqld start
Use the MySQL secure installation program:
mysql_secure_installation
Connect to the MySQL server as root:
mysql -u root -p
Create a MySQL database and user for Redmine:
mysql> CREATE DATABASE redmine character set utf8;
mysql> GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost' IDENTIFIED BY 'secret_password' WITH GRANT OPTION;
Amazon Simple Storage Service or Amazon S3 is a storage service with a web API. I use Amazon S3 to store backups of my blog and other sites. I made a simple python script to handle file uploads to S3.
In order to use Amazon S3, first create a bucket using your Amazon AWS account. As the name suggests, bucket is a container. You can create buckets using the AWS management console.
The script we're going to write will take two input parameters
Nagios is a popular networking monitoring software. Nagios lets you monitor your IT infrastructure, be it servers, routers, switches or other devices. In this post, I will walk you through the steps of installing and configuring a basic setup of Nagios on CentOS.
At the end of the tutorial you will be have a working Nagios setup to monitor
Whenever there is a problem or recovery with any of the above, Nagios will alert you via email.
Unless you have a strong reason to compile Nagios yourself, you should use the binary packages available for your Linux distribution.
RPMForge provides packages that are not included in CentOS repositories. We will use the Nagios packages from RPMForge.
For 32 bit machines use these commands:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm rpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm
For 64 bit machines use these commands:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
As per http://www.fwbuilder.org/guides/firewall_builder_installation.html#000150 you may face some issues like "fwbuilder statically linked with QT crashes on start on your CentOS system"
Though I would like to go ahead and install it on a CentOS 5.3 - i386 machine for trial purpose.
This is what I did:
Referring to the link : http://www.fwbuilder.org//docs/firewall_builder_packages.html
I created a Firewall Builder RPM packages repository as mentioned below:
1. Created file: vi /etc/yum.repos.d/fwbuilder.repo
2. Included the below mentioned contents:
[fwbuilder]
I have configured Nagios.
However I have come across ntop and Cacti as well.
I am now confused which one to go for.
Could someone suggest me any one among the 3 mentioned above?
Many of us have suffered from failing package repository mirrors. Some are slow, some won't have updated content, etc. You might want to remove/blacklist a particular mirror in your yum configuration.
Before trying to remove a mirror, install the fastest mirror plugin.
yum install yum-fastestmirror -y
The fastest mirror plugin is capable of determining mirror speeds and cache it. If that works for you well and good.
If you have freshly install CentOS - 5.3 and if you trying to install Nagios on the same then refer this link mentioned below this works like a gem.
http://www.linux4beginners.info/node/nagiosfedora
Before you start up with the installation of nagios on CentOS 5.3 my recommendation is that you stop your firewall and disable SELinux.
Command to check the status of the firewall on CentOS 5.3 - service iptables status
Command to check the status of the firewall on CentOS 5.3 - service ip6tables status
I am a newbie on Linux. I have visited this link http://www.howtoforge.com/centralized-backup-server-with-amanda-on-centos but did not know where to do the changes if I want to use my hardisk as the back up device.
I am getting the error messages like after I used the following command in the bash login
-bash-3.2$ for ((i=1; $i<=15; i++)); do /usr/sbin/amlabel intra intra-$i slot $i; done
"/etc/amanda/intra/amanda.conf", line 22: a quoted string expected
"/etc/amanda/intra/amanda.conf", line 22: end of line expected
Hi All,
I just now installed and configured ldap on Centos 5.2 machine but I am not able login from using the ldap username and password from a centos client.
These are the steps I followed:
1. yum install *openldap* -y
2. chkconfig --levels 235 ldap on
3. service ldap start
4. slappasswd
which resulted in some value which was similar to {SSHA}cWB1VzxDXZLf6F4pwvyNvApBQ8G/DltW
5. Update the same root password in and the belwo mentioned details - /etc/openldap/slapd.conf
database bdb
suffix "dc=adminmart,dc=com"
rootdn "cn=Manager,dc=adminmart,dc=com"
If you answered yes to any of the above, read on. I am trying to help you start using Ubuntu without much Googling.
This post provides a brief introduction on available Fedora/Red Hat/CentOS equivalent commands in Ubuntu. This will also be handy for Ubuntu users that have delved into the Red Hat/Fedora/CentOS world.
Recent comments
11 hours 7 min ago
1 day 7 hours ago
1 week 1 day ago
1 week 1 day ago
3 weeks 6 days ago
4 weeks 1 day ago
4 weeks 1 day ago
5 weeks 18 hours ago
5 weeks 20 hours ago
5 weeks 3 days ago