StuRa:Server/Ghost: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
K PaulRiegel verschob die Seite Server/ghost nach Server/Ghost
(kein Unterschied)

Version vom 4. August 2018, 19:06 Uhr

Host: srs100034

pauschale Aktualisierung (auf die Schnelle)

pkg update && pkg upgrade -y

Aktivierung zum Zugriff per SSH
sysrc sshd_enable=YES
service sshd start
Erstellung Account pv
adduser
Username: pv
Full name: PV
Uid (Leave empty for default): 
Login group [pv]: 
Login group is pv. Invite pv into other groups? []: wheel
Login class [default]: 
Shell (sh csh tcsh git-shell zsh rzsh nologin) [sh]: zsh
Home directory [/home/pv]: 
Home directory permissions (Leave empty for default): 
Use password-based authentication? [yes]: 
Use an empty password? (yes/no) [no]: 
Use a random password? (yes/no) [no]: 
Enter password: 
Enter password again: 
Lock out the account after creation? [no]: 
Username   : pv
Password   : *****
Full Name  : PV
Uid        : 1001
Class      : 
Groups     : pv wheel
Home       : /home/pv
Home Mode  : 
Shell      : /usr/local/bin/zsh
Locked     : no
OK? (yes/no): yes
adduser: INFO: Successfully added (pv) to the user database.
Add another user? (yes/no): no
Goodbye!
Erstellung Account rj
adduser
Username: rj
Full name: RJ
Uid (Leave empty for default): 
Login group [rj]: 
Login group is rj. Invite rj into other groups? []: wheel
Login class [default]: 
Shell (sh csh tcsh git-shell zsh rzsh nologin) [sh]: zsh
Home directory [/home/rj]: 
Home directory permissions (Leave empty for default): 
Use password-based authentication? [yes]: 
Use an empty password? (yes/no) [no]: 
Use a random password? (yes/no) [no]: 
Enter password: 
Enter password again: 
Lock out the account after creation? [no]: 
Username   : rj
Password   : *****
Full Name  : RJ
Uid        : 1002
Class      : 
Groups     : rj wheel
Home       : /home/rj
Home Mode  : 
Shell      : /usr/local/bin/zsh
Locked     : no
OK? (yes/no): yes
adduser: INFO: Successfully added (rj) to the user database.
Add another user? (yes/no): no
Goodbye!
Installation der benötigten Pakete
pkg install -y nginx node8 npm-node8 bash python3 sudo mariadb102-server
Einrichten von MariaDB
service mysql-server onestart
service mysql-server onestart
Starting mysql.
sysrc mysql_enable=YES