centos

Firewall

Firewall
CentOS 7 uses FirewallD to configure the necessary ports:

firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --reload

Technology:

Mounting Disks

How to mount a Logical Volume

Resources
How to Mount a Logical Volume

Technology:

RPM Repositories

http://wiki.centos.org/AdditionalResources/Repositories
http://wiki.centos.org/PackageManagement/Yum/Priorities

  • EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such as CentOS and Scientific Linux.

    rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

Technology:

Hostname

How to change your server's hostname

The file /etc/sysconfig/network contains the hostname that you need to change. The file will look something like this:

NETWORKING="yes"
NETWORKING_IPV6=no
HOSTNAME="www.example.com"

This change won't take affect until the next reboot, but you can make the change happen immediately using the hostname command like so:

hostname ftp.example.com

You may also need to add/change the hostname in the /etc/hosts file. By default this should look something like this:

Technology:

IBM System x3550 with CentOS

Running CentOS 5.2 on an IBM System x3550 7978EHU.

UpdateXpress System Pack Installer

mkdir -p /extra/ibm/updates
cd /extra/ibm

Download the UpdateXpress System Pack Installer.

chmod ugo+x install201.rhel5
./install201.rhel5 ac -l /extra/ibm/updates

To get the UXSPI to install the updates it downloads, you need to edit /etc/redhat-release so that it sees the system as RHEL5 instead of CentOS 5. Change:

CentOS release 5.2 (Final)

to:

Red Hat Enterprise Linux Server release 5 (Tikanga)

Then you can run the installer with:

Technology:

CentOS 4 and older megaraid driver

Getting a Dell PowerEdge 4300 with a PERC2 card to function under Centos 4.

http://www.tuxyturvy.com/blog/index.php?/archives/4-Installing-RHEL4-on-Systems-with-Legacy-Megaraid-Drivers.html

Dell PowerEdge 4300 server.
CentOS 4.4 (because that one has a single server CD installer).
Compiling the megaraid driver
Install the appropriate kernel-devel for your installation media. In the case of CentOS 4.4, that was 2.6.9-42. This machine was also a multiprocessor model, so the smp version was needed. CentOS needs 586 versions for the installer but needs 686 versions in order to run, so both will need to be compiled.

CentOS

My preferred Linux operating system is CentOS, a derivative of the commercial RedHat Enterprise Linux. It gives a RedHat-style distro with stability and an active support community. CentOS is a much better choice for a server than a bleeding edge distro such as Fedora.

A nice distro to use for a server is CentOS. It's built upon Redhat Enterprise Linux so it provides a "Redhat" style distro while being stable and well-tested. A more "cutting-edge" distro such as Ubuntu or Fedora isn't stable enough for practical use as a server – too many updates being regularly pushed out.

Alternative - Scientific Linux

Technology:

Operating System

The mail server is built upon the CentOS operating system, a free distro based upon RedHat Enterprise Linux.

A nice distro to use for the server is CentOS. It's built upon Redhat Enterprise Linux so it provides a "Redhat" style distro while being stable and well-tested. A more "cutting-edge" distro such as Ubuntu or Fedora aren't stable enough for practical use as a server – too many updates being regularly pushed out.

Installation

Technology:

Subscribe to RSS - centos

Recent Updates

  • 2 years 1 week ago
  • 2 years 1 week ago
  • 2 years 1 week ago
    php 8.x
  • 2 years 1 week ago
    10.6.7
  • 2 years 1 week ago
    Drop Centos 5/6 stuff