<h2><br />
<h2>First: You need composer
<p dir="auto"><span>go to: <a href="https://getcomposer.org/download" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://getcomposer.org/download
<p dir="auto">And run code in quotes
<h2>Second: create project with Laravel in your www folder via Composer Create-Project
<p dir="auto"><code>cd /var/www
<p dir="auto"><code>composer create-project --prefer-dist laravel/laravel k
<p dir="auto">Where <strong>k - is a name of your project
<h2>Third: Laravel is installed. Let's configure apache!
<p dir="auto">Create .conf file at /etc/apache2/sites-available with:
<p dir="auto"><img src="https://images.hive.blog/768x0/http://dl2.joxi.net/drive/2016/09/06/0016/0479/1061343/43/6d4dd0ee39.jpg" srcset="https://images.hive.blog/768x0/http://dl2.joxi.net/drive/2016/09/06/0016/0479/1061343/43/6d4dd0ee39.jpg 1x, https://images.hive.blog/1536x0/http://dl2.joxi.net/drive/2016/09/06/0016/0479/1061343/43/6d4dd0ee39.jpg 2x" />
<h2>Fourth: Enable website in apache & restart apache
<p dir="auto"><code>a2ensite [name_of_your_conf]
<p dir="auto"><code>service apache2 restart
<h2>Fifth: It works
<p dir="auto"><img src="https://images.hive.blog/768x0/http://dl1.joxi.net/drive/2016/09/06/0016/0479/1061343/43/52ff0c1b46.jpg" srcset="https://images.hive.blog/768x0/http://dl1.joxi.net/drive/2016/09/06/0016/0479/1061343/43/52ff0c1b46.jpg 1x, https://images.hive.blog/1536x0/http://dl1.joxi.net/drive/2016/09/06/0016/0479/1061343/43/52ff0c1b46.jpg 2x" />
<p dir="auto"><br />
<p dir="auto">Next step (soon): configuring DB