How to Initialize a Local Git Repository

This article is specifically written for a Git section article because the focus of this article is solely on the usage of a Git utility where the main purpose is stated in the title of the article. It is specifying on how to initialize a local Git repository.

There are two scenarios which can be happened in the real situations. It is classified as both using an empty folder or a folder with the content already available. Below are those descriptions :

1. Initializing Local Git Repository in an empty folder :

It starts with creating a new folder named ‘git-folder’ and then the command responsible for initializing it will be executed as follows :

Continue reading “How to Initialize a Local Git Repository”

Git Cheat Sheet Command Page

Initialize an empty repository with either an empty folder or an already filled folder.

git init

Add files or folders to be committed

git add .

Commit files or folders

git commit -m "Commit Message"

Add Git Repository Address

git remote add remote_git_repository_name remote_git_repository_url_address

Continue reading “Git Cheat Sheet Command Page”

How to Change zabbix admin password

This is an article where the main purpose is to show how to change the password of an administrator role for accessing Zabbix management page as specified in the title of this article. The steps for accomplishing that purpose is by doing sequences of command follows :

1. Basically, just access the database which is responsible for storing data related with zabbix. In the context of this article, it is MySQL Database Server since zabbix is using it as the database engine.  For accessing MySQL Database Server via command, the article in this link which has the title of ‘MySQL Database Access from Command Line in Linux’ that can be a help.

  1. Select the database which is used by zabbix.  It can be done by executing the following command :

Continue reading “How to Change zabbix admin password”

Samba Cheat Sheet Command Page

Mount Sharing Folder in a other Server, Workstation running Linux Samba Shared Directory or Folder

mount -t cifs // /mnt/mount_point_name/ -o username=samba_username_for_access

Example :

user@hostname:~# mount -t cifs // /mnt/test/ -o username=mike
Password for mike@// ****************

How to Solve Laravel Error Message : SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘column_name’ in ‘field list’

This is an article where the focus is the error message triggered upon executing PHP Artisan Tinker to insert a new record into the table in the process of a development of a web-based application using Laravel as its main framework. The main error is shown in the following output :

Continue reading “How to Solve Laravel Error Message : SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘column_name’ in ‘field list’”