Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Check and Set Maximum Number of Files

Ui steps
sizesmall

Ui step
  1. Check the maximum number of Linux files with the following command.

    Code Block
    languagebash
ui-stepui-step
  1. [machbase@localhost ~] ulimit -Sn
    1024


  2. If the result is less than 65535, modify the file below and reboot the server.

bash
  1. Code Block
    languagebash
    [machbase@localhost ~] sudo vi /etc/security/limits.conf
    
    
    #<domain>      <type>  <item>         <value>
    #
    
    *               hard    nofile          65535
    *               soft    nofile          65535


  2. Reboot the server and check the value again.

    Code Block
    languagebash
    [machbase@localhost ~] ulimit -Sn
    65535


Check and Set Server Time


Because Machbase is a database that deals with time series data, you need to set the time value correctly on the server where Machbase will be installed.

Setting Time Zone

Since Machbase uses all the data in the local time where the server is located, you need to make sure that the timezone matches the time of the current server.
Make sure it matches the timezone where you are located with the following command: If different, select the correct region from /usr/share/zoneinfo and link.

Code Block
languagebash
[machbase@localhost ~] ls -l /etc/localtime
lrwxrwxrwx 1 root root 32 Sep 27 14:08 /etc/localtime -> ../usr/share/zoneinfo/Asia/Seoul


# You can check the timezone set through the date command.
[machbase@localhost ~] date
Wed Jan  2 11:12:44 KST 2019

Setting Time

If the current local time is not correct, reset the time using the following command.

Code Block
languagebash
[machbase@localhost ~] sudo date -s '2018/12/25 12:34:56'