A collection of scripts and configs for the John Hartman Lab Server at UAB
|
2 settimane fa | |
---|---|---|
config | 3 settimane fa | |
docs | 2 settimane fa | |
scripts | 3 settimane fa | |
theme | 2 mesi fa | |
.gitignore | 9 mesi fa | |
LICENSE | 2 mesi fa | |
README.md | 2 settimane fa |
ssh
: ssh username@hartmanlab.genetics.uab.edu
(default password is your username)ssh username@hartmanlab.genetics.uab.edu
samba
password (default password is also your username): smbpasswd
Optional: Generate a public-private keypair on your client and copy it to the server for faster and more secure logins.
ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa_4096
ssh-copy-id -i ~/.ssh/id_rsa_4096.pub username@hartmanlab.genetics.uab.edu
ssh
login message for ongoing server status updates.passwd
smbpasswd
ssh
remote loginConnect to the server remotely using the command line.
ssh
X forwardingLaunch graphical programs locally on a client that execute on the server.
ssh -X username@hartmanlab.genetics.uab.edu
sftp
remote filesharingBrowse and manage files stored on the server.
sftp://
address into your file manager's url bar, such as: sftp://username@hartmanlab.genetics.uab.edu/home/username
samba
remote filesharingAnother method to browse and manage files stored on the server.
The server provides two samba
shares:
/mnt/data
): \\username\\data
/home/username
): \\username\\username
The default samba
credentials are the same as your server username and password (unless modified with smbpasswd
).
Note: Samba share are only available on-campus unless also using ssh tunneling: ssh -L 1445:localhost:445 user@remote-server
x2goclient
remote desktopLaunch a persistent remote desktop session for graphical applications using x2goclient
(Linux/Windows/OSX).
X2Go sessions can be paused or suspended from the X2Go client window. Multiple sessions can be created on the client, making it possible to select alternate quality settings based on location and bandwidth.
x2goclient
configurationhartmanlab.genetics.uab.edu
username
22
/media/disk/<share_name>
.
Currently unavailable (TODO network cable unplugged?)
In an X2Go session go to Applications>Internet>Remote Viewer>Connection Address and enter vnc://192.168.16.101
.
http://localhost:9999
ssh -f username@hartmanlab.genetics.uab.edu -L 9999:localhost:9999 -N
http://localhost:8787
ssh -f username@hartmanlab.genetics.uab.edu -L 8787:localhost:8787 -N
qhtcp-workflow
podman
for containerstoolbox
for custom softwaredistrobox
for custom environmentsdnf list --installed
for installed packages). Open an issue for missing or out-of-date software./mnt/data
is snapshotted daily to /mnt/backup/data-backup
and rolling backups are retained for six months.
rsync
is recommended for periodically backing up user files to a local client.
$HOME
directory locally to /home-backup
from a client: rsync -azH --delete username@hartmanlab.genetics.uab.edu:/home/username/ home-backup/
rsync -azh username@hartmanlab.genetics.uab.edu:/mnt/data/scans/20250723_roessler_project .
Backups can also be initiated from the server using a variety of pre-installed backup tools (rsnapshot
, borgbackup
, ...).
Read the ssh
login message (cat /etc/motd
) for server status and updates. Open an issue if there is one.
ssh
sudo script-user-unban <ip_address>
to unban your IP addresssudo script-user-reset-password <username>
to reset your login passwordssh
and reset corrupt X2Go sessions: script-user-reset-x2go
script-user-reset-desktop
ls -al
or add permissions columns to your file manager to double-check the file permissions./mnt/data
uses shared group permissions, usually:smbgrp
smbgrp
)2775
chown -R username:smbgrp <dir> && chmod 2775 <dir>
ssh
in a tmux
or screen
session instead./
, /home
btrfs
raid1 array: /mnt/data
btrfs
raid1 backup array: /mnt/backup
See additional documentation in docs/README.md
.