sudo

Search

You can find the results of your search below.

BASH Customisation
116 Hits, Last modified:
nfiguration bashrc command script .bashrc history sudo visudo dimmer ps kill nightmode xrandr tar archive "default editor" editor}} ======BASH Customisation==... - All docker commands start with "d" alias dstop='sudo docker stop $(docker ps -a -q)' alias dstopall='sudo docker stop $(sudo docker ps -aq)' alias drm='sudo
Rsync
70 Hits, Last modified:
on a computer instance To install rsync daemon ''sudo apt install rsync'' ''sudo vim /etc/rsyncd.conf'' <file> # create new # any name you like [all] # des... p # secrets file = /etc/rsyncd.secrets </file> ''sudo vim /etc/rsyncd.secrets'' <file>username:userpassword</file> ''sudo systemctl status rsync.service'' [status, start
Back-up Server Old Setup
38 Hits, Last modified:
research I found the following seemed to work: ''sudo mount -t overlay -o lowerdir=/media/Disk2/backup,... tu-xenial_amd64.deb'' Then load it into linux: ''sudo dpkg -i mergerfs_2.29.0.ubuntu-xenial_amd64.deb''... te a mount point directory, e.g. /srv/storage, ''sudo mkdir /srv/storage'' ''sudo vim /etc/fstab'' <code> UUID=d426f5e0-7fbd-4e7f-915e-b7c78eb70877 /
NUT (Network UPS Tools) Setup
21 Hits, Last modified:
nfiguration Files===== NUT can be installed by ''sudo apt install nut''. The configuration files are lo... nsure ownership and permissions are as follows: ''sudo chown root:nut /etc/nut -R'' and ''sudo chmod 640 /etc/nut -R"\''. =====NUT Output===== The output of... monitor.service. To see running processes use: ''sudo ps -e | grep nut'' and ''sudo ps -e | grep ups*''
Commonly used commands and scripts
20 Hits, Last modified:
used commands and scripts====== =====dmesg==== ''sudo dmesg'' lists the OS boot messages between grub a... ol) *List current Systemd operating units: ''sudo systemctl list-units | grep %%'*'%%''. Change or ... ment as required. *Check the boot journal: ''sudo journalctl -xe'' *To check running process with... pen'' *To change time zone from command line: ''sudo dpkg-reconfigure tzdata''. *Networkd -> systemd
Manjaro Setup Notes
14 Hits, Last modified:
adjusted my server configuration file to suit, ''sudo vim ~/.config/conky/conky.conf'' ++++conky.conf| ... “failed to synchronize any databases” errors=== ''sudo rm /var/lib/pacman/db.lck''\\ This command remove... g. ===Some other pacman commands to consider=== ''sudo pacman-mirrors -g && sudo pacman -Syy'' or ''sudo pacman-mirrors -f && sudo pacman -Syyu''\\ This comma
IPMI Console Setup
13 Hits, Last modified:
as the password in it. I usually store in file ''sudo vim /etc/ipmi'' and set to root only read/write ''sudo chown root:root /etc/ipmi'' and ''sudo chmod 600 /etc/ipmi'' =====Linux Console Redirection Setup===... ed my grub boot loader configuration as follows ''sudo vim /etc/default/grub'': <code JavaScript [enable
NFS
13 Hits, Last modified:
erver statistics ---- =====NFS Server===== *''sudo apt install nfs-kernel-server'' to install *Create share directories on host ''sudo mkdir -p /export/storage'' (-p also creates higher level directories if necessary.) ''sudo vim /etc/exports'' - edit the exports file as req... orm /export/storage using mergerfs. Adjust the ''sudo vim /etc/fstab'' file to allow for boot setup of
Set Up and Ubuntu APT Cache
10 Hits, Last modified:
easonably straight forward. I suggest the use of "sudo systemctl restart apt-cacher-ng", as opposed to the old fashion "sudo /etc/init.d/apt-cacher-ng restart". If the non-d... /192.168.1.1:3142" *The configuration file is ''sudo vim /etc/apt-cacher-ng/acng.conf'' *The default... by adding the following line into the new file: ''sudo vim /etc/apt/apt.conf.d/02proxy'', also check ''s
Calibre Server
9 Hits, Last modified:
a Calibre Ebook Server on Ubuntu 20.04]] first: ''sudo apt update && sudo apt install -y libfontconfig libgl1-mesa-glx''\\ After this I ran the command as rec... m/download_linux|Calibre Download for Linux]] : ''sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin''. As expected the installer came
Linux Block Device Notes
9 Hits, Last modified:
''lsblk -f'' or ''blkid'' to list the UUIDs *''sudo blkid'' will list data blocks ---- ====parted===... a number of partition tools for Linux CLI.== *''sudo parted -l'' - to see all available partition information *''sudo parted /dev/sda'' - to partition the specific dri... 1'' to remove partition 1 ---- ====Format==== ''sudo mkfs.ext4 /dev/sda1'' - to format the drive ----
IPMI CLI Tools
9 Hits, Last modified:
status'' * List available chassis commands:''sudo ipmitool -I open chassis'' * List chassis pol... . * Retrieving ILOM IP address with ipmitool: ''sudo ipmitool lan print'' * Retrieving Sensor Data: ''sudo ipmitool sdr'' or to include alarm thresholds: ''sudo ipmitool sensor '' * Get Hardware Information:
systemd Stuff
8 Hits, Last modified:
journalctl'' manual page for journalctl\\ Edit ''sudo vim /etc/systemd/journald.conf'' make variable ''... g files are available from previous boots.\\ \\ ''sudo systemctl force-reload systemd-journald'' to reload journald or restart instead ''sudo journalctl -u systemd-journald'' to check status ... f journal.\\ \\ some useful flag and inputs: *''sudo journalctl -b'' to see current boot journal only
apt package management
7 Hits, Last modified:
===apt package management===== I recently had a ''sudo apt upgrade'' error along the lines of: <code>mar... - Backup the databases (not described here) - ''sudo dpkg -P mariadb-server'' to remove just the old p... kage that was confusing apt package manager - ''sudo apt --fix-broken install'' to fix the broken package - ''sudo apt autoremove'' to remove the old packages - '
Fail2Ban
6 Hits, Last modified:
2ban/pull/1292|Add nftables actions #1292]]. *''sudo apt install fail2ban'' to install fail2ban *''sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.loca... main file as it is updated with the package. *''sudo vim /etc/fail2ban/jail.local'' and adjust the fol... _log)s backend = %(postfix_backend)s</code> *''sudo systemctl restart fail2ban'' *''sudo systemctl
logrotate
5 Hits, Last modified:
samba
5 Hits, Last modified:
snapraid
5 Hits, Last modified:
SSH Notes
4 Hits, Last modified:
Time Date Related Setup
4 Hits, Last modified:
SWAP Files
3 Hits, Last modified:
VIM Editor
2 Hits, Last modified:
Webmin
2 Hits, Last modified:
Conky
1 Hits, Last modified: