How to install the Monica Personal Information Management Cloud on Ubuntu 18.04

16

Buy Organic Traffic | Cheap Organic Traffic | Increase Organic Traffic | Organic Traffic


Preserve higher observe of relationships with the open supply cloud/web-based Monica.

Picture: Jack Wallen

Monica is an open supply net/cloud-based Private Relationship Supervisor that may simply function a way to prepare details about shoppers, associates, household, leads, and so forth. In case you’re in search of a web-based device that can allow you to maintain observe of the main points about folks (no matter their relationship to you), Monica is likely to be what you want.

I will stroll you putting in Monica on Ubuntu 18.04. The set up is a bit tough, so be ready to do a bit of labor. With that mentioned, let’s set up.

SEE: Vendor comparability: Microsoft Azure, Amazon AWS, and Google Cloud (Tech Professional Analysis)

What you want

The one belongings you want are a working set up of Ubuntu Server 18.04 and an account with sudo privileges. With these in place, let’s set up.

Putting in dependencies

The very first thing we should do is care for various dependencies. Open a terminal window and problem the next command:

sudo apt-get set up git php php-intl php-json php-cli php-fpm php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath -y

As soon as that command completes, set up composer with the command:

sudo apt-get set up composer -y

Subsequent, we’ll set up the LAMP stack with the command:

sudo apt-get set up lamp-server^ -y

When that completes, safe the MySQL set up by issuing the command:

sudo mysql_secure_installation

Reply the entire questions (and create an admin account password). When that completes, you are prepared to maneuver on.

Making a database and person

Now lets create the mandatory database and person. Subject the command:

mysql -u root -p

When prompted, kind the MySQL admin account password you created earlier. Create the database and person (in addition to give the person the mandatory permissions) with the instructions:

CREATE DATABASE monica;
CREATE USER 'monica'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON monica.* TO 'monica'@'localhost';
FLUSH PRIVILEGES;
exit

the place password is a powerful and distinctive password.

Obtain and configure Monica

Turn into the doc root with the command:

sudo mkdir monica

Create a brand new listing with the command:

sudo mkdir monica

Clone Monica with the next instructions:

git clone https://github.com/monicahq/monica.git
cd monica

Copy the configuration file with the command:

sudo cp .env.instance .env

Open the .env file with the command:

sudo nano .env

Search for (and alter accordingly) the next traces:

APP_URL=SERVER_IP
DB_DATABASE=monica
DB_USERNAME=monica
DB_PASSWORD=password

the place SERVER_IP is the IP (or area) of the server and password is the password you created for the database.

Save and shut that file.

Set up the php packages with the command:

composer set up --no-interaction --no-suggest --no-dev

Generate an software key with the command:

php artisan key:generate

Lastly, run the migration and seed the database/symlink folders with the command:

php artisan setup:manufacturing

When that command completes, it should point out the place you possibly can level a browser. Maintain up; you are not prepared for that simply but. Earlier than you do that, create a brand new cron job (as a result of Monica requires a number of instructions to be run each couple of minutes) with the command:

echo "* * * * * www-data /usr/bin/php /var/www/html/monica/artisan schedule:run"http://www.techrepublic.com/" sudo tee /and so forth/cron.d/monica

Lastly, allow rewrite with the command:

sudo a2enmod rewrite

Configure Apache

The subsequent step is to inform Apache the place the Monica information are. Create a brand new configuration file with the command:

sudo nano /and so forth/apache2/sites-enabled/monica.conf

In that file, paste the next:

<VirtualHost *:80>
    ServerName SERVER_IP/DOMAIN

    ServerAdmin [email protected]
    DocumentRoot /var/www/html/monica/public

    <Listing /var/www/html/monica/public>
        Choices Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Listing>

    ErrorLog /var/log/apache2/monica_error.log
    CustomLog /var/log/apache2/monica_access.log mixed
</VirtualHost>

the place SERVER_IP/DOMAIN is both the IP deal with or area of the server.

Save and shut that file.

Set the correct permissions for the Monica net folder with the instructions:

sudo chown -R www-data:www-data /var/www/html/monica
sudo chmod -R 775 /var/www/html/monica/storage

Restart Apache with the command:

sudo systemctl restart apache

Lastly, open a browser and level it to http://SERVER_IP (the place SERVER_IP is the IP deal with of the server). You’ll be prompted to create an account with Monica (Determine A). When you create an account, you possibly can log in.

Determine A

Figure AFigure A

Registering a Monica account.

You are actually prepared so as to add your contacts to Monica. When you add a contact, you can begin filling in all the main points you want (similar to conversations, cellphone calls, actions, reminders, duties, presents, and way more) to raised maintain observe of these relationships.

Additionally see

Buy Website Traffic | Cheap Website Traffic | Increase Website Traffic | Website Traffic



Source link