yum list installed | grep docker # yum -y remove docker名称 rm -rf docker路径 yum install https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-eng ...
分类:
其他好文 时间:
2020-05-01 01:25:44
阅读次数:
68
有时候linux电脑要共享文件给windows电脑,使用samba这样就可以非常方便地在两台电脑之间共享和修改文件。 首先安装一下samba: sudo yum install samba samba-client 查找samba进程或端口:ps aux |grep smbd 查看samba是否安装 ...
分类:
系统相关 时间:
2020-05-01 01:03:05
阅读次数:
81
1)sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup (2)sudo gedit /etc/apt/sources.list 将下面的模板内容,复制粘贴到 /etc/apt/sources.list 文件里面后,保存就可以了:(我们 ...
分类:
系统相关 时间:
2020-05-01 00:56:54
阅读次数:
90
应上海开发需求,在人脸测试服务器上创建新用户,只赋予docker使用权限,步骤:$ sudo useradd -rms /bin/bash ouyangyao #创建用户ouyangyao$ sudo groupadd docker #添加docker用户组,可能已经存在, $ sudo userm ...
分类:
其他好文 时间:
2020-05-01 00:52:56
阅读次数:
63
开启Ubuntu的FTP服务 1 sudo apt-get install vsftpd 2 sudo vi /etc/vsftpd.conf 打开以后 vsftpd.conf 文件以后找到如下两行: 1 local_enable=YES 2 write_enable=YES 把前面的“#”去掉 保 ...
分类:
其他好文 时间:
2020-04-30 22:55:14
阅读次数:
70
git clone https://github.com/opencv/opencv.git cd opencv-4.2.0/ mkdir build cd build/ cmake -D CMAKE_BUILD_TYPE=RELEASE -D OPENCV_GENERATE_PKGCONFIG=O ...
分类:
其他好文 时间:
2020-04-30 19:40:54
阅读次数:
162
sudo vim /etc/apt/sourcellist deb http://mirrors.163.com/ubuntu/ precise main universerestricted multiverse deb-src http://mirrors.163.com/ubuntu/ pre ...
分类:
其他好文 时间:
2020-04-30 19:06:15
阅读次数:
103
快速安装命令如下: sudo apt-cache search sogou sudo apt-get install sogoupinyin sudo apt --fix-broken install 【根据上一条命令的实际情况看】 sudo apt-get install sogoupinyin ...
分类:
其他好文 时间:
2020-04-30 15:20:27
阅读次数:
923
先决条件 确保您以具有sudo特权的用户身份登录。 在Ubuntu上安装MySQL 在撰写本文时,Ubuntu存储库中可用的MySQL的最新版本是MySQL 8.0。要安装它,请运行以下命令: sudo apt update sudo apt install mysql-server 安装完成后,M ...
分类:
数据库 时间:
2020-04-30 13:46:19
阅读次数:
378
On Debian/Ubuntu Linux, gflags can be installed using the following command: On Debian/Ubuntu Linux, glog can be installed using the following command ...
分类:
其他好文 时间:
2020-04-30 13:42:50
阅读次数:
58