User Tools

Site Tools


Sidebar

Υπηρεσίες

Υποστήριξη (Support)

Εργαστήρια

Αίθουσες Διδασκαλίας

Αίθουσες Τηλεδιάσκεψης

Εκτυπωτές και φωτοτυπικά



admin:procedures

This is an old revision of the document!


Λογαριασμοί

Δημιουργία

scylla

# cd /var/yp
# vi master.passwd (προσθήκη χρήστη/αποθήκευση)
# make

uranus

# accmake.sh <user>

Δημιουργία e-mail .forward για προπτυχιακούς 2019-20 και μετά.

gaia

# vi /etc/aliases (προσθήκη χρήστη στη σωστή ομάδα)
# newaliases
# setstats_student.sh <user>
# webmail_welcome.sh <user> (για gcloud redirection)

titan-new (10.7.4.44)

# create_student_quotas.sh <user>

Διαγραφή

uranus

# accdel.sh <user>

gaia

# vi /etc/aliases (διαγραφή χρήστη)
# newaliases
# rm /var/mail/<user>

titan-new (10.7.4.44)

# pkusers --delete <user>

scylla

# cd /var/yp
# vi master.passwd (διαγραφή χρήστη/αποθήκευση)
# make

Τροποποίηση

uranus

# user home rename

gaia

# vi /etc/aliases (μετονομασία χρήστη)
# newaliases
# mv /var/mail/<olduser> /var/mail/<newuser>

titan-new (10.7.4.44)

# pkusers --delete <olduser>
# ./bin/create_student_quotas.sh <newuser>

scylla

# cd /var/yp
# vi master.passwd (μετονομασία χρήστη/αποθήκευση)
# make

Μαζική δημιουργία

e-mail forwarding @uoi.gr

Τοποθέτηση readonly .forward σε κάθε λογαριασμό με προώθηση στο cs{0x5AM}@uoi.gr

for acc in cse9[0-9]*; do echo "cs0"`echo $acc | cut -b 5-8`"@uoi.gr" > ${acc}/.forward; done

Αντίγραφο ασφαλείας

uranus

# cd <home dir parent>
# acctar.sh <user>

gaia

# cd /var/mail
# pigz <user>
# mv <user>.gz /mnt/accounts/mail

Πρόβλημα "error in service module" κατά την αλλαγή password (scylla)

# sh /etc/rc.d/yppasswdd restart

iLO firmware updates

HP iLO update to v1.96 (30/04/2014) for HP DL385(G1)

./CP023365.scexe –unpack=out

HP iLO2 update to v2.33 (20/03/2018) for HP DL380G6

filename: CP035238.scexe

To update firmware from the Linux operating system on target server: Download the SCEXE file to the target server. Execute: sh CP0XXXXX.scexe

To obtain firmware image for updating via iLO user interface, utilities, or scripting interface: Download the SCEXE file to a client running a Linux operating system. Execute: sh CP0XXXXX.scexe–unpack=directory This command will unpack the ilo2_xxx.bin into a user specified “directory”. If the directory does not exist, the unpacker will attempt to create it.

To use HP Smart Update Manager on the Firmware Maintenance CD version 7.50 and later: Place the Firmware Maintenance CD on a USB key using the USB Key Creator Utility. Copy CP0XXXXX.scexe to /compaq/swpackages directory on the USB Key. Follow HP Smart Update Manager steps to complete firmware update.

HP Procurve switches

Reset to defaults

Issue Description:

How do I reset factory defaults on the ProCurve Switch 1810G series?

Solution:

When the “Clear” button is pressed with the “Reset” button, any configuration changes you may have made through the switch console, the web browser interface, and SNMP management are removed, and the factory default configuration is restored to the switch.

Specific steps to execute the factory default reset on the switch are:

1. Using a small, thin tool with blunt ends (such as a paper clip), simultaneously press both the Reset and Clear buttons on the front of the switch.

2. Continue to press the Clear button while releasing the Reset button.

3. When all three Mode LEDs (Act, FDx, and Spd) begin to blink, release the Clear button.

The switch will then complete its self test and begin operating with its configuration restored to the factory default settings.

Note: After completing this procedure, there will be no password, the IP address will be returned to the default 192.168.2.10 acquired from DHCP, and all configuration settings will be returned to factory defaults.

Linux mdadm RAID

RAID 1+0

# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda /dev/sdb
# mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdc /dev/sdd
# mdadm --create /dev/md2 --level=0 --raid-devices=2 /dev/md0 /dev/md1

HP Proliant servers SPP

Gen6-7 servers

Latest 2017.04

Gen1 servers

Latest 2014.06

DRBL - clonezilla server

Προσθήκη νέου μηχανήματος

drbl

add details in /etc/dhcp/dhcpd.conf

# service isc-dhcp-server restart

run /root/bin/clonezilla-config*.sh

boot pass: pxelinux

admin/procedures.1572859540.txt.gz · Last modified: 2019/11/04 11:25 by peppe