{"id":2707,"date":"2023-04-17T23:34:51","date_gmt":"2023-02-17T08:13:09","guid":{"rendered":""},"modified":"2025-02-02T00:46:19","modified_gmt":"2025-02-01T23:46:19","slug":"how-to-install-neos-cms-on-ubuntu-24-04-server","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-install-neos-cms-on-ubuntu-24-04-server\/","title":{"rendered":"Linux VPS &#038; VPS Windows Setup Guide | NetCloud24 NEOS CMS on Ubuntu 24.04 Server"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<header>\n<h1>\u00a0<\/h1>\n<\/header>\n<article>\n<p><strong>NEOS CMS<\/strong> is a modern, open-source content management system (CMS) that offers flexible content modeling and a user-friendly interface. This guide will walk you through the steps to install NEOS CMS on <strong>Ubuntu 24.04<\/strong>. To ensure optimal performance and scalability, we recommend hosting your CMS on a . Using a <strong>VPS server<\/strong> ensures faster load times and dedicated resources for your NEOS installation.<\/p>\n<h2>Step 1: Update Your VPS Server<\/h2>\n<p>Before you begin the installation, ensure your <a href=\"https:\/\/ie.netcloud24.com\">VPS server<\/a> is up to date. Run the following commands to update your Ubuntu 24.04 system:<\/p>\n<pre><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n<p>By using a reliable <strong>VPS server<\/strong> from , you guarantee better performance and more efficient resource management, allowing your NEOS CMS to function seamlessly.<\/p>\n<h2>Step 2: Install Apache, MySQL, and PHP<\/h2>\n<p>NEOS CMS requires a LAMP stack (Linux, Apache, MySQL, PHP). Start by installing Apache, MySQL, and PHP:<\/p>\n<ul>\n<ul>\n<li>Install Apache:<\/li>\n<\/ul>\n<\/ul>\n<pre><code>sudo apt install apache2 -y<\/code><\/pre>\n<ul>\n<ul>\n<li>Enable and start Apache:<\/li>\n<\/ul>\n<\/ul>\n<pre><code>sudo systemctl enable apache2 --now<\/code><\/pre>\n<ul>\n<ul>\n<li>Install MySQL:<\/li>\n<\/ul>\n<\/ul>\n<pre><code>sudo apt install mysql-server -y<\/code><\/pre>\n<ul>\n<ul>\n<li>Secure MySQL installation:<\/li>\n<\/ul>\n<\/ul>\n<pre><code>sudo mysql_secure_installation<\/code><\/pre>\n<ul>\n<ul>\n<li>Install PHP and the required extensions for NEOS CMS:<\/li>\n<\/ul>\n<\/ul>\n<pre><code>sudo apt install php php-mysql php-gd php-xml php-mbstring php-curl php-zip php-intl php-soap php-imap -y<\/code><\/pre>\n<h2>Step 3: Create a MySQL Database for NEOS CMS<\/h2>\n<p>NEOS CMS needs a database to store its data. Log in to MySQL to create a new database and user:<\/p>\n<pre><code>sudo mysql -u root -p<\/code><\/pre>\n<p>Run the following commands to create a database for NEOS CMS:<\/p>\n<pre><code>\r\nCREATE DATABASE neoscms;\r\nCREATE USER 'neosuser'@'localhost' IDENTIFIED BY 'your_password';\r\nGRANT ALL PRIVILEGES ON neoscms.* TO 'neosuser'@'localhost';\r\nFLUSH PRIVILEGES;\r\nEXIT;\r\n<\/code><\/pre>\n<p>Replace <code>your_password<\/code> with a strong password of your choice.<\/p>\n<h2>Step 4: Install Composer<\/h2>\n<p>NEOS CMS is installed via Composer, a PHP dependency manager. Install Composer by running the following commands:<\/p>\n<pre><code>\r\nsudo apt install curl -y\r\ncurl -sS https:\/\/getcomposer.org\/installer | php\r\nsudo mv composer.phar \/usr\/local\/bin\/composer\r\n<\/code><\/pre>\n<p>Verify the Composer installation:<\/p>\n<pre><code>composer --version<\/code><\/pre>\n<h2>Step 5: Install NEOS CMS<\/h2>\n<p>Navigate to the Apache web root directory and install NEOS CMS using Composer:<\/p>\n<pre><code>\r\ncd \/var\/www\/html\r\ncomposer create-project --no-dev neos\/neos-base-distribution neoscms\r\n<\/code><\/pre>\n<p>Set the appropriate permissions for the NEOS directory:<\/p>\n<pre><code>\r\nsudo chown -R www-data:www-data \/var\/www\/html\/neoscms\r\nsudo chmod -R 755 \/var\/www\/html\/neoscms\r\n<\/code><\/pre>\n<h2>Step 6: Configure Apache for NEOS CMS<\/h2>\n<p>Create a new Apache virtual host configuration file for NEOS CMS:<\/p>\n<pre><code>sudo nano \/etc\/apache2\/sites-available\/neoscms.conf<\/code><\/pre>\n<p>Add the following configuration:<\/p>\n<pre><code>\r\n\r\n    ServerAdmin admin@your-domain.com\r\n    DocumentRoot \/var\/www\/html\/neoscms\/Web\r\n    ServerName your-domain.com\r\n\r\n    \r\n        Options Indexes FollowSymLinks\r\n        AllowOverride All\r\n        Require all granted\r\n    \r\n\r\n    ErrorLog ${APACHE_LOG_DIR}\/neoscms-error.log\r\n    CustomLog ${APACHE_LOG_DIR}\/neoscms-access.log combined\r\n\r\n<\/code><\/pre>\n<p>Replace <code>your-domain.com<\/code> with your actual domain name. Then, enable the configuration and restart Apache:<\/p>\n<pre><code>\r\nsudo a2ensite neoscms.conf\r\nsudo a2enmod rewrite\r\nsudo systemctl restart apache2\r\n<\/code><\/pre>\n<h2>Step 7: Complete the NEOS CMS Installation<\/h2>\n<p>Now that NEOS is installed, open your browser and navigate to <code>http:\/\/your-domain.com\/setup<\/code>. You will be guided through the NEOS setup process, where you\u2019ll need to configure the database details (enter the database name, user, and password you set earlier) and create an admin user for your NEOS CMS instance.<\/p>\n<p>Once completed, you can log in to the NEOS CMS backend and start building your website.<\/p>\n<h2>Step 8: Optimize NEOS CMS with a VPS Server<\/h2>\n<p>For optimal performance, especially as your website grows, hosting NEOS CMS on a  is highly recommended. A <strong>VPS server<\/strong> offers dedicated resources, enhanced performance, and better uptime compared to shared hosting environments. With a <strong>Windows VPS<\/strong>, your NEOS CMS will have the power to handle increased traffic and content management needs without performance bottlenecks.<\/p>\n<h2>Conclusion<\/h2>\n<p>Installing NEOS CMS on Ubuntu 24.04 is straightforward and provides a powerful, flexible platform for content management. To ensure the best performance and scalability, consider hosting NEOS on a . A reliable <strong>VPS server<\/strong> allows you to focus on building and managing your content while ensuring your website operates at peak performance.<\/p>\n<p>For more information on VPS hosting and optimizing your CMS, visit  to explore a variety of VPS hosting solutions.<\/p>\n<\/article>\n<footer>\n<p>\u00a9 2024 Windows VPS &#8211; All Rights Reserved<\/p>\n<\/footer>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 NEOS CMS is a modern, open-source content management system (CMS) that offers flexible content modeling and a user-friendly interface. This guide will walk you through the\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-2707","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=2707"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2707\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=2707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=2707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=2707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}