Stefan Kecskes

Never stop learning, because life never stops teaching

Move Local Git Repository to Bitbucket

Collaboration thanks to the remote repository As I described in previous post, when I joined to my current company, we hadn’t any versioning system, not even SVN, and we used to FTP all files to a number of backup folders. I introduced Git on local servers. Everything started to seem better, but after some time we started to work with some people from abroad and one of colleagues started to work from home.

Setting up a Git Repository

Code repositories Repositories these days are one of the basic stones of any software development. It allows teams of people to work together on one piece of software and allow every team member to see who made what changes, when and why. Repositories basically holds the copy of all changes made to code and also gives you the latest, most recent version. I don’t want to go deeply into why is it good and why we (developers) can’t live without it.

PHP Modules

Php modules or extensions are pieces of code for PHP, which extends the basic functions and add or improve the existing functions. Some of them are already bundled with PHP and can be easily enabled or disabled. There are also external PHP modules which can be installed to system and then enabled in PHP. Even though you now have installed the PHP you still may come across some issues. Some of the frameworks or libraries will possibly need use of some module which wasn’t added to php.

Apache Modules

Apache modules Apache modules are software components that enhance the functionality and capabilities of the Apache HTTP Server. These modules are designed to extend and customize the server’s core features, allowing administrators and developers to add additional functionalities as per their requirements. Apache modules can be classified into two main categories: core modules and third-party modules. Although each module started as 3rd party module until it was accepted into core modules.

Setup Virtual Host

Create Virtual Host conf Today we will be creating virtual host on Apache2 web server. As one Apache2 web server can serve multiple websites we can later add more configs and tell Apache2 web server to serve all the websites from single unix instance. I will assume that the name of our webserver is website.dev First create a config file: sudo nano /etc/apache2/conf.d/sites-available/website.dev.conf and paste the following configuration into that config file.