每日一句
把小蚁摄像头里的内存卡取出来,在内存卡根目录建立一个文件夹 test
在 test 目录下创建文件 equip_test.sh 粘贴以下内容。
- #!/bin/sh
- # Telnet
- if [ ! -f "/etc/init.d/S88telnet" ]; then
- echo "#!/bin/sh" > /etc/init.d/S88telnet
- echo "telnetd &" >> /......
rsyslog可以处理绝大部分日志记录,比如系统操作有关信息,如登录信息,程序的启动关闭信息
[root@CatdeXin-PC ~]# ps -aux | grep rsyslog root 1297 0.0 0.3 222764 7292 ? Ssl 2月21 0:07 /usr/sbin/rsyslogd -n rsyslogd = rsyslog deamon(守护进程)
/var/l......
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.3.1-Linux-x86.sh
bash Anaconda3-5.3.1-Linux-x86.sh
配置环境变量,路径为安装的路径
vi /etc/profile export PATH=$PATH:/home/gzh/anaconda3/bin/
检验anaconda是否安装成功
#conda --version......
Git 是一个版本控制工具,因此要使用其进行版本控制首先需要建立一个版本库。
初始化版本库:
$ git init --bare
git 会作出以下回应:
Initialized empty Git repository in {{yourpath}}.git
该操作创建一个空的版本库,文件夹内目录结构如下:
......
缺少EPEL(epel是社区强烈打造的免费开源发行软件包版本库,系统包含大概有1万多个软件包),我是centos7,所以需要先安装这个
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm......
# 阿里云源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyu......
Support telnet,tftp,rtsp,no logo.
Clone this repository on a computer,
Then, format a micro SD card in fat32 format and copy the content of the folder at the root of your memory card.
If plugged, ......
1、修改GitLab绑定的域名
a、修改/etc/gitlab/gitlab.rb配置文件,修改成自己的域名
external_url 'http://gitlab.example.com'
b、使配置生效
停止服务命令:gitlab-ctl stop
配置生效命令:gitlab-ctl reconfigure
c、启动服务
命令:gitlab-ctl start
......
apt install -y bind9 dnsutils
include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones";
options { directory "/var/cache/bind";......
root@l:~# cat /etc/issue Debian GNU/Linux 10 \n \l
mv /etc/apt/sources.list /etc/apt/sources.list.bak vi /etc/apt/sources.list
修改sources.list文件内容,删除默认的内容,改成国内源:
deb http://mirrors.aliyun.com/debian/ buster main non-free co......