1.更新当前软件。 sudo apt-get upgrade sudo apt-get update sudo apt-get dist-upgrade 2.安装samba服务器。 sudo apt-get install samba samba-common 3.添加用户(下面的zhongshan ...
分类:
系统相关 时间:
2021-06-18 18:51:53
阅读次数:
0
grub 尝试了好多种方法,引导修复grub2的win7引导文件,始终无法进入之前的win7系统,选择win7之后却进入引导安装Ubuntu的命令页面,进入grub命令,输入以下命令,成功。 find --set-root /bootmgr(回车) chainloader /bootmgr(回车) ...
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i ...
分类:
其他好文 时间:
2021-06-17 17:13:05
阅读次数:
0
==时区修改== 查看当前时区:date 查看时区列表:timedatectl list-timezones 修改时区:timedatectl set-timezone Asia/Shanghai ==配置文件== centos8已经没有ntp时间同步服务了,使用的是chrony。 配置文件:vim ...
分类:
其他好文 时间:
2021-06-17 17:09:13
阅读次数:
0
https://blog.csdn.net/QYmufeng/article/details/79580582 我的环境: 系统平台:Ubuntu14.04TLS(64位) Hadoop环境:Hadoop2.8.3 Eclipse:Neon.2 Release(4.6.2) Eclipse插件:ha ...
分类:
系统相关 时间:
2021-06-17 17:05:08
阅读次数:
0
1.卸载旧的docker,可选,如果搭建K8S平台,CentOS自带的docker会报错,因此最好使用官方最新的docker版本。 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ dock ...
分类:
其他好文 时间:
2021-06-17 17:04:55
阅读次数:
0
1: 单个bond设备举例说明: 创建bond网卡(vim /etc/sysconfig/network-scripts/ifcfg-bond0): DEVICE=bond0 IPADDR=192.168.1.20 NETMASK=255.255.255.0 USERCTL=no BOOTPROTO ...
分类:
其他好文 时间:
2021-06-17 17:04:43
阅读次数:
0
1:开机同步 开机时自动同步可编辑 /etc/ntp/step-tickers 文件 1 vim /etc/ntp/step-tickers 2 3 # List of NTP servers used by the ntpdate service. 4 5 ntp.aliyun.com 6 tim ...
分类:
其他好文 时间:
2021-06-17 16:54:51
阅读次数:
0
介绍: 所有的 Linux 系统都会内建 vi 文本编辑器,vim是从 vi 发展出来的一个文本编辑器。 目前我们使用比较多的是 vim 编辑器,vim 具有程序编辑的能力,可以主动的以 字体颜色辨别语法的正确性,方便程序设计。代码补完、编译及错误跳转等方便编程的 功能特别丰富,在程序员中被广泛使用 ...
分类:
系统相关 时间:
2021-06-17 16:48:16
阅读次数:
0
硬件条件:ThinkpadP52 1T+1Tssd+2T OS:windows10+Ubuntu20.04(先安装windows再安装Ubuntu) Geant4 安装 软体下载 https://geant4.web.cern.ch/support/download 安装到/jianghp/gean ...
分类:
其他好文 时间:
2021-06-17 16:38:52
阅读次数:
0