随笔分类 - Linux
摘要:首先是pull image,这里我拉取的是5.6.35: 拉下来以后大可以按照官方的说明无脑启动,但是外部无法访问,所以绑定端口: 试着用客户端连接,成功了,查询mysql.user表发现允许从任何地方用root访问,这特么也太不安全了! 果断连接到bash: 运行mysql,竟然有! 下面就是基本
阅读全文
摘要:第一列:设备名 第二列:设备挂载目录 (例如上面的“/”或者“/mnt”) 第三列:设备文件系统 (例如上面的“ext4”或者“tmpfs”) 第四列:挂载参数 (看帮助man mount)对于已经挂载好的设备,例如上面的/dev/sda2,现在要改变挂载参数,这时可以不用卸载该设备,而可以使用下面
阅读全文
摘要:1.安装最新版JDK(作为JENKINS运行环境)# mount -t cifs //192.168.8.1/share /mnt -o username=share,password=share,nounix,sec=ntlmssp 其中nounix,sec=ntlmssp两个参数是因为我连的是O
阅读全文
摘要:今天研究GitLab+Jenkins自动集成时,出现Failed to connect to repository : Command "git config --local credential.helper store --file=/tmp/git2956041026506359040.cre
阅读全文
摘要:The Carriage Return (CR) character (0x0D, \r) moves the cursor to the beginning of the line without advancing to the next line. This character is used
阅读全文