file

Search

You can find the results of your search below.

VIM Editor @home_server:home_server_setup:other_services
53 Hits, Last modified:
r set autoindent expandtab tabstop=2 shiftwidth=2 filetype plugin on filetype indent on set cursorline set cursorcolumn set shiftwidth=2 set tabstop=2 set exp... rminal windows I prefer to use. Simply create the file on home directory, ".vimrc" (''vim ~/.vimrc'') an... rt''. The different VIM colour scheme definition files are located at ''/usr/share/vim/vim90/colors''.
Manjaro Setup Notes @home_server:home_server_setup:other_services
11 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
52 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
10 Hits, Last modified:
nds I use are: ''sudo snapraid sync'' to sync the files that have changes since last sync. I usually do... check the parity of the array, usually the oldest files first. I usually do this weekly, manually. ''su... touch'' to add sub-second time granularity to the files that improves snapraid usage. I usually do this... ly. Really for information only. Snapraid allows files and directories that have been deleted since the
BASH Customisation @home_server:home_server_setup:other_services
31 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
8 Hits, Last modified:
r'' and disabled the screensaver, then from the ''File'' menu chose ''Kill Daemon''. *Then go to the '... line ''exec /bin/bash'' to the end of ''vim ~/.profile''. You will need to restart VNCserver for this to... erver "vncserver -kill :1" or :2 *The server log files are stored in ~/.vnc, ''less ~/.vnc/KPTreeServer:1.log'' or :2. (A log files may contain a number of errors and warnings, how
systemd Stuff @home_server:home_server_setup:other_services
5 Hits, Last modified:
ty/tutorials/understanding-systemd-units-and-unit-files|Understanding Systemd Units and Unit Files]] * [[https://www.digitalocean.com/community/tutorials/... e=persistent'' to make journald store the journal files in ''/var/log/journal'', this will create directory if necessary. This also ensure log files are available from previous boots.\\ \\ ''sudo s
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
142 Hits, Last modified:
create a hierarchy that looks like: ~/dir2/dir1/[files] So; ***''rsync -a dir1/ dir2'' copies the con... ctories and content. *''-u'' only copies source files where they are newer than destination files (based upon file modification dates) *''--delete'' deletes files on the destination where they are n
NFS @home_server:home_server_setup:other_services
6 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 control list for filesystems which may be exported /export 192.... ing mergerfs. Adjust the ''sudo vim /etc/fstab'' file to allow for boot setup of nfs export mount point
logrotate @home_server:home_server_setup:other_services
12 Hits, Last modified:
og.sh /var/log/UPS/UPSLog.Log #Rotate NUT UPS log file </code> where ''/home/shared/Myscripts/rotatelog.sh'' is: <code>#!/bin/bash logfile=$1 if [ ! -f $logfile ]; then echo "log file not found $logfile" exit 1 fi timestamp=`date +%Y%m%d` newlogfile=$logfile.$
Commonly used commands and scripts @home_server:home_server_setup:other_services
21 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
14 Hits, Last modified:
pt for remote server password (for CLI, not batch files) * -P : input the password in command, not rec... 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 prompting for password). This
IPMI CLI Tools @home_server:home_server_setup:other_services
12 Hits, Last modified:
pt for remote server password (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 prompting for password). This
SWAP Files @home_server:home_server_setup:other_services
1 Hits, Last modified:
able enable configure partition fstab}} =====SWAP Files===== As I have a computer with enough memory I s
Network Setup
16 Hits, Last modified:
Fail2Ban @home_server:home_server_setup:other_services
5 Hits, Last modified:
samba @home_server:home_server_setup:other_services
22 Hits, Last modified:
Conky @home_server:home_server_setup:other_services
15 Hits, Last modified:
fsck - file system check
18 Hits, Last modified:
Simlinks @home_server:home_server_setup:other_services
4 Hits, Last modified:
tmux @home_server:home_server_setup:other_services
1 Hits, Last modified:
Tripwire @home_server:home_server_setup:other_services
1 Hits, Last modified:
nnn @home_server:home_server_setup:other_services
1 Hits, Last modified: