Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries Tagged as 'Centos'

YUM: There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

April 30th, 2012 · 2 Comments · Centos

Yum Error: There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. With unfinished transactions, yum refers to any incomplete or aborted transactions, such as package installations or updates. Obviously, yum wants you to run yum-complete-transaction command to fix the problem. If you can’t find yum-complete-transaction on your system, probably you [...]

[Read more →]

Tags:

Setup SSH Key Authentication

April 17th, 2011 · 5 Comments · Centos, HowTo, Tips and Tricks

Setup ssh key authentication for password-less login between servers.  For use by ssh/sftp users or scripts. Source Server (or local system) Generate RSA key for user on this system, you can also use DSA.  This asks for key pass-phrase but you can leave it blank. ssh-keygen -t rsa This asks for location to place the [...]

[Read more →]

Tags: ··

CentOS 5.6 released

April 15th, 2011 · No Comments · Centos

While people are still waiting to for Centos 6 (after many month since RHEL6 was released) we got a little teaser in the release of Centos 5.6 last week. This is a minor security release, but it also brings in some interesting additions like ext4 support and php53 packages among others. If you are running [...]

[Read more →]

Tags: ·

Setup SFTP-Only Access (Redhat-based Distro)

April 12th, 2011 · 1 Comment · Centos, HowTo, Installation, Tips and Tricks

Setup sftp-only access on default Redhat/CentOS install. Use built-in sftp-server which is non-chrooted and easy to setup. Server: Locate sftp-server binary and add to your list of valid shells on the system. which sftp-server Note:   This will most likely give you this: /usr/libexec/openssh/sftp-server echo /usr/libexec/openssh/sftp-server >> /etc/shells Note:  You may want to backup your /etc/shells [...]

[Read more →]

Tags:

Setup Subversion (SVN) and mod_dav_svn on Cpanel Server

October 18th, 2010 · 4 Comments · Centos, cpanel, Installation, svn

Quick install guide for SVN with mod_dav_svn (http/https) repository access on Cpanel server running CentOs5. Configure Cpanel for SVN Recompile Apache/PHP (WHM -> Software -> EasyApache) and enable support for the following: Dav (Among other things mod_dav can be used by DAV enabled Frontpage clients instead of FP extensions) BerkeleyDB. Note: BerkeleyDB support (“–with-berkeley-db“) is [...]

[Read more →]

Tags: ···

Install Apache Solr and Tomcat for Drupal

October 17th, 2010 · 2 Comments · Centos, drupal, Drupal performance, HowTo, Installation

Here’s my quick install guide for Solr, Tomcat, and Drupal ApacheSolr module for multiple sites. Mostly I based the steps below from the following sites: wiki.apache.org and drupalconnect.com. Detailed Setup: Drupal 6.19 ApacheSolr module 6-1.1 Apache Solr PHP Client Library: Rev.22 Solr 1.4.1 Tomcat 6.0.29 SunJDK 6update21 RHEL5.5×64 Install Process: Tomcat Create solr user Download [...]

[Read more →]

Tags: ··

Remove Duplicate Packages in CentOS

October 14th, 2010 · 8 Comments · Centos, HowTo

I got a package dependency issue when updating our 64-bit CentOS server, which was caused by two perl packages installed (i386 and x86_64). perl i386 4:5.8.8-32.el5_5.1 installed 28 M perl x86_64 4:5.8.8-32.el5_5.1 installed 34 M I tried to remove it using rpm command but didn’t work (maybe i just don’t know the correct params with [...]

[Read more →]

Tags: ·

Mail Relay Issue on Cpanel Server

February 16th, 2010 · 1 Comment · Centos, hosting, Security, sysadmin

I noticed lots of email being relayed on one of our shared hosting server, CentOS5 with Cpanel and running Exim, and the strange thing is that the email server (MX) for these accounts are pointing to Google (GoogleApps), and we have correct entries for localdomains and remotedomains for these account. The relayers (‘From’ server/address) looks [...]

[Read more →]

Tags: ·

CentOS 5.4 released

November 3rd, 2009 · 6 Comments · Centos

Almost two months after RHEL5.4, Centos 5.4 was released on the 21st October. This version includes various changes into the virtualization field and it includes support for KVM (kernel-based virtual machine) hypervisor and the Xen hypervisor. Also this release features many bug fixes and security updates, and should be an easy upgrade for users running [...]

[Read more →]

Tags: ·

HowTo display PHP errors when you don’t have access to php.ini

September 15th, 2009 · 1 Comment · Centos, CLI, Debian, HowTo, sysadmin, Tips and Tricks

If you are using a shared server, or just have a limited account on your Buy Cipro Online company servers, you might not have access to your php configuration file php.ini (this is usually found under /etc/php.ini in rhel/centos and /etc/php5/apache2/php.ini in debian/ubuntu). Still, in many situations it might be needed to enable php errors [...]

[Read more →]

Tags: