A collection of scripts and configs for the John Hartman Lab Server at UAB
|
1 day ago | |
---|---|---|
config | 1 week ago | |
docs | 1 day ago | |
scripts | 1 week ago | |
theme | 1 month ago | |
.gitignore | 8 months ago | |
LICENSE | 1 month ago | |
README.md | 1 day ago |
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
motd
helper at ssh
login for ongoing server statuspasswd
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.Example: 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 until changed with smbpasswd
.
x2goclient
remote desktopLaunch a graphical remote desktop session using the X2Go x2goclient
available for Linux/OSX/Windows from the X2Go website or by installing the x2goclient
package.
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>
.
Note: Some programs do not continue to run at full speed when an X2Go session is paused. In these cases, the program should be run via ssh
in a tmux
or screen
session.
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
. In case of inadvertent data loss, users can recover lost files from a previous snapshot, organized by date.
rsync
is also 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 be initiated from the server using other pre-installed backup tools (rsnapshot
, borgbackup
, ...).
Read the motd
at ssh
login for server status and updates: cat /etc/motd
. Notify an admin of any issues.
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>
/
, /home
btrfs
raid1 array: /mnt/data
btrfs
raid1 backup array: /mnt/backup
See additional documentation in docs/README.md
.