1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Join our Telegram chat: https://t.me/a_parser_en
    Dismiss Notice

Installation and updating

Jun 18, 2020

  • Versions of A-Parser(top)

    A-Parser Release - the last full version of the parser. In more detail about a release of new versions it is possible to read in news on the main page.

    A-Parser Beta - the intermediate version of the parser which is constantly supplemented. In more detail about changes it is possible to read at a forum in the section Next Release. To download the latest version of A-Parser Beta, it is necessary to press the Update button, and after loading of the new version, to download it.

    Installation on Windows(top)

    1. In Members Area check truly whether your IP address (for users at which the dynamic IP address, is required to change the IP address at change on new) is registered
    [​IMG]

    2. Select the tab A-Parser - Downloads
    [​IMG]
    3. Before downloading of the necessary version, should press previously Update button, for updating to the latest version of A-Parser
    4. Download the necessary archive and unzip in any directory
    5. Select the aparser folder and start aparser.exe
    6. After drawing of a window of the server, open in the browser http://127.0.0.1:9091/index.html
    7. By default password is empty

    Known issues(top)

    • Problems with compatibility with Norton Internet Security are known - unstable work of the parser is possible
    • Emsisoft Anti-Malware - unstable work of the parser is possible
    • Guard Mail.ru - need to be removed from system completely
    • Если парсер не запускается или падает в процессе работы с такими записями в логе:
      then you need to disable the indexing service:
      1. Open Services: Start - Run or keys shortcut Win + R, write services.msc
      2. In opened window select Windows Search,press mouse right button and select Properties
      3. In properties tab in General tab change Startup type to Disabled and press Apply
      4. If after that Stop button is active - press it and stop the service
      [​IMG]
    • If the parser does not start, check the presence of a process in the Task Manager processes - HTTPDebuggerSVC.exe. If this process exists, it should be removed from the processes and the parser should be started again.

    Installation on Linux(top)

    One version at the same time is at the moment available to 32- and 64-bit systems. For convenience of downloading from the server temporary links are used, in Member Area press button Get one-time link - it is possible to download a distribution kit at the received link once.
    1. In Members Area select tab A-Parser - IP Configuration and register the IP address
    2. Select the tab A-Parser - Downloads
    3. Before downloading of the necessary version, should press previously Update button, for updating to the latest version of A-Parser
    4. Get a temporary link for downloading
    5. In a shell we come into a directory where we will put (it is impossible to put in a directory about a web access!), and we execute the following commands:


    Sometimes can not be enough some libraries on the server, for example:
    Simply we put missing libraries:
    And anew we start an aparser:
    If isn't given any messages - is testifies to successful start of aparser

    List of troubles and a solution will be provided(top)


    On Debian x64:
    Solution:
    On Debian x64:
    Solution:
    On Debian x64:
    Solution:
    On Ubuntu x64:
    Solution:
    On CentOS x64:
    Solution:
    On CentOS x64:
    Solution:
    On CentOS x64:
    Solution for CentOS release 5.7 (Final):
    Solution for CentOS release 6.3 (Final):
    On CentOS x64:

    There may be a problem with the Vesta panel on CentOS: the parser may not start due to an incorrectly configured firewall (turning it off helps to start the parser).

    Installation on FreeBSD(top)

    Installation is similar as on Linux, it is previously necessary to adjust compatibility with Linux:

    We will update the catalog of a repository of FreeBSD:
    We will establish linux emulator, for a start having loaded linux kernel module:
    We will establish linprocfs, having added entry in /etc/fstab:
    We will add loading of the linux module when loading system, having added in /etc/rc.conf a line:
    In order that changes came into force, it is necessary to execute reset of system:
    After reset to follow instructions on installation on Linux, using Linux A-Parser distribution kit

    Further the list of troubles and a solution will be provided:

    On FreeBSD x64:
    Solution:

    Tuning of Linux for a largest number of threads(top)


    By default Linux limits number of open files and sockets to 1024 on the one user, to increase a limit execute the following commands:
    It is also necessary to increase the table ip_conntrack size:
    (In the absence of a firewall iptables the mistake will be brought to this command - simply ignore it)

    Necessary re-enter in a shell (ssh), then to restart A-Parser
    If you run the parser without root, replace root to the user name

    For check of the current limit it is necessary to execute
    On some systems in addition it is required to write the following line in file /etc/pam.d/common-session:

    Updating of the program(top)

    Attention! Unless otherwise noted, it is enough just to update executable file.

    The instruction of updating of the program for Windows and Linux via the user interface(top)

    • Choose the Updates channel in Global settings
    [​IMG]
    • In the menu Tools select Update A-parser tab
    [​IMG]
    • Check existence of the last updates
    • Press Update button. Updating will happen automatically

    The instruction of manually updating for Windows(top)

    Generally it is enough to replace the executed file of the parser if another isn't specified.
    1. Stop A-Parser - press Stop server button
    2. Download archive in Member Area and rewrite aparser.exe
    3. Start aparser.exe

    The instruction of manually updating for Linux(top)

    1. Stop A-Parser - in the console we execute killall aparser
    2. Download archive in Member Area and rewrite the aparser file
    3. Start aparser - in the console we execute ./aparser
    Example with use of a one-time link:
SergaevOleg likes this.