How to use qcow2 Image on Virtualbox

This is an article written to display or to present about how to use qcow2 image file on Virtualbox. Basically, qcow2 image as far as I know it cannot be used directly to be started or to be booted when the qcow2 image itself is basically an operating system image. To be able to use it, first of all, the qcow2 image needs to be converted. Virtualbox can start or can boot image in the vdi file format. In order for a qcow2 file image can be utilized in the Virtualbox, these steps below must be executed properly :

1. Convert the qcow2 file image. Below is how to convert the file before it can be used in Virtualbox :

qemu-img convert -f qcow2 qcow2_file_name -O vdi vdi_file_name

The command pattern above which is used to convert file image from qcow2 format into vdi format can be executed in a real situation as follows :

Continue reading “How to use qcow2 Image on Virtualbox”

git commit changes not staged for commit Message

This is an article where the commit process is stumbled upon a message stated as in the title of this article. When performing an operation including moving folders, files and even deleting several folders and files, there are operations which is actually doesn’t included into the staging area in the git commit execution as shown below :

git commit -m "Modifying Folder's Structure"

Below is the execution of the command :

user@hostname:/home/user/source$ git commit -m "Source Modification"
[master 620729e] Source Modification
13 files changed, 11 insertions(+)
create mode 100644 app/Application.php
...
user@hostname:/home/user/source$

After committing the already changed files, push it to the Repository Git :

user@hostname:/home/user/source$ git push --set-upstream application
Username for 'http://app.repository.com': user
Password for 'http://user@app.repository.com':
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 1.28 KiB | 0 bytes/s, done.
Total 6 (delta 1), reused 0 (delta 0)
To http://app.repository.com/gitlab/user/application.git
50e9f83..620729e master -> master
Branch master set up to track remote branch master from application.
user@hostname:/home/user/source$ git-ftp push
fatal: Dirty repository: Having uncommitted changes. Exiting...
user@hostname:/home/user/source$ git-ftp push
fatal: Dirty repository: Having uncommitted changes. Exiting...
user@hostname:/home/user/source$ git commit -m "Source Modification"
On branch master
Your branch is up-to-date with 'application/master'.
Changes not staged for commit:
deleted: resources/views/sidebar.blade.php
deleted: resources/views/test/index.blade.php
deleted: resources/views/test/edit.blade.php
deleted: resources/views/test/show.blade.php
deleted: resources/views/test/update.blade.php

no changes added to commit
user@hostname:/home/user/source$

There are some error message shown in the above output of commit process : “fatal: Dirty repository: Having uncommitted changes.”. The changes which is an addition and modification of folders and files are being processed but not the deletion process. It is also shown in the output above : “Change not stated for commit”, it consist of files which are deleted. So, there are nothing in the staging area which involving the deletion process are being committed.

Continue reading “git commit changes not staged for commit Message”

Permission Denied by Server Configuration Apache Webserver for Adminer

This is an article written to inform on how to solve the error triggered which is specified in the title of this article, it is “Permission Denied by Client Configuration”. The error itself is generated in the error log file of Apache Webserver named error.log. The error file normally located in “/var/log/httpd” which is shown in the tree format as follows :

[root@hostname httpd]# tree .
.
├── access.log
└── error.log

0 directories, 2 files
[user@hostname httpd]#

Below is the content of the error which is available in the error.log file as shown below :

Continue reading “Permission Denied by Server Configuration Apache Webserver for Adminer”

iTop Installation Error : Class ‘DBBackup’ not found

The article written discuss on how to handle the error happened in the installation of iTop. What is iTOP actually ?. So, as shown in the title of this article, iTop Installation Error : Class ‘DBBackup’ not found, it is clearly specified that the error is shown in the part of the article’s title “Class ‘DBBackup’ not found”. The error is specifically retrieved from the Apache Webserver error log file named ‘error.log’ as shown below :

[Wed Aug 23 08:07:40.978622 2017] [authz_core:debug] [pid 16830] mod_authz_core.c(809): [client 127.0.0.1:43952] AH01626: authorization result of <RequireAny>: granted
[Wed Aug 23 08:07:40.979722 2017] [:error] [pid 16830] [client 127.0.0.1:43952] PHP Fatal error: Class 'DBBackup' not found in /var/www/html/itop/setup/applicationinstaller.class.inc.php on line 1037

And the installation process just sending a blank page so there is no clue or hint on the error which is triggering it. To be able to solve the problem above, below is the solution taken :

Continue reading “iTop Installation Error : Class ‘DBBackup’ not found”

Git push Error Message [remote rejected] master -> master

This is an article which is written to handle or to solve the problem generated when someone is using Git version control utility to push either files or folders to a Git repository server. The main purpose for executing ‘push command’ is for updating remote refs along with the associated objects. But eventually pushing those files or folders triggered an error message as shown in the title of this article. So, git utility is utilized to push files or folders and suddenly an error message generated : ‘[remote rejected] master->master’. Below is the actual process happened :

  1. After adding and committing files, folders exist in the folder associated or initialized for Git version control, the last action is to push it to remote Git repository. Below is the command pattern :

Continue reading “Git push Error Message [remote rejected] master -> master”

How to Grant Access to Gitlab Repository

Gitlab repository is a software built for managing git repositories in a centralized server equipped with issue tracking, wiki, etc. Holding the concept of continuous integration and continuous development, the software is quite handy and useful. In this article, there is a specific task which is very important as the first step for managing git repositories using Gitlab. That specific task is a task on how to grant access to Gitlab repository. As we already knew, files or folders are maintained in a certain repository. That specific repository where every each of them have their own rules for user whom can be permitted and for user whom is forbidden to access and perform operations on that repository. So, if a specific repository need to be accessed using a certain user, there is several things need to be done before the actual access to that specific repository can be done. Below is how to grant access to a Git repository for a certain user which is done from Gitlab Git repository management.

1. Access Gitlab Git repository management. Below is the image of Gitlab Git repository management :

How to Grant Access to Gitlab Repository
How to Grant Access to Gitlab Repository

Continue reading “How to Grant Access to Gitlab Repository”

How to Perform Automatic Deployment with Git

This article will discuss the automatic deployment that can be performed using Git version control. This article itself inspired by the writing which is posted in the article titled ‘How to Set Up Automatic Deployment with Git with a VPS’ in this link.

This article will describe the scenario which is a simple scenario and based on the scenario itself, it an be developed later on to be adjusted with the real implementation of the automatic deployment according to the need and the condition associated.

The image depicting the scenario which is going to be described in this article can be shown as follows :

Continue reading “How to Perform Automatic Deployment with Git”