Skip to main content
wpcrux.com

Back to all posts

How to Install October CMS on CentOS?

Published on
8 min read
How to Install October CMS on CentOS? image

Best Tools and Resources to Install CMS to Buy in October 2025

1 VARSK Contour Gauge Tool with Lock 5+10 Inch - Measuring Scribe Profile Tool, Birthday Gifts for Men Dad Him, Cool Gadgets Tools for Men DIY Handyman, Woodworking Tools for Measuring Flooring

VARSK Contour Gauge Tool with Lock 5+10 Inch - Measuring Scribe Profile Tool, Birthday Gifts for Men Dad Him, Cool Gadgets Tools for Men DIY Handyman, Woodworking Tools for Measuring Flooring

  • IDEAL GIFT: PERFECT FOR DADS, HUSBANDS & DIY ENTHUSIASTS!

  • EASY USE: JUST COPY, LOCK & TRACE FOR ACCURATE SHAPES!

  • DURABLE DESIGN: UPGRADED METAL LOCK FOR LONG-LASTING PERFORMANCE!

BUY & SAVE
$18.96 $29.97
Save 37%
VARSK Contour Gauge Tool with Lock 5+10 Inch - Measuring Scribe Profile Tool, Birthday Gifts for Men Dad Him, Cool Gadgets Tools for Men DIY Handyman, Woodworking Tools for Measuring Flooring
2 Saker Contour Gauge Profile Tool- Adjustable Lock-Precisely Copy Irregular Shape Duplicator - Must Have Tool for DIY Handyman, Construction (BLACK+10INCH)

Saker Contour Gauge Profile Tool- Adjustable Lock-Precisely Copy Irregular Shape Duplicator - Must Have Tool for DIY Handyman, Construction (BLACK+10INCH)

  • PRECISION PROFILING: EASILY DUPLICATE ANY SHAPE FOR PERFECT CUTS!
  • ADJUSTABLE TIGHTNESS: LOCK IN CONTOURS FOR ACCURATE, REPEATABLE RESULTS.
  • DURABLE & PORTABLE: HIGH-QUALITY ABS DESIGN FOR LONG-LASTING USE ANYWHERE.
BUY & SAVE
$28.97
Saker Contour Gauge Profile Tool- Adjustable Lock-Precisely Copy Irregular Shape Duplicator - Must Have Tool for DIY Handyman, Construction (BLACK+10INCH)
3 Contour Gauge 10 Inch, Widen Plastic Profile Gauge Duplicator, Precisely Copy Irregular Shapes Wood Template Measuring Tool for Perfect Fit and Easy Cutting (10 Inch Widen-Red)

Contour Gauge 10 Inch, Widen Plastic Profile Gauge Duplicator, Precisely Copy Irregular Shapes Wood Template Measuring Tool for Perfect Fit and Easy Cutting (10 Inch Widen-Red)

  • WIDER DESIGN FOR PRECISE SHAPE COPYING-NO MORE GUESSWORK!

  • SAVE TIME WITH INSTANT TEMPLATES FOR CURVED AND ODD SHAPES.

  • DURABLE ABS, DUAL MEASUREMENTS, AND VERSATILE FOR MANY APPLICATIONS.

BUY & SAVE
$14.99
Contour Gauge 10 Inch, Widen Plastic Profile Gauge Duplicator, Precisely Copy Irregular Shapes Wood Template Measuring Tool for Perfect Fit and Easy Cutting (10 Inch Widen-Red)
4 General Tools Contour Gauge 833 - 10" Angle Finder Tool for Home Improvement - Gadgets for Men

General Tools Contour Gauge 833 - 10" Angle Finder Tool for Home Improvement - Gadgets for Men

  • EFFORTLESSLY DUPLICATE SHAPES FOR PRECISION IN WOODWORKING PROJECTS.

  • STURDY DESIGN MEASURES PROFILES UP TO 1-1/4 FOR VERSATILE USE.

  • EASY-TO-USE TOOL CREATES INSTANT TEMPLATES FOR ANY ODD SHAPES.

BUY & SAVE
$12.61 $13.27
Save 5%
General Tools Contour Gauge 833 - 10" Angle Finder Tool for Home Improvement - Gadgets for Men
5 Contour Gauge Duplicator with Lock, 2 Pack Widen Shape Contour Duplication Gauge Profile Tool (5" & 10"), Precisely Copy Irregular Shape Instant Template for Corner, Pipe, Tile, Flooring, Molding

Contour Gauge Duplicator with Lock, 2 Pack Widen Shape Contour Duplication Gauge Profile Tool (5" & 10"), Precisely Copy Irregular Shape Instant Template for Corner, Pipe, Tile, Flooring, Molding

  • TWO SIZES & UNITS: VERSATILE 10'' & 5'' GAUGES FOR ANY PROJECT NEEDS.
  • WIDER DESIGN: 50% WIDER FOR CAPTURING DEEPER CONTOURS EFFORTLESSLY.
  • HIGH PRECISION: ACCURATE MEASUREMENTS WITH 0.06'' NEEDLE FOR PERFECT SHAPE.
BUY & SAVE
$21.95
Contour Gauge Duplicator with Lock, 2 Pack Widen Shape Contour Duplication Gauge Profile Tool (5" & 10"), Precisely Copy Irregular Shape Instant Template for Corner, Pipe, Tile, Flooring, Molding
6 RackSolutions 106-1928 Insertion/Extraction Tool

RackSolutions 106-1928 Insertion/Extraction Tool

  • COMPACT DESIGN FOR EASY STORAGE AND PORTABILITY.
  • DURABLE TOOLS CRAFTED FOR RELIABLE PERFORMANCE.
  • ESSENTIAL TOOL FOR DIY ENTHUSIASTS AND PROFESSIONALS ALIKE.
BUY & SAVE
$14.99 $33.01
Save 55%
RackSolutions 106-1928 Insertion/Extraction Tool
7 Saker 10Inch and 15Inch Contour Gauge Profile Tool- Adjustable Lock-Precisely Copy Irregular Shape Duplicator - Must Have Tool for DIY Handyman, Construction, Black

Saker 10Inch and 15Inch Contour Gauge Profile Tool- Adjustable Lock-Precisely Copy Irregular Shape Duplicator - Must Have Tool for DIY Handyman, Construction, Black

  • PRECISE SHAPE DUPLICATION FOR ANY PROJECT IDEAL FOR TILES, CARPENTRY, AND AUTOMOTIVE WORK WITH PERFECT ACCURACY!

  • ADJUSTABLE TIGHTNESS & LOCKING FEATURE CUSTOMIZE TENSION FOR PRECISE TRACES EVERY TIME WITH EASE!

  • DURABLE, LIGHTWEIGHT & EASY TO USE HIGH-QUALITY ABS, PORTABLE DESIGN FOR ON-THE-GO SHAPE DUPLICATION!

BUY & SAVE
$39.99 $72.96
Save 45%
Saker 10Inch and 15Inch Contour Gauge Profile Tool- Adjustable Lock-Precisely Copy Irregular Shape Duplicator - Must Have Tool for DIY Handyman, Construction, Black
8 Simpson Strong-Tie DIAST25 - Drop-In Anchor Setting Tool - 1/4"

Simpson Strong-Tie DIAST25 - Drop-In Anchor Setting Tool - 1/4"

  • COMPACT DESIGN: FITS EASILY IN ANY TOOLBOX OR WORKSPACE.
  • SINGLE PACKAGE: CONVENIENT AND READY-TO-USE RIGHT AWAY.
  • HIGH QUALITY: RELIABLE TOOLS MADE IN CHINA FOR DURABILITY.
BUY & SAVE
$8.53 $9.88
Save 14%
Simpson Strong-Tie DIAST25 - Drop-In Anchor Setting Tool - 1/4"
9 Insulated Tool Set, 13 pc.

Insulated Tool Set, 13 pc.

  • COMPACT DIMENSIONS FOR EASY STORAGE AND TRANSPORT.
  • HIGH-QUALITY GERMAN CRAFTSMANSHIP ENSURES DURABILITY AND RELIABILITY.
  • IDEAL SINGLE-TOOL PACKAGE FOR VERSATILE DIY AND PROFESSIONAL USE.
BUY & SAVE
$412.99
Insulated Tool Set, 13 pc.
+
ONE MORE?

To install October CMS on CentOS, follow the steps below:

  1. Ensure that your CentOS system is up to date by running the command sudo yum update.
  2. Install a web server (Apache or Nginx) and enable it to start automatically on boot. For Apache, run sudo yum install httpd and for Nginx, run sudo yum install nginx. Start the web server by running sudo systemctl start httpd for Apache or sudo systemctl start nginx for Nginx.
  3. Install PHP and necessary extensions by running sudo yum install php php-mysql php-gd php-dom php-mbstring php-json php-curl.
  4. Create a new database for October CMS by running mysql -u root -p. Enter your MySQL root password and then run the following commands:

CREATE DATABASE octoberdb; GRANT ALL PRIVILEGES ON octoberdb.* TO 'octoberuser'@'localhost' IDENTIFIED BY 'your_chosen_password'; FLUSH PRIVILEGES; EXIT;

Note: Replace octoberdb, octoberuser, and your_chosen_password with your preferred values.

  1. Download the October CMS installation files using the wget command. Run wget https://github.com/octobercms/october/archive/master.zip to download the latest version.
  2. Install the unzip utility by running sudo yum install unzip.
  3. Extract the downloaded ZIP file using the following command: unzip master.zip.
  4. Move the extracted files to the web server's document root. For Apache, run sudo mv october-master/* /var/www/html/ and for Nginx, run sudo mv october-master/* /usr/share/nginx/html/.
  5. Grant necessary permissions to the web server user by running sudo chown -R apache:apache /var/www/html/ for Apache or sudo chown -R nginx:nginx /usr/share/nginx/html/ for Nginx.
  6. Navigate to the document root directory by running cd /var/www/html/ for Apache or cd /usr/share/nginx/html/ for Nginx.
  7. Install Composer, a dependency manager for PHP, by running the following commands:

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php php -r "unlink('composer-setup.php');"

  1. Install October CMS dependencies by running php composer.phar install --no-dev.
  2. Rename the .env.example file to .env by running mv .env.example .env.
  3. Generate a unique application key by running php artisan key:generate.
  4. Edit the .env file with your database details. Set APP_URL to your domain name or IP address, and modify the DB_* variables according to your database setup.
  5. Set appropriate file permissions by running chmod -R 755 storage bootstrap/cache.
  6. Restart the web server to apply the changes by running sudo systemctl restart httpd for Apache or sudo systemctl restart nginx for Nginx.
  7. Finally, access your October CMS installation via a web browser using your domain name or IP address.

That's it! You have successfully installed October CMS on CentOS.

What is a partial in October CMS and how to use it?

In October CMS, a partial is a reusable code block that can be added to multiple pages or layouts. It allows you to encapsulate and reuse portions of your website's code across different pages or components.

To use a partial in October CMS, follow these steps:

  1. Identify the code section that you want to reuse. This can be a specific HTML markup, PHP code, or a combination of both.
  2. Create a new partial file by navigating to the partials directory within your theme. If the partials directory does not exist, you can create one.
  3. Inside the partials directory, create a new file with a .htm or .php extension (for example, myPartial.htm).
  4. Open the newly created partial file and write the desired code that you want to reuse. Make sure to include the proper opening and closing tags for the file type you are using (e.g., for PHP code).
  5. Save the partial file.
  6. In the page or layout where you want to use this partial, open the respective file for editing.
  7. To include the partial, use the {% partial %} tag. The syntax is as follows: {% partial "partials/myPartial" %} Note: The path provided in the partial tag should be relative to the theme's partials directory. You do not need to include the file extension in the tag.
  8. Save the modified file.

Now, whenever the page or layout is rendered, the specified partial will be included in that location, allowing you to reuse code and keep your codebase more organized and manageable.

How to install October CMS on CentOS step by step?

To install October CMS on CentOS, follow these step-by-step instructions:

  1. Update the system:

sudo yum update

  1. Install the required dependencies:

sudo yum install epel-release yum-utils -y sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y sudo yum-config-manager --enable remi-php73 sudo yum install php php-cli php-fpm php-mysql php-pdo php-mbstring php-xml php-imagick php-zip php-gd -y sudo systemctl start php-fpm sudo systemctl enable php-fpm

  1. Install Nginx web server:

sudo yum install nginx -y sudo systemctl start nginx sudo systemctl enable nginx

  1. Install MySQL/MariaDB server:

sudo yum install mariadb-server -y sudo systemctl start mariadb sudo systemctl enable mariadb

  1. Secure the MySQL/MariaDB installation:

sudo mysql_secure_installation

Follow the on-screen prompts to set a root password, remove anonymous users, disallow root login remotely, remove test databases, and reload privilege tables.

  1. Create a database and user for October CMS:

sudo mysql -u root -p

Enter your root password and run these commands to create the database and user:

CREATE DATABASE octoberdb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER 'octoberuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON octoberdb.* TO 'octoberuser'@'localhost'; FLUSH PRIVILEGES; EXIT;

  1. Install Composer (PHP package manager):

sudo yum install curl -y curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

  1. Install October CMS using Composer:

cd /var/www/html sudo composer create-project october/october ./ sudo chown -R nginx:nginx /var/www/html/ sudo chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache

  1. Configure Nginx for October CMS:

sudo vi /etc/nginx/conf.d/october.conf

Add the following content to the file:

server { listen 80; server_name your_domain_name_or_server_ip; root /var/www/html/public/; index index.php;

location / {
    try\_files $uri $uri/ /index.php?$query\_string;
}

location ~ \\.php$ {
    fastcgi\_pass unix:/var/run/php-fpm/php-fpm.sock;
    fastcgi\_index index.php;
    fastcgi\_param SCRIPT\_FILENAME $document\_root$fastcgi\_script\_name;
    include fastcgi\_params;
}

}

  1. Save and close the file (Press Esc, then type :wq and Enter).
  2. Test the Nginx configuration:

sudo nginx -t

If the configuration test is successful, restart Nginx:

sudo systemctl restart nginx

  1. Access October CMS on your browser: In a web browser, visit http://your_domain_name_or_server_ip, and the October CMS installation wizard should appear. Follow the on-screen instructions to complete the installation.

That's it! You have successfully installed October CMS on CentOS.

What is the default administrator account for October CMS?

The default administrator account for October CMS is "admin" with the password "admin". It is highly recommended to change the password for security reasons after completing the initial setup.

How to update CentOS packages before installing October CMS?

To update CentOS packages before installing October CMS, you can follow these steps:

  1. Connect to your CentOS server using SSH or a terminal emulator.
  2. Run the following command to update the package lists: sudo yum update This command will fetch the latest package lists from the CentOS repositories.
  3. After the package lists are updated, run the following command to upgrade the installed packages to their latest versions: sudo yum upgrade This command will upgrade all the installed packages on your CentOS server.
  4. Once the upgrade process is complete, you can proceed with the installation of October CMS or any other software you want.

Keep in mind that updating and upgrading packages on a server can take some time, especially if there are many updates available. It is recommended to schedule this process during a maintenance window or during a time when there is lower user activity to minimize any impact on the server's performance.

What is Composer and how to install it on CentOS?

Composer is a dependency management tool for PHP that allows you to manage and install packages of PHP libraries and frameworks. It simplifies the process of managing dependencies in your PHP projects.

To install Composer on CentOS, you can follow these steps:

Step 1: Start by updating the packages list on your CentOS system:

sudo yum update

Step 2: Install the required dependencies:

sudo yum install curl php-cli php-mbstring git unzip

Step 3: Download the Composer installer by running the following command:

cd ~ curl -sS https://getcomposer.org/installer -o composer-setup.php

Step 4: Verify the downloaded installer by comparing its SHA-384 hash with the latest hash available on the Composer Public Keys / Signatures page:

HASH="$(curl -sS https://composer.github.io/installer.sig)" php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

If the verification is successful, you should see the message "Installer verified".

Step 5: Run the installer to install Composer globally:

sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

This will install Composer in the /usr/local/bin directory and create a symlink named "composer".

Step 6: Verify the installation by running the following command:

composer --version

If Composer is successfully installed, you should see the version information.

That's it! Composer is now installed on your CentOS system, and you can start using it to manage your PHP project dependencies.