software_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software_setup [2023/05/02 13:28] – fixed typo in rsync paul | software_setup [2025/11/06 16:57] (current) – reno | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| - Run an update and upgrade. <code bash Terminal> | - Run an update and upgrade. <code bash Terminal> | ||
| - | - Install required applications/ | + | - Install required applications/ |
| - | sudo pip3 install | + | |
| - Add the fingerprint for exp-studies by connecting to it via ssh. <code bash Terminal> | - Add the fingerprint for exp-studies by connecting to it via ssh. <code bash Terminal> | ||
| - Restart the apache service. <code bash Terminal> | - Restart the apache service. <code bash Terminal> | ||
| - | - Move the required files onto the linux computer from: <code bash Terminal> | + | - Move the required files onto the linux computer from: <code bash Terminal> |
| cd " | cd " | ||
| - Move the files to the appropriate location. <code bash Terminal> | - Move the files to the appropriate location. <code bash Terminal> | ||
| + | sudo mv icfb /bin/ | ||
| + | sudo mv getbrew /bin/ | ||
| + | sudo mv tailb /bin/ | ||
| sudo chmod 777 /bin/dosbox | sudo chmod 777 /bin/dosbox | ||
| + | sudo chmod 777 /bin/icfb | ||
| + | sudo chmod 777 / | ||
| + | sudo chmod 777 /bin/tailb | ||
| cp -r schedule_task ~/ | cp -r schedule_task ~/ | ||
| + | rsync -rthv --delete -e "ssh -i " | ||
| cp Desktop/* ~/Desktop/ -r | cp Desktop/* ~/Desktop/ -r | ||
| mkdir ~/brews | mkdir ~/brews | ||
| chmod 777 ~/ | chmod 777 ~/ | ||
| - Setup the log form< | - Setup the log form< | ||
| - | cd brewer_log/linux | + | cd brewer_log |
| - | sudo sh brewer_log_form_install_1.sh ; sh brewer_log_form_install_2.sh | + | sudo sh brewer-logform-mitgrate.sh |
| - | sudo chmod -R 775 / | + | |
| - | chmod 600 "/ | + | |
| - | chmod 777 / | + | |
| </ | </ | ||
| - Setup Samba user/ | - Setup Samba user/ | ||
| - Add the user %%brewer%% to the dialout group< | - 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> | - Setup the crontab. <code bash Terminal> | ||
| - | 25,55 0-3, | + | #25,55 * * * * / |
| - | 15 4 * * * / | + | #15 4 * * * / |
| - | 0 * * | + | #31 06,18 * * * / |
| - | 0 | + | #45 * * * * python3 |
| - | 0 0 | + | # |
| - | 31 06,18 * * * / | + | 32 * * * * rsync -vhrult -e "ssh -i "/ |
| - | 45 * * * * python3 | + | 4 20 * * * rsync -rthv --delete -e "ssh -i "/home/brewer/schedule_task/id_depot"" |
| + | 0,30 * * * * / | ||
| + | 0 0 * * * rsync -rthv --delete -e "ssh -i "/ | ||
| + | 0 * * * * /var/www/html/Brewer/ | ||
| </ | </ | ||
| - | - Setup the VNC, and the clock to auto start. Run the [[creator.py|creator script]]< | + | - Setup the VNC, and the clock to auto start. Run the [[creator.py|creator script]]< |
| - Select 'Auto start script' | - Select 'Auto start script' | ||
| - Select 'Auto start script' | - Select 'Auto start script' | ||
| - | - Setup samba via the [[creator.py|creator.py]] (You must run this with sudo) | + | - Setup samba via the [[creator.py|creator.py]] (relaunch BrewerConfig.py |
| + | - Follow the prompts till the end. | ||
| + | - Disable wayland <code |sudoedit / | ||
| + | - Set http:// | ||
| + | - Set the computer sleep turn off display to Never | ||
| - | ===== 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 ===== | ===== TO BE ADDED ===== | ||
| Line 91: | Line 83: | ||
| sudo vi / | sudo vi / | ||
| change the User and Group to brewer | change the User and Group to brewer | ||
| - | |||
| - | run chmod 600 / | ||
| Disable Wayland | Disable Wayland | ||
| <webcode name=" | <webcode name=" | ||
| - | <code |sudoedit | + | <code | / |
| WaylandEnable=false</ | WaylandEnable=false</ | ||
| - | < | + | < |
software_setup.1683034124.txt.gz · Last modified: 2023/05/02 13:28 by paul
