Skip to content

Initialization

Akashdeep Dhar edited this page Dec 20, 2024 · 2 revisions
  1. Download the Fedora Linux live images to a certain directory and make the images archive configuration file.

    $ wget https://download.fedoraproject.org/pub/fedora/linux/releases/40/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-40-1.14.iso
    
    $ cp Fedora-Workstation-Live-x86_64-40-1.14.iso /etc/syncstar/images/Fedora-Workstation-Live-x86_64-40-1.14.iso
    
  2. Download the images archive configuration file and make changes to include the recently downloaded image files.

    $ wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/config/images.yml -O /etc/syncstar/images.yml
    
    $ nano /etc/syncstar/images.yml
    
  3. Set the value of the following environment variable as the present location of the images archive configuration file.

    $ nano /home/$(whoami)/.bashrc
    
    $ export SYNCSTAR_ISOSYAML=/etc/syncstar/images.yml
    
  4. Place the username and password for the service authentication purposes in the environment variables while you are at it.

    $ export SYNCSTAR_USERNAME=username
    
    $ export SYNCSTAR_PASSWORD=password
    
  5. Place one or multiple resource sources to collect feed entries from to exhibit on the frontend in the environment variables.

    $ export SYNCSTAR_FEED_FEDORA_ONE=https://fedoramagazine.org/feed
    
    $ export SYNCSTAR_FEED_FEDORA_TWO=https://communityblog.fedoraproject.org/feed
    
  6. Enable and start the Redis service unit for the worker service of SyncStar to exchange tasks during the service runtime.

    $ sudo systemctl enable redis.service
    
    $ sudo systemctl start redis.service
    
Clone this wiki locally