Latest posts

Browse topics

How to Install & Config Drupal 8 on Ubuntu 14.04 + Ngnix

In this article I will provide information how to install latest Drupal 8 version on Ubuntu 14.04 machine with Nginx.

Tools involved: Putty, Notepad++

I assume you have already configured Nginx on your machine, if not, here is a tutorial for LEMP Server Ubuntu 12.04 for serving Drupal on Nginx, don't be afraid of version 12.04, as in version 14.04 the only differences that might occur are in Ngnix config blocks, which I will cover in this article.

If you are looking for a great VPS server, try Linode, I have been using it for more than 4 years and can only highly recommend, their VPS starts $10/mo.

Now, once you have all set up, open Putty and login to your server with sudo privileges:

Add new virtual domain

sudo mkdir -p /srv/www/reinisfischer.com/{public_html,logs}
sudo usermod -a -G www-data admin
sudo chown -R www-data:www-data /srv/www
sudo chmod -R 775 /srv/www/reinisfischer.com sudo

Make sure you change admin in second row to your username

Configure Nginx to serve Drupal 8

Add a new server_name

sudo nano /opt/etc/nginx/sites-available/reinisfischer.com

copy/paste code bellow (make sure you change reinisfischer.com to your actual domain name)

server {
        listen   80; ## listen for ipv4; this line is default and implied
        #listen   [::]:80 default ipv6only=on; ## listen for ipv6
        
        # This is the full path to your index file 
        root /srv/www/reinisfischer.com/public_html;
access_log /srv/www/reinisfischer.com/logs/access.log;
error_log /srv/www/reinisfischer.com/logs/error.log;
        # Make site accessible from http://localhost/
        # This will be your domain name
        server_name progressus.lv;

location = /favicon.ico {
    log_not_found off;
    access_log off;
  }
 
  location = /robots.txt {
    allow all;
    log_not_found off;
    access_log off;
  }
 
  # This matters if you use drush
  location = /backup {
    deny all;
  }
 
  # Very rarely should these ever be accessed outside of your lan
  location ~* \.(txt|log)$ {
    deny all;
  }
rewrite ^/core/authorize.php/core/authorize.php(.*)$ /core/authorize.php$1;
 
  location ~ \..*/.*\.php$ {
    return 403;
  }
 
  location / {
    # This is cool because no php is touched for static content
    try_files $uri @rewrite;
  }
 
  location @rewrite {
    # Some modules enforce no slash (/) at the end of the URL
    # Else this rewrite block wouldn't be needed (GlobalRedirect)
    rewrite ^/(.*)$ /index.php?q=$1;
  }
 
  location ~ \.php$|^/update.php {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
    include fastcgi_params;
 fastcgi_index index.php;    
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_intercept_errors on;
    fastcgi_pass 127.0.0.1:9000;
    

    # Set cache key to include identifying components

    fastcgi_cache_valid 200 301 15s;
    fastcgi_cache_valid 302     1m;
    fastcgi_cache_valid 404     1s;
    fastcgi_cache_min_uses 1;
    fastcgi_cache_use_stale error timeout invalid_header updating http_500;
    fastcgi_ignore_headers Cache-Control Expires;
    fastcgi_pass_header Set-Cookie;
    fastcgi_pass_header Cookie;
    
    ## Add a cache miss/hit status header.
    add_header X-Micro-Cache $upstream_cache_status;
    
    ## To avoid any interaction with the cache control headers we expire
    ## everything on this location immediately.
    expires epoch;
    
    ## Cache locking mechanism for protecting the backend of too many
    ## simultaneous requests.
    fastcgi_cache_lock on;
  }
 
  location ~* ^(?!/system/files).*\.(js|css|png|jpg|jpeg|gif|ico|ttf|svg)$ {
    ## If the image does not exist, maybe it must be generated by drupal (imagecache)
    try_files $uri @rewrite;
    expires 7d;
    log_not_found off;
  }

  ## private files protection
  location ~ ^/sites/.*/private/ {
    access_log off;
    deny all;
  }
}

CTRL+O and Enter CTRL+X to exit

Make a symlink

sudo ln -s /opt/etc/nginx/sites-available/reinisfischer.com /opt/etc/nginx/sites-enabled

Restart Nginx

sudo /etc/init.d/nginx restart

Download Drupal 8

I'm going to use wget to download latest Drupal 8 version (as of writing: 8.2.1)

cd /srv/www/reinisfischer.com
sudo wget http://ftp.drupal.org/files/projects/drupal-8.2.1.tar.gz
sudo tar -xvzf drupal-8.2.1.tar.gz
sudo cp drupal-8.2.1/* public_html/ -R
sudo chown www-data:www-data public_html -R

Now, open phpMyAdmin and create a new database (we will need latter)

Next, you should point your DNS entries, allow them to populate and visit your site via the browser (you can cheat this by entering your domain name and IP in Windows hosts file)

Open your domain name

You should see following screen:

Drupal 8 install screen

Drupal 8 install screen

You can choose which language to set your Drupal installation, decide and click on Save and Continue

Choose Drupal vesrion

Choose Drupal version

You can choose to install Standard on Minimal. If you are new to Drupal and just exploring, Standard will be fine. If you will choose Minimal - that's fine too, but you will need later to define your content types et.c. Standard will suit in 90% cases. Once you have decided, click on Save and Continue.

Drupal database configuration

Drupal database configuration

Enter details for your database (you created it via phpMyAdmin). Again, Save and Continue

It might take some time (about a minute) while Drupal will finish installation, and you will be prompted with the final window, asking to enter site maintenance and other details.

Drupal Site Configuration

Drupal Site Configuration

Here you should give your site a name, enter administrator email address and choose Username (don't use admin, use something generic)

Congrats, you just finished Drupal 8 installation!

Default Drupal 8 homepage

Default Drupal 8 homepage

Happy Drupalling!

Mastis Lake in Telšiai, Lithuania

Mastis lake is located in the town of Telšiai, Lithuania.

There is a dwelling houses located in the shores of lake Mastis, and seems there is a nice recreational area built closer to the Telsiai city center.

View towards lake Mastis

View towards lake Mastis

Captured from the parking lot of Guesthouse Sinchronas, we stayed here for one night in August, 2016.

Recreational area near lake Mastis

Recreational area near lake Mastis

Probably you can rent some boat here and enjoy a lovely boat ride.

Guesthouse Sinchronas in Telšiai, Lithuania Review

It was on the eve of my birthday (August 2016), and we decided to celebrate it in Vilnius, Lithuania. We took our Honda CRV car, crossed Latvia / Lithuania border through Priekule, made few remarkable stops at places like - St. Michael Archangel Church in Mosėdis, Idol Hill (Alkakalnis) near Salantai, Žemaitė Memorial Museum, Bukantė Manor Homestead and finaly we had a stop at Restaurant 'Porto' Near Plunge at which, eating our pizza and using booking.com we booked Guesthouse Sinchronas in Telšai for tonight's stay. 

As my birthday was coming, we wanted to book a decent (not luxury, but decent) hotel somewhere in this part of Lithuania, as it was getting late already. Guesthouse Sinchronas in Telšai promised to have 4 stars.

Well, huge was our disappointment, when in place of 4 stars we actually got a 2 stars with a minus. No don't get me wrong - it's a decent guesthouse, with clean rooms, roof terrace and kind of restaurant. It just lucks a normal parking lot, an elevator (guesthouse rooms are located in the third or fourth floor) and what the most funniest - in the bathroom it featured half cut SafeGuard soaps still in the plastic container). A very 4 star, right?

To make, it even worst we got a tiny queen size bed. As we arrived late, complained a lot, the restaurant on site was already closed, the only option to find some food, was Statoil petrol station about 5 minute drive away, to make things complicated, the receptionist at start didn't wanted to allow us leave guesthouse, as she has to lock guesthouse door and we will be locked out. I then replied, lady is this a guesthouse or students dormitory? We got our street food at Statoil, returned to guesthouse, slept well and left early in the morning. 

To make this situation clear, I would say following - the guesthouse is OK, but that nights shift lacked any elementary hospitality skills (Worst service in the Baltic countries for sure).

Night view towards lake Mastis

Night view towards lake Mastis

Guesthouse Sinchronas is located in the centre of Telšiai offering great views of the Old Town and the Lake Mastis. 

I installed a tripod and made few long exposures of Telsiai night view. The views are great!

Our room at guesthouse Sinchronas

Our room at guesthouse Sinchronas

It is said - The rooms are air-conditioned and come with free Wi-Fi. Featuring elegant, modern interiors and furniture made of dark wood, the rooms are equipped with a flat-screen TV with satellite channels. The private bathroom has a shower cabin and a hairdryer.

Telsiai Old Town

Telsiai Old Town

Small and lovely Lithuanian town.

Restaurant / dinning hall

Restaurant / dinning hall

Our free breakfast were served here. 

Guesthouse Sinchronas

Guesthouse Sinchronas

The Telšiai Train Station is 1 km away and the Bus Station is 1.5 km from the guesthouse. The lake is just about 200 m from Sinchronas. 

5 Days In Georgia Itinerary List - Make Most Of Your Trip

For the second time, I felt like a real tourist in Georgia.

Let me explain - I have been living in Georgia for more than 5 years, thus for the past two years I'm spending the Summer months in Latvia.

This year we were absent from Georgia for about 6 months, and when returned - we had no choice but to travel a lot across the country, as the friends of my partner joined us during our journey back home to Tbilisi. 

We booked our flight back to Georgia (Tbilisi) already at the start of August (back then I was still busy with brick-and-mortar things performing home remodeling works). Friends of my partner planned to visit Georgia for the very first time. Our flight was on the same day, on the same plane. Instead of a typical week of doing nothing, after return, we had a very busy first 5 days in Georgia.

Our story starts at Tbilisi airport, I had called before to my driver and asked him to pick us up at the airport, but as it might happen in Georgia, he was late for some 30 minutes, and I had a chance to listen to almost all taxi drivers tempting offers, promising to take us to the city center starting 50 GEL (TIP: the normal fare to pay for a taxi driver from the airport to the city center is about 30 GEL).

Day 1: Arriving in Tbilisi

We have a nice apartment in Tbilisi, and we kept it renting even during our absence, the chances are, if you are a newcomer to Georgia, you will need to find a hotel/hostel, I'm not a hotel export regarding Tbilisi, but take a look on following listings: Top 10 Boutique / Luxury Hotels in Tbilisi (Georgia)

We bought some eggs and sausages at the local Avlabari night shop, during our ride from the airport, and prepared fresh breakfasts at 5:00 AM, gosh, it was good to be home again. After breakfast, we had a sleep for a few hours as we agreed to spend the first day in Tbilisi.

The first sightseeing started at Tbilisi Old Town and of course Narikala fortress. From the fortress amazing pictures can be taken, so we spent here some time, and later climbed down for a lunch, which we had at, probably the most tourist place in the city -  Samikitno / Machakhela Restaurant on Meidan Square. I took our guests to another great Chebureki place, run by a lady from Belarus in the Abanotubani district - Sachebureke Abanotubanshi (Cheburek Cafe on Abanotubani)

A must-have activity during our trip to the Old to was to visit the famous Tbilisi Sulphur baths, so we agreed to visit them just shortly after our lunch. One hour at bathhouses will cost you about 30 GEL, and most probably will be enough. (I sometimes prefer to take 2 hours, but it depends).

Now, after bathing in healthy Tbilisi sulfur waters we took a street taxi and headed back to the apartment, to have some rest, as tomorrow promises to be a really long day! Oh, almost forgot - the tasty shaurma on Tamar Mephe street was a dot on I, for this evening.

Day 2: Borjomi, Akhaltsikhe, and Vardzia

Now, let me be clear - this trip is possible in one day, but it's recommended to plan at least two or even three days for this trip.

Our driver arrived early in the morning and we left for Borjomi, making a stop at a Jvari monastery. It was planned to visit Mtskheta also, but since we had a lot to drive today, we agreed to visit Mtskheta in the evening (we didn't make it after all).

The next stop is a Green monastery (skulls and bones). From here a short visit to Borjomi Mineral water park and a drive by the cable car.

The next stop is Akhaltsikhe town and visits the Rabati fortress (entrance fee 5GEL). Plan a few hours here, as there is a lot to see. Prior to Rabati, we ordered shaslik at the nearby roadside cafeteria - Sergo Duqani (trust me..the best shashlik across the country). The owners are simple and friendly people. If you will talk to them a little bit Sergo will make you a little chacha-tasting tour, for sure.

In about one hour's drive from Akhaltsikhe town, there is a Vardzia Cave Town - The caves stretch along the cliff for some five hundred meters and in up to nineteen tiers. The Church of the Dormition, dating to the 1180s during the golden age of Tamar and Rustaveli, has an important series of wall paintings. The site was largely abandoned after the Ottoman takeover in the sixteenth century. 

It was dark already, we ordered a few bottles of Georgian wine at a local restaurant near Vardzia (they have ridiculously cheap wine 15 GEL per bottle) and the funniest part of the trip started. We were back to Tbilisi around 2:00 AM, drunk and hungry. The best place to have a meal I insisted was restaurant Tiflis (Saarbrucken square). I have no clue how much we paid here, but we ate a lot, and our guests even started making Georgian tosts. Gaumarjos Sakartvelo!

Day 3: Mount Kazbegi and Gergeti Church

This morning started just as the previous (except a really little hangover) - our driver was at our place around 8:00 AM and we left for Gergeti Church, driving Georgian military road, making stops at Zhinvali Water Reservoir, Ananuri castle complex, and pretty impressive Russia - Georgia friendship monument. At the evening we had a nice Georgian style supra at a very good roadside restaurant near Natakhtari - see Chashnagiri Restaurant Review in Natakhtari.

In the evening before arriving at the apartment we made a stop at Tbilisi Mall to buy some ingredients for breakfast.

The head picture of this article is taken in the footsteps of mount Kazbegi, near Gergeti Church - let's name it - A walk in the clouds!

Day 4: Kakheti trip, Sighnaghi, Wine tasting and more

Today was a pretty cloudy day, and we didn't have a chance to see the true beauty of Kakheti (Alazani valley), but still, we had a route to do. I have crafted this route separately, see Day Trip to Kakheti in Georgia, we did basically the same route with some minor changes.

We took a lovely breakfast at some of the roadside cafeteria somewhere near Sagarejo, after which visited Bodbe monastery near Sighnaghi (bought some souvenirs here). The town of Sighnaghi was covered in mist, and we actually didn't see anything form the beauty of Sighnaghi, I bought a bottle of Georgian brandy and offered to visit at least Sighnaghi museum (Pirosmani works are exhibited here). After few sips of 10-year-old Georgian brandy - I discovered I really like this guy and his naive painting style.

Next stop - impressive wine tunnel near Kvareli, see: Wine Tunnel Near Kvareli in Georgia (Winery Khareba),  It features not only exotic manmade tunnel built in the rocks, but it also has a large territory offering interesting attractions related to Georgian heritage. Guests can book a wine tasting tour here and will be provided with best selection wines from winery Khareba. We took the guided tour for 7 Lari without wine tasting here. As we will taste wine in another winery - Kindzmarauli Corporation Wine House in Kvareli, Georgia (here for 8 lari is offered both wine tasting and a short excursion to the winery).

At this point it felt, it's too many impressions already and let's leave back for Tbilisi, but my good old friend - driver insisted let's go to the Nekresi monastery and after to Gremi Church (we had no option, but to agree). Thus we skipped Nekresi, as it was already getting late, and we got scammed a little bit after bought tickets for a minivan (there is a minivan service taking tourists to Nekresi) - we had to wait in the line for more than one hour - the weather wasn't the best, we were just too tired..and we just skipped Nekresi (don't be like us were, take Nekresi - it is one of the most beautiful monastery complexes in Georgia). 

From Gremi we headed to Telavi, making stop at local khinkali place Cafe Bari - Zodiako, just khinkali and beer served here. Cheap and tasty. A little bit neglected as well. Paid a short visit to Telavi market (really good market) and returned back home to Tbilisi. The driver was kind of pity we didn't visit Nekresi and wanted to show us something more (but trust me, our batteries were off - and all I could think about was getting back to Tbilisi and have some sleep), and then he proposed - would you love to see the tree? No!, we instantly replied. The driver lowered his shoulders, and did what a real Georgian man does - he took us to the Giant Plane tree in Telavi. Amazing.

Late in the evening we went to the delicious Azerbaijani restaurant Agha near circus in Tbilisi.

Day 5: Last evening in Tbilisi

In was actually planned to have a fishing tour today, but since our guests had a flight back home tonight, we canceled the fishing tour and decided to have a calm day in Tbilisi. For a fishing trip, it was planed go to Jandari lake.

On that day preparations for Tbilisi city festival Tbilisoba started. 

In the morning we left for Turtle lake, enjoying morning coffee at Intelligentsia Coffee Bar, after some time we left to another great Tbilisi restaurant - Racha, enjoying finest quality wines and mcvadi (grilled meat). From here on we catch a street taxi, returned to the apartment, had some rest and in the evening made the last sightseeings around Tbilisi Old Town. 

The bridge of Piece, Rike Park, are just a few to name.

Book an individual tour in Georgia now!

So here you go - 36 amazing places to visit in Georgia in just 5 days. See All about Georgia for more cool attractions or take a look, why Georgia is the most beautiful country in the World

Telavi Market (Buy Georgian Churchkhelas , Spices or House Wine)

Oh, I love fresh vegetable markets, especially those located in Georgia. One of my favorite markets in Georgia is located in Telavi. I remember once I pulled our vehicle of the road near Gori, and we bough a box with tomatoes, see: Fresh Vegetable Market Near Gori Highway - amazing. In today's article I will provide some info about Telavi market, located in the region of Kakheti.

Make sure you check out other shopping venues.or see a full listings of my discoveries in Georgia: All About Georgia.

In fact, if I have a chance being in this area of Georgia. I'm trying to visit especially this market and buy some groceries for our household here. I love this market because of two reasons - it's much cleaner than those in Tbilisi (see Bazroba) and prices here can be twice as lower than in Tbilisi. Friends of mine who I have taken here, loves this market because of great walnuts and tasty Georgian churchkhelas. If you are a tourist in Telavi, and looking for some tasty souvenirs to take back home - Telavi market is a great destination, then. Churchkhelas, Nuts and wide variety of Georgian spices. 

Georgian churchelas for sale at Telavi market

Georgian churchkhelas for sale at Telavi market

The average price for a piece 2 GEL (as of October 2016). 

Churchkhela is a traditional Georgian candle-shaped candy. The main ingredients are grape must, nuts and flour. Almonds, walnuts, hazel nuts and sometimes raisins are threaded onto a string, dipped in thickened grape juice or fruit juices and dried in the shape of a sausage.

At Telavi market

At Telavi market

Market is pretty clean and you can find almost everything here - starting vegetables, following spices and ending a really tasty meat. Kakhetian's know how to serve!

Dried plates made from fruit juice

Dried plates made from fruit juice

What might looks as Armenian basturma at start, actually are some cool dried plates made from different fruits, apricots, for example. If honest, I hae no clue how to use them, but they taste great. Give it a try, ask for a tasting before purchasing.

Georgian traditional spices

Georgian traditional spices

Get your favorite Georgian spices here p barberry, sumakhi, cumin, adjika, swan salt, you name it.