File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 77sudo yum -y update &&
88sudo yum -y upgrade &&
99sudo yum -y groupinstall " Development Tools" &&
10- sudo yum install -y git-all mesa-libGL
10+ sudo yum install -y git-all mesa-libGL cronie
11+
12+ # Enable and start the ‘cronie’ service. CronTab is missing in AL 2023.
13+ sudo systemctl enable crond.service
14+ sudo systemctl start crond.service
1115
1216# Create Python Virtual Env and install OV Notebooks
1317cd /home/ec2-user
@@ -25,12 +29,15 @@ cd openvino_notebooks
2529/home/ec2-user/openvino_env/bin/python -m ipykernel install --user --name OpenVINO
2630
2731# Download scripts to start Jupyter
28- curl https://raw.githubusercontent.com/psakamoori/scripts /main/start_jupyter.sh -o /home/ec2-user/.start_jupyter.sh
32+ curl https://raw.githubusercontent.com/ravi9/openvino-ami /main/start_jupyter.sh -o /home/ec2-user/.start_jupyter.sh
2933
3034# Give executable permissions to the scripts
3135chmod 755 /home/ec2-user/.start_jupyter.sh
3236
3337# Add cronjob to start jupyter on start of the instance.
34- curl https://raw.githubusercontent.com/psakamoori/scripts /main/add_cron_job.sh -o /home/ec2-user/.add_cron_job.sh
38+ curl https://raw.githubusercontent.com/ravi9/openvino-ami /main/add_cron_job.sh -o /home/ec2-user/.add_cron_job.sh
3539
3640sudo bash /home/ec2-user/.add_cron_job.sh
41+
42+ # Verify cronjobs
43+ sudo crontab -l
You can’t perform that action at this time.
0 commit comments