Skip to content
Snippets Groups Projects
Select Git revision
  • db359d6f71e1fbd5365366d2c8ff8292df6450ac
  • release default protected
  • workshop
3 results

ccs

  • Clone with SSH
  • Clone with HTTPS
  • This file documents the required steps to get the UVIE EGSE software up and running on a freshly installed (Arch) Linux system.
    
    manjaro-xfce-21.0.5 linux5.10
    
    # Prerequisites
    1) get CCS repository
        $> git clone https://gitlab.phaidra.org/mecinam2/CCS.git
        
    2) install MySQL/MariaDB and set it up
        - mariadb
        - mysql-workbench (optional)
    
        $> sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
        $> sudo systemctl enable --now mariadb
        $> sudo mariadb-secure-installation
        mysql> CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
        mysql> GRANT ALL PRIVILEGES ON * . * TO 'user'@'localhost';
        mysql> FLUSH PRIVILEGES;
    
    3) install packages/devtools
        - gtksourceview3 [<=3.24.11-1]
        - ipython [<=7.*]
        - python-pip
        - make
    
    4) install python modules (to install the modules with pip in ~/.local, you can run 'make install-python-env' in the CCS base directory or use 'pip install [--user] -r requirements.txt')
        - python-numpy
        - python-scipy
        - python-matplotlib
        - python-cairocffi
        - python-mysqlclient
        - python-sqlalchemy
        - python-wheel
        - python-sphinx
        - python-sphinx_rtd_theme
        - python-astropy
        - python-crcmod
        - python-psutil
    
    # Installation
    In the CCS base directory, execute
    
        - first configure egse.cfg!
        
        $> make install-confignator
        $> make ccs-storage
        $> make codeblockreusefeature
        
    # MIB
    Use CCS/Ccs/tools/import_mib.py to import a set of SCOS2000 MIB files into a MySQL DB schema
    
    # CCS & TST
    start_ccs: starts the CCS
    start_tst: starts the TST