software_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software_setup [2022/08/15 12:29] – added more dependency installs reno | software_setup [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | | ||
| - | |||
| - | Note: For setting up a new brewer on an existing computer, skip to [[software_setup# | ||
| - | <hidden Note 2: Code Blocks> | ||
| - | For files, modify the file so it reflects what it indicates. | ||
| - | <code | / | ||
| - | Terminal, enter the command into a terminal. | ||
| - | <code bash| Terminal> | ||
| - | |||
| - | ===== Setting up the computer ===== | ||
| - | - Change the ntp server: ++...|Note: sudo or root access is required to edit this file. When using root command, you will be required to enter the user password.++ <code | / | ||
| - | # | ||
| - | # systemd is free software; you can redistribute it and/or modify it | ||
| - | # under the terms of the GNU Lesser General Public License as published by | ||
| - | # the Free Software Foundation; either version 2.1 of the License, or | ||
| - | # (at your option) any later version. | ||
| - | # | ||
| - | # Entries in this file show the compile time defaults. | ||
| - | # You can change settings by editing this file. | ||
| - | # Defaults can be restored by simply deleting this file. | ||
| - | # | ||
| - | # See timesyncd.conf(5) for details. | ||
| - | |||
| - | [Time] | ||
| - | NTP=time.nrc.ca | ||
| - | FallbackNTP=time.chu.nrc.ca | ||
| - | # | ||
| - | # | ||
| - | # | ||
| - | </ | ||
| - | - Restart time service and sync the time.< | ||
| - | |||
| - | - Run an update and upgrade. <code bash Terminal> | ||
| - | - Install required applications/ | ||
| - | pip3 install numpy panads matplotlib</ | ||
| - | - Add the fingerprint for exp-studies by connecting to it via ssh. <code bash Terminal> | ||
| - | - Restart the apache service. <code bash Terminal> | ||
| - | - Move the required files onto the linux computer from: <code bash Terminal> | ||
| - | cd " | ||
| - | - Move the files to the appropriate location. <code bash Terminal> | ||
| - | sudo chmod 777 /bin/dosbox | ||
| - | cp -r schedule_task ~/ | ||
| - | cp Desktop/* ~/Desktop/ -r | ||
| - | mkdir ~/brews | ||
| - | chmod 777 ~/ | ||
| - | - Setup the log form< | ||
| - | cd brewer_log/ | ||
| - | sudo sh brewer_log_form_install_1.sh ; sh brewer_log_form_install_2.sh | ||
| - | sudo chmod -R 775 / | ||
| - | chmod 600 "/ | ||
| - | chmod 777 / | ||
| - | </ | ||
| - | - Setup Samba user/ | ||
| - | - Add the user %%brewer%% to the dialout group< | ||
| - | - Download year mover and creator script from the github (Request access from Reno.Sit@canada.ca if you do not have access.)< | ||
| - | mv Brewer_setup/ | ||
| - | mv Brewer_setup/ | ||
| - | mv Brewer_setup/ | ||
| - | mv Brewer_setup/ | ||
| - | mv Brewer_setup/ | ||
| - | mv Brewer_setup/ | ||
| - | chmod +x ~/ | ||
| - | chmod +x ~/ | ||
| - | sudo rm Brewer_setup/ | ||
| - | - Setup the crontab. <code bash Terminal> | ||
| - | 25,55 0-3,5-22 * * * / | ||
| - | 15 4 * * * / | ||
| - | 0 | ||
| - | 0 | ||
| - | 0 | ||
| - | 31 06,18 * * * / | ||
| - | 45 * * * * python3 / | ||
| - | |||
| - | </ | ||
| - | - Setup the VNC, and the clock to auto start. Run the [[creator.py|creator script]]< | ||
| - | - Type 5 and press enter, then type 1 and enter then type in //vnc// | ||
| - | - Type 5 and press enter, then type 1 and enter, then type in //clock// | ||
| - | - Setup samba via the [[creator.py|creator.py]] (You must run this with sudo) | ||
| - | |||
| - | ===== Setting up the brewer software ===== | ||
| - | - Move the brewer folder (I.E. Br#026) into <code bash Terminal>/ | ||
| - | - Run the [[creator.py|creator script]]< | ||
| - | - Pick option 1 and follow the instruction on the screen | ||
| - | - Pick option 2 to create the data transfer scripts | ||
| - | - Pick option 4 to config the dosbox config and follow the instruction on the screen | ||
| - | - Pick option 5 to setup the auto start script. Type as the script name// | ||
| - | - Pick option 7 to setup the shortcuts creator | ||
| - | |||
| - | ===== TO BE ADDED ===== | ||
| - | |||
| - | sudo vi / | ||
| - | change the User and Group to brewer | ||
| - | |||
| - | run chmod 600 / | ||
software_setup.1660566565.txt.gz · Last modified: 2022/08/15 12:29 by reno