官术网_书友最值得收藏!

A pragmatic look at initial configuration

Arriving at this stage means that we have installed the OCS-NG management server. If we had chosen to install the server on Linux, then we would need to fire up our favorite browser and visit the following link. On Windows installations, a new browser is redirected to the following URL:

http://localhost/ocsreports/install.php

This is when we need to specify the MySQL database log in information for our inventory solution. This is important as it must be able to communicate with the database. The user must have the eligible rights to create databases and tables. Under normal circumstances, this user is root. The password is the one we specified earlier. Hostname is localhost, if the MySQL server runs on the same machine as the OCS-NG server (like we did).

A pragmatic look at initial configuration

This step creates a new database called ocsweb, and a new MySQL user ocs with password ocs. The database schema is created according to the specifications OCS-NG is able to work with. It is he user ocs through which our Communication server and Administration server components can exchange information with each other.

Don't worry about security right now, we will discuss it in a later chapter. We can find all of these located in the dbconfig.inc.php file. When we decide to use another user or a password (most importantly) for that user, we will know which file we need to fiddle with.

During this process, everything is verbosely logged as well. Pay attention to the output presented on the web page. The necessary tasks should be carried out without hassles. We are asked to fill in a TAG (if you choose to use that feature), but let's ignore that for now.

As such, we're going to leave that field empty. It is quite annoying as a pop up will appear on the very first run of every client agent later on. TAG can be used silently as well. When we will discuss the TAG field, we will cover methods which can be used to do this elegantly.

A pragmatic look at initial configuration

Once everything is done, we can log into the administration console by clicking on the blue hyperlink that redirects our browser to http://localhost/ocsreports, the initial username is admin with the password admin. We should change these as soon as possible.

Enjoy the administration console. It's a place where you will spend a great deal of time.

A pragmatic look at initial configuration

Congratulations! This means that your OCS-NG server has been successfully installed.

主站蜘蛛池模板: 武夷山市| 宿州市| 尚义县| 略阳县| 鱼台县| 永靖县| 钟山县| 鹤峰县| 夹江县| 云阳县| 孟州市| 松桃| 龙陵县| 玉林市| 工布江达县| 西贡区| 巍山| 内丘县| 绥阳县| 通辽市| 泰顺县| 张家口市| 哈巴河县| 荔波县| 建瓯市| 玛沁县| 资中县| 宜宾县| 永泰县| 平原县| 永川市| 南岸区| 古浪县| 绍兴市| 鸡西市| 温州市| 宁明县| 如东县| 比如县| 盐源县| 乌兰浩特市|