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 //xxx.xxx.xxx.xxx/shared_name /mnt/mount_point_name/ -o username=samba_username_for_access

Example :

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

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’”

How to Solve Laravel Error Message : Call to undefined method stdClass::save()

This article is an article where the focus is about how to solve the error message on the development of a web-based application Project using Laravel as its PHP Framework. But the main point is on generating a new record which is going to be used as a data for testing without even inserting a record from a form or even using a specified query.

For an example, the new record generated below is using PHP Artisan Tinker. But in order to do that, the following prerequisite must be fulfilled :

  1. The direct connection to the database which is going to be used for data testing. The direct connection’s configuration in Laravel web-based application project is defined in a file named .env which is located in the root folder of Laravel web-based application project.
  2. The next is the model which is generated and one way to accomplish it by executing the command ‘php artisan make:model’.
  3. By generating the model, in this context it is the model which is associated with one certain table where it can be used as a proxy or a intermediate to fill or to insert a new record to the table.

The error specified is shown as follows :

Continue reading “How to Solve Laravel Error Message : Call to undefined method stdClass::save()”

How to Insert a New Record Using PHP Artisan Tinker in Laravel

This article is an article which is focusing on the writing for a specific subject specified in the title of this article. It is about how to insert a new record using PHP Artisan Tinker in Laravel. To simplify or to insert a new record in a simple way without having to connect to MySQL Database Server as long as the connection itself has been made from inside the Laravel web-based application project. Just execute the following command to start inserting a new record using PHP Artisan Tinker :

Continue reading “How to Insert a New Record Using PHP Artisan Tinker in Laravel”