RHEL server guide

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/pdf/deploying_different_types_of_servers/red_hat_enterprise_linux-8-deploying_different_types_of_servers-en-us.pdf

excel data


first column,then row

=OFFSET($A$1,COLUMN(A1)-1+(ROW(A1)-1)*4,)

first row then column

=OFFSET($A$1,ROW(A1)-1+COLUMN(A1)*4-4,)

Kernel panic not syncing

The kernel panic not syncing error can happen for various reasons, one of which may be due to buffers not being flushed to the actual devices. This error often prevents the system from booting and may affect parts of the kernels and modules.

VMDK choose sata harddisk vs IDE harddisk.

svn get version number

demo svn repo: https://svn.apache.org/repos/asf/subversion/trunk

svn info –show-item=revision –no-newline https://svn.apache.org/repos/asf/subversion/trunk

svn info https://svn.apache.org/repos/asf/subversion/trunk | awk ‘/^Revision:/{print $2}’

postgres

cat /var/opt/gitlab/gitlab-rails/etc/database.yml 
cat /etc/passwd
su - gitlab-psql
psql -h /var/opt/gitlab/postgresql -d gitlabhq_production

\l    \dt  \h   \d table_name  \di  \q

 

docker exec -t <your container name> gitlab-backup

docker exec -t <your container name> /bin/sh -c ‘umask 0077; tar cfz /secret/gitlab/backups/$(date “+etc-gitlab-\%s.tgz”) -C / etc/gitlab’