-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMaintenance Operations
119 lines (90 loc) · 3.97 KB
/
Maintenance Operations
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Maintenance operations as root in deeplar
=========================================
Date: 4 Apr 2022, [email protected]
-----------------------------
* Reset mike password
* Installed docker as root
* Followed instructions from: https://en.opensuse.org/Docker
** sudo zypper install docker python3-docker-compose
** sudo systemctl enable docker
** sudo usermod -G docker -a $USER
** sudo systemctl restart docker
** Found this error:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version":
dial unix /var/run/docker.sock: connect: permission denied
* So, following the instructionss of
https://www.digitalocean.com/community/questions/how-to-fix-docker-got-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket
* did the following:
** sudo chmod 666 /var/run/docker.sock
* Edited /etc/group and added mike, DanielCoelho11 and pazevedo to docker group
Date: 10 Oct 2022, [email protected]
-----------------------------
* Due to the problem described in issue #6 and #7, I run the following command:
** sudo systemctl enable nvidia-persistenced
* and also updated OpenSuse sofware with:
** sudo zypper refresh
** sudo zypper update
Date: 10 Oct 2022, [email protected]
-----------------------------
* Due to the problem described in issue #7, I updated the nvidia drivers following the instructions of https://en.opensuse.org/SDB:NVIDIA_drivers
** zypper addrepo --refresh 'https://download.nvidia.com/opensuse/leap/$releasever' NVIDIA
** zypper in x11-video-nvidiaG05
** zypper in nvidia-glG05
Date: 11 Oct 2022, [email protected]
-----------------------------
* Due to problems running carla docker container (issue [#8](https://github.com/lardemua/deep/issues/8)), I had to add more permissions to gpu devices (https://github.com/NVIDIA/nvidia-docker/issues/657)
** sudo sed -i 's/660/666/g' /etc/modprobe.d/50-nvidia-default.conf
** sudo /sbin/mkinitrd
Date: 8 Nov 2022, [email protected]
-----------------------------
* Due to latency issues (issue [#8](https://github.com/lardemua/deep/issues/8)), I installed a USB-Ethernet adapter and configured the ethernet interface eth1 pasting the following lines into /etc/sysconfig/network/ifcfg-eth1:
```
NAME='eth1'
BOOTPROTO='static'
ONBOOT='yes'
IPADDR='193.137.171.109/24'
MTU='1500'
STARTMODE='auto'
GATEWAY=193.137.171.254
```
* and the following line into /etc/sysconfig/network/ifroutes-eth1:
```
default 193.137.171.254
```
Date: 11 Nov 2022, [email protected]
-----------------------------
* Add new user:
** sudo useradd -m andre -c "Andre Cardoso"
Date: 16 Dec 2022, [email protected]
------------------------------
* Added new user for Gonçalo Ribeiro
** sudo useradd -m gribeiro -c "Gonçalo Ribeiro"
** edited /etc/group and added gribeiro to the groups: docker, video
* reset the password to a temporary name with the command:
** sudo passwd gribeiro
Date: 29 Dec 2022
-----------------
* Added new user for Afonso Castro
** sudo useradd -m acastro -c "Afonso Castro"
** edited /etc/group and added acastro to several groups: docker, video
* reset the password to a temporary name with the command:
** sudo passwd acastro
* Added new user for Joel Baptista
** sudo useradd -m jbaptista -c "Joel Baptista"
** edited /etc/group and added jbaptista to several groups: docker, video
* reset the password to a temporary name with the command:
** sudo passwd jbaptista
Date: 1 Fev 2023
----------------
* Added new user for João Alves
** sudo useradd -m joaoalves -c "Joao Alves"
** edited /etc/group and added joaoalves to several groups: docker, video
* reset the password to a temporary name with the command:
**sudo passwd joaoalves
Date: 16 Jun 2023
-----------------
*Added new user for Pedro Amaral
** sudo useradd -m pedroamaral -c "Pedro Amaral"
** edited /etc/group and added pedroamaral to several groups: docker, video
* reset the password to a temporary name with the command:
** sudo passwd pedroamaral