Author Archive

rsync to Amazon AWS server using PEM file

One liner here: rsync -rave –filter=’merge public/.rsync-filter’ “ssh -i /keypath/key.pem” $PWD/public/* ubuntu@55.55.55.55:/var/www/www.server.com/

Posted on March 24, 2015 at 14:19 by arte · Permalink · Leave a comment
In: English, Linux

How quickly copy one DB to another

Well, this is quite simple actually: mysqldump -u db_user -pYourPass -h 127.0.0.1 database_name_from | mysql -u db_user -pYourPass -h 127.0.0.1 database_name_to

Posted on September 10, 2013 at 18:03 by arte · Permalink · Leave a comment
In: English, Linux, mySQL, Ubuntu

MS’SQL on Ubuntu Linux via PHP

Hi Folks, today we are going to install & use MS’SQL on Ubuntu Linux! Yay! Well, in fact installation is very simple with a tiny twists 😉 Installation (very simple): sudo apt-get install php5-mssql Now how to use it? PHP Code below: // Connect to MSSQL $link = mssql_connect($db[‘from’][‘server_ip’], $db[‘from’][‘username’], $db[‘from’][‘password’]); if (!$link) {     […]

Posted on September 10, 2013 at 15:21 by arte · Permalink · Leave a comment
In: English, Fighting the system, Linux, MS'SQL, Ubuntu

How to add new MySQL user from the command Line

Very simple actually. GRANT ALL PRIVILEGES ON *.* to root@127.0.0.1 identified by ‘secretpassw0rd’

Posted on July 8, 2013 at 16:07 by arte · Permalink · Leave a comment
In: English, mySQL

MS NAV Web Services to/from PHP, receiving and sending data

Some time ago I came across a project where I had to connect MS’NAV and Drupal, two completely different systems one is proprietary (hello MS) and another is PHP & MySql (welcome, open source!) There where few options how both systems could communicate automatically, but unfortunately REST was not available as an option on the […]

Posted on April 2, 2013 at 17:51 by arte · Permalink · 33 Comments
In: Drupal, English, Fighting the system · Tagged with: , ,

How to install SVN server on Ubuntu (via dav_svn aka apache module)

Well, well, well. Today we are going to install subversion on Ubuntu server in a few easy steps. Step1: install all necessary software (considering Apache is up & running already) sudo apt-get install subversion libapache2-svn Step 2: Adding new user called “svn” sudo useradd -d /home/svn -m svn sudo passwd svn Step 3: creating repository […]

Posted on April 1, 2013 at 13:54 by arte · Permalink · Leave a comment
In: Uncategorized

Sendmail alternative – postfix on ubuntu (when PHP doesn’t send emails) in a few easy steps

Imagine you have your new shiny Ubuntu server. You installed your php, apache & mysql and everything seems fine until… you realised your system doesn’t  send emails. If there is a problem – there must be a solution! In our case it’s either install good (… not so in fact) sendmail or postfix. We decided […]

Posted on March 28, 2013 at 12:20 by arte · Permalink · 2 Comments
In: Fighting the system, Linux, Ubuntu · Tagged with: , , , ,

Scuba Diving in Doolin / Ireland. Dolphin and caves.

Well, well, well 🙂 Today I am going to tell you a story of a dolphin, a diver and… lost Go Pro Hero HD2 😉 But first lest start with a nice video of myself Scuba Diving in Doolin on 25 of August 2012: Hope you enjoyed it! What about Lost Camera? Well… on the […]

Posted on August 27, 2012 at 10:16 by arte · Permalink · Leave a comment
In: Uncategorized

Tissot SeaTouch – how to remove error symbol (for example after changing battery)

Have you seen that strange wrench symbol on your watch? I did! And AFTER I changed battery and had my watch pressure tested for as “little” as 43€ 😉 Manual says… TA-DA! Error – Contact service centre. Well, thanks guys! Actually it’s THEY did it to my watch! I had two options – go back […]

Posted on August 1, 2012 at 12:49 by arte · Permalink · 19 Comments
In: English