FPM, FastCGI Process Manager is a PHP FastCGI implementation. Using php-fpm you can have a website running as its own user instead of a common user like Apache or www-data. In this post, we will go through the process of installing and configuring php-fpm with Nginx on CentOS 6.
php-fpm package is available in the official CentOS repository. There is no need to enable third party repositories in order to use php-fpm.
nginx package is available in Fedora EPEL repository.
Enable Fedora EPEL.
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
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
3 weeks 4 days ago
6 weeks 5 days ago
9 weeks 2 days ago
9 weeks 2 days ago
10 weeks 4 days ago
11 weeks 1 day ago
13 weeks 3 days ago
14 weeks 1 day ago
32 weeks 4 days ago
33 weeks 4 days ago