file

Search

You can find the results of your search below.

VIM Editor @home_server:home_server_setup:other_services
33 Hits, Last modified:
rminal windows I prefer to use. Simply create the file on home directory, ".vimrc" (''vim ~/.vimrc'') an... ve this. When using the ''.vimrc'' configuration file the ''nocompatible'' flag is reportedly set autom... x color==== If syntax color is not working in the file ''.vimrc'' (''vim ~/.vimrc''), add the following ... ^ Action ^ | :w filename | Save changes to a file. If you don't specify a file name, Vim saves as t
Manjaro Setup Notes @home_server:home_server_setup:other_services
10 Hits, Last modified:
localhost:631'' * The PDF printer definition file was found at ''/usr/share/cups/model/'' * Th... te flatpak packages. * The CUPS systemd unit file is: cups.service and cups.socket The CUPS error ... var/log/cups/error_log''\\ The CUPS configuration file is at ''/etc/cups/cupsd.conf''\\ [[https://ubuntu... y in Manjaro. I adjusted my server configuration file to suit, ''sudo vim ~/.config/conky/conky.conf''
KVM Setup
43 Hits, Last modified:
s. To dump a virtual machine xml definition to a file: ''virsh dumpxml {vir_machine} > /dir/file.xml''. Modify the following xml tags: *<name>VM_name</nam... unique uuid. *Change as required the VM source file: <source file='/path_to/vm_image_file.img'/> *<mac address='52:54:00:70:a9:a1'/> Cant be the same on
snapraid @home_server:home_server_setup:other_services
4 Hits, Last modified:
praid does not expect you to provide the absolute file system path when fixing files. *''snapraid fix -m'' This will recreate any deleted file in the entire array *''snapraid fix -m -d d1'' This will recreate any deleted file on data disk d1 *''snapraid fix -m -f Example/'... at they are ok. The main snapraid configuration file ''/etc/snapraid.conf'' <- home_server:home_serv
BASH Customisation @home_server:home_server_setup:other_services
17 Hits, Last modified:
change it. The personal BASH user configuration file is: ''~/.bashrc''. Simply add the following line to this file: ''%%LS_COLORS='di=1;32'%% ; export LS_COLORS'' T... 32; is for a light green colour. The ''.bashrc'' file also has a number of other interesting "features"... '', the aliases can also be added to the separate file .bash_aliases, ''vim ~/.bash_aliases'': *''ali
VNC Server
4 Hits, Last modified:
r'' and disabled the screensaver, then from the ''File'' menu chose ''Kill Daemon''. *Then go to the '... ng, performance can be checked by viewing the log file. The running vnc server process(es) can also be c... grep vnc'' *The vncserver startup configuration file: ''vim ~/.vnc/xstartup'' *I set up cron to run t... *Byobu - a fancy terminal; package byobu *Gnome file manager; package: nautilus. (CLI: ''gksudo nautil
SSH Notes @home_server:home_server_setup:other_services
3 Hits, Last modified:
/etc/issue.net'' (you can actually used any path/file) *''sudo systemctl reload sshd'' needs to be performed after any change to the configuration file to activate the changes. *''sudo vim /etc/motd'... point: {partition.mountpoint}") print(f" File system type: {partition.fstype}") try:
Rsync @home_server:home_server_setup:other_services
81 Hits, Last modified:
they are newer than destination files (based upon file modification dates) *''--delete'' deletes files... es and reports progress *''-h''' human readable file sizes *''-v'' increase output verbosity *''-z... ecessarily increase transfer speeds, dependent on file types transferred and CPU speeds Always double-c... t install rsync'' ''sudo vim /etc/rsyncd.conf'' <file> # create new # any name you like [all] # destin
NFS @home_server:home_server_setup:other_services
5 Hits, Last modified:
re are a lot of resources online for NFS (Network File System). Nevertheless I decided to place my note... ry.) ''sudo vim /etc/exports'' - edit the exports file as required <code> # /etc/exports: the access con... ing mergerfs. Adjust the ''sudo vim /etc/fstab'' file to allow for boot setup of nfs export mount points. <code> #<file system> <mount point
logrotate @home_server:home_server_setup:other_services
3 Hits, Last modified:
og.sh /var/log/UPS/UPSLog.Log #Rotate NUT UPS log file </code> where ''/home/shared/Myscripts/rotatelog... logfile=$1 if [ ! -f $logfile ]; then echo "log file not found $logfile" exit 1 fi timestamp=`date +... S logrotate'' *The main logrotate configuration file is here: ''/etc/logrotate.conf'' * ====Links==
Commonly used commands and scripts @home_server:home_server_setup:other_services
12 Hits, Last modified:
e | ✔ | ✔ | ✔ | | php-common | Common php file modules | ✔ | ✔ | ✔ | | php-curl | php cl... ✘ | ---- ====php test==== Install the following file to allow the php ''sudo vim /var/www/html/test.ph... crontab, ''sudo crontab -e'': <code> # Edit this file to introduce tasks to be run by cron. # # Each t... ) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example,
IPMI Console Setup @home_server:home_server_setup:other_services
11 Hits, Last modified:
ry there after, not secure * -f </path/password_file> : specify use of file for remote server password (need for batch files and to prevent constant prompti... lly placing the password on the command line. The file literally just has the password in it. I usually store in file ''sudo vim /etc/ipmi'' and set to root only read/
IPMI CLI Tools @home_server:home_server_setup:other_services
10 Hits, Last modified:
(for CLI, not batch files) * -f </path/password_file> : specify use of file for remote server password (need for batch files and to prevent constant prompti... ly placing the password on the command line. The file literally just has the password in it. =====IPMI... bash BMC_IP="192.168.1.40" User_Name="baumkp" PW_file_location="/etc/ipmitool" LAN_IP="192.168.1.5" #C
Network Setup
14 Hits, Last modified:
ll bridge-utils'' Edit the network configuration file: ''/etc/network/interfaces'' as follows: <code># This file describes the network interfaces available on you... th1) VGA </code> Edit the network configuration file: ''/etc/network/interfaces'' as follows: <code> # This file describes the network interfaces available on you
Back-up Server Old Setup @home_server:home_server_setup:other_services
34 Hits, Last modified:
layfs, it does not seem to allow for a true merge file system, just overlay file system. The information available to set up was some of the worst I have fou... ergerfs/releases/'', hint look at the link of the file of interest....: ''wget https://github.com/trap... t read only = false #auth users = baumkp #secrets file = /etc/rsyncd.secrets </code> ''sudo vim /etc/rs
Fail2Ban @home_server:home_server_setup:other_services
3 Hits, Last modified:
samba @home_server:home_server_setup:other_services
9 Hits, Last modified:
Conky @home_server:home_server_setup:other_services
14 Hits, Last modified:
fsck - file system check
13 Hits, Last modified:
Simlinks @home_server:home_server_setup:other_services
4 Hits, Last modified: