{"id":10319,"date":"2023-12-28T09:45:37","date_gmt":"2023-12-28T09:45:37","guid":{"rendered":"https:\/\/cloudkul.com\/blog\/?p=10319"},"modified":"2025-01-13T10:52:56","modified_gmt":"2025-01-13T10:52:56","slug":"how-to-install-krayin-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/","title":{"rendered":"Krayin Installation On Ubuntu 20.04 LTS"},"content":{"rendered":"<div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/krayin_installation-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"412\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/krayin_installation-1.png\" alt=\"krayin\" class=\"wp-image-10419\"\/><\/a><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/krayincrm.com\/\">Krayin CRM<\/a> is a <a href=\"https:\/\/cloudkul.com\/blog\/krayin-gcp-cloudkul-gold-plan\/\">custom CRM<\/a> system built on some of the most cutting-edge open-source technologies. Including Laravel, a PHP framework, and Vue.js, a progressive Javascript framework. <\/p>\n\n\n\n<p><a href=\"https:\/\/webkul.com\/blog\/how-to-build-crm-software-using-laravel\/\">Laravel CRM<\/a> is a free and open-source CRM solution for SMEs and Enterprises For comprehensive customer lifecycle management.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements<\/h2>\n\n\n\n<ul>\n<li>Server: Apache 2 or NGINX.<\/li>\n\n\n\n<li>RAM: 3 GB or higher.<\/li>\n\n\n\n<li>PHP: 7.3 or higher.<\/li>\n\n\n\n<li>MySQL: 5.7.23 or higher OR MariaDB: 10.2.7 or Higher<\/li>\n\n\n\n<li>Node: 8.11.3 LTS or higher.<\/li>\n\n\n\n<li>Composer: 1.6.5 or higher.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What We\u2019re Going To Use:<\/strong><\/h2>\n\n\n\n<ul>\n<li><strong>OS: <\/strong>Ubuntu 20.04<\/li>\n\n\n\n<li><strong>Server: <\/strong>Apache 2<\/li>\n\n\n\n<li><strong>RAM: 3<\/strong> GB<\/li>\n\n\n\n<li><strong>PHP: <\/strong>7.4<\/li>\n\n\n\n<li><strong>MySQL: 8.0<\/strong> (On localhost)<\/li>\n\n\n\n<li><strong>Node.js: <\/strong>14.x<\/li>\n\n\n\n<li><strong>Curl<\/strong><\/li>\n\n\n\n<li><strong>Composer<\/strong>: 1.10.1<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><span class=\"has-inline-color has-black-color\">So let\u2019s move to Krayin Installation<\/span><\/strong><\/h2>\n\n\n\n<h5 class=\"wp-block-heading\"><strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">STEP 1: Install Prerequisites<\/span><\/strong><\/h5>\n\n\n\n<p>Log in to your <a href=\"https:\/\/cloudkul.com\/blog\/how-to-upgrade-ubuntu-server-from-18-04-to-20-04-version\/\">Ubuntu Server 20.04<\/a> and after logging in, install the necessary application software.<\/p>\n\n\n\n<p><strong>(i) <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Install Apache2, php7.4, and its modules by executing the listed commands in the correct order.<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt update<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt install apache2<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl start apache2.service<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl enable apache2.service<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt-get install -y php7.4 php7.4-{common,gmp,curl,soap,bcmath,intl,mbstring,xmlrpc,mysql,gd,xml,cli,zip} libapache2-mod-php7.4<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2024\/10\/pasted-image-0.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2024\/10\/pasted-image-0-1024x473.png\" alt=\"pasted-image-0\" class=\"wp-image-18458\"\/><\/a><\/figure>\n\n\n\n<p><strong>If any of the PHP modules remains, through this command, you may install it.<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt-get install php7.4-{{ module_name }}<\/pre>\n\n\n\n<p><strong>Check the version of PHP. If it is php7.4.x, then allow the PHP module apache and then rewrite the apache module.<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">php -v<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo a2enmod php7.4<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo a2enmod rewrite<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo service apache2 restart<\/pre>\n\n\n\n<p><strong>(ii) <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Install Curl and Node.js version 10.x<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt-get install curl<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">curl -sL https:\/\/deb.nodesource.com\/setup_14.x | sudo -E bash -<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt-get install -y nodejs<\/pre>\n\n\n\n<p><strong><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/_cszGXyYSVYzC2YQf3DP4n-Kt8WyQOUy52c5peboP2T_AUsnGtcJ8GLxTIJJkwTJWbO6od7VN-hwLAKyMhKPm29Hq4eNbhR0KXy3Pj_aWxqPMWz7dlC8H1cN4wxJujyn8G5zawAn_DWNuWMWlpoEnp4\" alt=\"node\" width=\"624\" height=\"164\"><\/strong><\/p>\n\n\n\n<p><strong>(iii) <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Install the Composer<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">apt install composer -y<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">composer -V<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">STEP 2:<\/span><span style=\"background-color:rgba(0, 0, 0, 0);color:#355e2e\" class=\"has-inline-color\"> <\/span><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">SSH User creation<\/mark><\/strong><\/h5>\n\n\n\n<p>Presently, we were in our server&#8217;s root user, but because of security issues, we do not keep our application code in the directories of the root user. So, we have to create another SSH user for this.<\/p>\n\n\n\n<p>Create an SSH user who will be the owner of the application code. I created an SSH user with the name &#8220;Krayin.&#8221; You can pick any name you want.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo adduser krayin<\/pre>\n\n\n\n<p>This prompts a password window where you can set the password. The remaining fields can be left empty by simply pressing the enter key. After creating a user, we will switch to a new user.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">su \u2013 krayin<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">STEP 3:<\/span><span style=\"background-color:rgba(0, 0, 0, 0);color:#355e2e\" class=\"has-inline-color\"> <\/span><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Download Krayin by using the command below:<\/mark><\/strong><\/h5>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"enlighter\" data-enlighter-highlight=\"1,2,3\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">composer create-project krayin\/laravel-crm<\/pre>\n\n\n\n<p><strong><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/3HoGWhr6e-A5DpML2ZvgpDCRfKz_cCKV5H3DoFpmI6SyIfjdqqy4mBz-FssuysQo7zsr45AWTUihgUORjyeMZ3jtcvOyuCHK5iyqRIf93ei2nHcmMj6q0qlupMl9coq44N-SvUbjkzulGZFlWg1ZWXE\" alt=\"composer\" width=\"624\" height=\"272\"><\/strong><\/p>\n\n\n\n<p><strong><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/QAho_skdVdIjHFwao-AOcr59rOq-R_DPYktaCltXUsmzZVpxzJPQbYYGw7SSCdMwMOFN6u88xmTrDGN_CGCvDNIw03I6FGhVVPgRv6DVJtmS1P9Miht8DuuIylKoYbkRIN_1tM8c4WOV0X4vteb4OyI\" alt=\"composer\" width=\"624\" height=\"221\"><\/strong><\/p>\n\n\n\n<p>After downloading, a directory name &#8220;<strong>laravel-crm<\/strong>&#8221; will be created inside the krayin directory, then go to the public directory \/ laravel-crm. It is the directory that loads index.php.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cd laravel-crm\/public<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">STEP 4:<\/span><span style=\"background-color:rgba(0, 0, 0, 0);color:#355e2e\" class=\"has-inline-color\"> <\/span><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Apache configuration<\/mark><\/strong>amd<\/h5>\n\n\n\n<p>To support the web pages we will configure Apache. So, we need to switch again to the root user for configuring Apache.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo nano \/etc\/apache2\/sites-enabled\/000-default.conf<\/pre>\n\n\n\n<p>You will find the following lines as shown below, after executing the above command.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/var-html.png\"><img loading=\"lazy\" decoding=\"async\" width=\"366\" height=\"95\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/var-html.png\" alt=\"path\" class=\"wp-image-10426\"\/><\/a><\/figure>\n\n\n\n<p>Now, change this to :<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/@localhost-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"463\" height=\"66\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/@localhost-1.png\" alt=\"path\" class=\"wp-image-10427\"\/><\/a><\/figure>\n\n\n\n<p>Save it, and exit the editor.<\/p>\n\n\n\n<p>Furthermore, configure the envvars file by executing the below command :<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo nano \/etc\/apache2\/envvars<\/pre>\n\n\n\n<p>And find these lines :<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/user-data.png\"><img loading=\"lazy\" decoding=\"async\" width=\"343\" height=\"80\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/user-data.png\" alt=\"apache\" class=\"wp-image-10421\"\/><\/a><\/figure>\n\n\n\n<p>Modify the apache run user in this way:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/krayin-user.png\"><img loading=\"lazy\" decoding=\"async\" width=\"304\" height=\"69\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/krayin-user.png\" alt=\"krayin\" class=\"wp-image-10423\"\/><\/a><\/figure>\n\n\n\n<p>And configure file apache2.conf by the following command :<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo nano \/etc\/apache2\/apache2.conf<\/pre>\n\n\n\n<p>You will find the block code as shown below :<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"371\" height=\"152\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/image-1.png\" alt=\"apache\" class=\"wp-image-10321\"\/><\/a><\/figure>\n\n\n\n<p>Modify it to the following code :<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p><em><strong>&lt;Directory \/home\/kryain\/laravel-crm\/public\/&gt;<br>Options FollowSymLinks<br>AllowOverride All<br>Require all granted<br>&lt;\/Directory&gt;<\/strong><\/em><\/p>\n<\/blockquote>\n\n\n\n<p>Save the file and exit the editor.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">STEP 5:<\/span><\/strong> <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Database creation<\/mark><\/h5>\n\n\n\n<p><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">Install <a href=\"https:\/\/cloudkul.com\/blog\/gcp-database-free-tier-mysql-instace-types-pricing\/\">MYSQL Server<\/a> for database creation<\/span><strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\"> <\/span><\/strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">by executing the following commands and when a password is asked after the below two commands, simply press ENTER.<\/span><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt-get install mysql-server<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo mysql -u root -p<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">create database krayindb;<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">CREATE USER 'krayinuser'@'localhost' IDENTIFIED BY 'krayin';<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">GRANT ALL ON krayindb.* TO 'krayinuser'@'localhost' WITH GRANT OPTION;<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">flush privileges;<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">exit;<\/pre>\n\n\n\n<p>Meanwhile, make some changes to the php.ini file<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo nano \/etc\/php\/7.4\/apache2\/php.ini<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p><strong>file_uploads = On<br>allow_url_fopen = On<br>short_open_tag = On<br>memory_limit = 256M<br>upload_max_filesize = 100M<br>max_execution_time = 360<br>date.timezone = America\/Chicago<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p><strong>After all the above-mentioned steps, please enable permission to access your krayin root directory as shown below:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo chmod -R 755 \/home\/krayin\/laravel-crm<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo chown -R krayin:krayin \/home\/krayin\/laravel-crm<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo service apache2 restart<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">STEP 6 : Krayin configuration<\/span><\/strong><\/h5>\n\n\n\n<p><strong>Now, in the laravel-crm directory, open the.env file and fill in the information as listed in the image below.<\/strong><\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/-w4R5GY40X7bidpZHQ4pFJ4XIBrK-iGi9YGH_OLR5UHh2cHJ6W-OPwWl-0WoPzBzpBq50baC7YQ5L2T4ITTJQHFrjg6eaiJViiBqfwrbIfyKmyWGaApKxKwQIq3GLQzVhYgcHbERtcDUDge3FuaQ24c\" alt=\"krayin\" width=\"624\" height=\"177\"><\/p>\n\n\n\n<p><strong>And<\/strong><strong> run <\/strong><strong>the<\/strong><strong> command;<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">php artisan krayin-crm:install<\/pre>\n\n\n\n<p>Following a successful installation, you&#8217;ll receive the message shown below.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/GfYXtliWzMuiPX2HZnBcTPoJqMcdNfovoF6aOuesiKcc-AFt8_fzSURa4-nOmC2O1ifAMgreSi3spjzllVypAtWZNuNKpovIwvJxaWUKg9QUno677Btzm8jY_gbyTbHsTXbk9PD0YdneI9E4VVOgAGY\" alt=\"message\" width=\"624\" height=\"197\"><\/p>\n\n\n\n<p><br><br>In addition, this is what the default admin dashboard looks like.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/Cl3dYxecHMPEpOJyHA61wIrBT-GWdstL46zyywOWufI3MC9U_NZHPM302WG1yi-GvYui00Jjhvm_wOXOfeF68yh4F2y2CmSNwZKCx0tkMiI6vByzRibwwGHv7X1blepoiPHkeBxlEDSwMEgyxnio2uI\" alt=\"installed\" width=\"624\" height=\"253\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Concl<span class=\"has-inline-color has-black-color\">usio<\/span>n<\/strong><\/h2>\n\n\n\n<p>In this tutorial, you learned how to install Krayin on an Ubuntu 20.04 LTS server. <\/p>\n\n\n\n<p>In short, your <a href=\"https:\/\/webkul.com\/ecommerce-website-development-services\/\">eCommerce platform<\/a> is ready to use. You may now proceed with the CRM application and manage your customers on the go.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><span class=\"has-inline-color has-black-color\">Thanks For Reading!<\/span><\/strong><\/h2>\n\n\n\n<p>We hope it works for you! During this blog, you have found something valuable.<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\"><strong>Are you curious about Krayin&#8217;s plans? Simply click the link:<\/strong> <\/mark><a href=\"https:\/\/store.webkul.com\/catalogsearch\/result\/?cat=All+Categories&amp;q=krayin\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>https:\/\/store.webkul.com\/catalogsearch\/result\/?cat=All+Categories&amp;q=krayin<\/strong><\/a><\/p>\n\n\n\n<p><strong>In case of any help or query, please<\/strong>&nbsp;<a href=\"https:\/\/cloudkul.com\/contact\/\"><strong>contact<\/strong><\/a>&nbsp;<strong>us or raise a<\/strong>&nbsp;<strong><a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\">ticket<\/a>.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Krayin CRM is a custom CRM system built on some of the most cutting-edge <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[626],"tags":[3,178,636,568,647,627,643,216,644,645,583,28,646,556],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Krayin Installation On Ubuntu 20.04 LTS - Cloudkul<\/title>\n<meta name=\"description\" content=\"Krayin is a custom CRM system built on some top cutting-edge opensource technologies. So, let&#039;s learn about Krayin installation in this blog.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Krayin Installation On Ubuntu 20.04 LTS - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Krayin is a custom CRM system built on some top cutting-edge opensource technologies. So, let&#039;s learn about Krayin installation in this blog.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-28T09:45:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-13T10:52:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/krayin_installation-1.png\" \/>\n<meta name=\"author\" content=\"Bhawana Dehran\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/\",\"name\":\"Krayin Installation On Ubuntu 20.04 LTS - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2023-12-28T09:45:37+00:00\",\"dateModified\":\"2025-01-13T10:52:56+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/1c8f54067c7f81f91da6df1534ce8d62\"},\"description\":\"Krayin is a custom CRM system built on some top cutting-edge opensource technologies. So, let's learn about Krayin installation in this blog.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Krayin Installation On Ubuntu 20.04 LTS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/1c8f54067c7f81f91da6df1534ce8d62\",\"name\":\"Bhawana Dehran\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5f035955c6c9130a5f553568a78b245c?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5f035955c6c9130a5f553568a78b245c?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Bhawana Dehran\"},\"description\":\"Business Development Executive\",\"url\":\"https:\/\/cloudkul.com\/blog\/author\/bhawanadehran-bd033\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Krayin Installation On Ubuntu 20.04 LTS - Cloudkul","description":"Krayin is a custom CRM system built on some top cutting-edge opensource technologies. So, let's learn about Krayin installation in this blog.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"Krayin Installation On Ubuntu 20.04 LTS - Cloudkul","og_description":"Krayin is a custom CRM system built on some top cutting-edge opensource technologies. So, let's learn about Krayin installation in this blog.","og_url":"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/","og_site_name":"Cloudkul","article_published_time":"2023-12-28T09:45:37+00:00","article_modified_time":"2025-01-13T10:52:56+00:00","og_image":[{"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2021\/12\/krayin_installation-1.png"}],"author":"Bhawana Dehran","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/","url":"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/","name":"Krayin Installation On Ubuntu 20.04 LTS - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2023-12-28T09:45:37+00:00","dateModified":"2025-01-13T10:52:56+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/1c8f54067c7f81f91da6df1534ce8d62"},"description":"Krayin is a custom CRM system built on some top cutting-edge opensource technologies. So, let's learn about Krayin installation in this blog.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/how-to-install-krayin-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Krayin Installation On Ubuntu 20.04 LTS"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/1c8f54067c7f81f91da6df1534ce8d62","name":"Bhawana Dehran","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5f035955c6c9130a5f553568a78b245c?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5f035955c6c9130a5f553568a78b245c?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Bhawana Dehran"},"description":"Business Development Executive","url":"https:\/\/cloudkul.com\/blog\/author\/bhawanadehran-bd033\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/10319"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=10319"}],"version-history":[{"count":62,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/10319\/revisions"}],"predecessor-version":[{"id":19497,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/10319\/revisions\/19497"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=10319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=10319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=10319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}