再见青春
发布时间:2023-02-23 17:11:50
1、修改gitlab.rbvim /etc/gitlab/gitlab.rb配置为:postgresql['enable'] = truepostgresql['listen_address'] = '0.0.0.0'postgresql['port'] = 5432postgresql['data_dir'] = "/var/opt/gitlab/postgresql/data"2、gitlab-ctl reconfigure 等待报错3、修改pg_hba.confvim &.........【阅读全文】
发布时间:2020-05-08 15:51:53
1.安装编译相关工具yum -y groupinstall "Development tools"yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-develyum install libffi-devel -y 2.下载安装包解压cd #回到用户目录wget https://www.python.o.........【阅读全文】
发布时间:2020-04-17 16:12:35
强制用户登陆时修改口令chage -d 0 username(linux)passwd -f username(solaris)强制用户下次登陆时修改密码,并且设置密码最低有效期0和最高有限期90,提前15天发警报提示chage -d 0 -m 0 -M 90 -W 15 root(linux)查看某个用户的密码设置情况chage -l username.........【阅读全文】
发布时间:2020-04-14 17:38:19
1、目录传输:接收端: nc -v -l 1234 | tar xf -发送端:tar cf - ${dir_name} | nc 10.10.1.55 12342、文件传输:接收端:nc -v -l 1234 >file.txt发送端:nc 192.168.1.1 1234 <file.txt......【阅读全文】