
Linux
mikean
这个作者很懒,什么都没留下…
展开
-
利用openssl加密解密tar包
利用openssl加密解密tar包将文件夹blog_20111015打成tar包 blog_20111015.tar.gz 并加密密码是 passwordtar czf – blog_20111015 | openssl des3 -salt -k password -out blog_20111015.tar.gz加密的tar包只能在Linux上解密,无法在Windows转载 2013-09-19 16:32:53 · 1405 阅读 · 0 评论 -
Linux忘记root密码怎么办?
在机器启动到grub进行操作系统选择时,对于Redhat linux:用上下键将光标放在linux系统上,按“e”在有kernel那一行按“e”,输入“空格 single”,然后回车按“b”,启动,系统会自动进入单用户模式,使用passwd root命令,按提示输入新口令修改口令后,输入reboot 命令重启系统即可对于SUSE linux:先按"esc"键,从gr转载 2013-10-21 19:47:29 · 843 阅读 · 0 评论 -
如何解决“Offending key in ~/.ssh/known_hosts” file
如何解决“Offending key in ~/.ssh/known_hosts” file Remove the offending ssh keyFollowing error will be displayed when the remote host key changes (after you’ve connected earlier with a valid rem转载 2013-10-21 19:26:50 · 1315 阅读 · 0 评论 -
Linux/Unix shell 参数传递到SQL脚本
Linux/Unix shell 参数传递到SQL脚本转载 2014-06-20 23:22:01 · 2826 阅读 · 0 评论 -
LINUX 查看分区UUID的两种方法
1. blkid2.原创 2014-11-06 16:15:52 · 2022 阅读 · 0 评论 -
ssh
1. ssh-keygen -t rsa 2. cd /home/oracle/.ssh/ 3.scp id_rsa.pub oracle@172.17.8.23:/home/oracle/89.pub8.231.cd /home/oracle/.ssh2.cat ../id_rsa.88>>authorized_keys原创 2013-09-22 14:22:50 · 406 阅读 · 0 评论 -
CentOS 7 各个版本的区别
当我们下载CentOS 7 时会发现有几个版本可以选择,如下:1、CentOS-7-DVD版本:DVD是标准安装盘,一般下载这个就可以了。2、CentOS-7-NetInstall版本:网络安装镜像。3、CentOS-7-Everything版本:对完整版安装盘的软件进行补充,集成所有软件。4、CentOS-7-GnomeLive版本:GNOME桌面版。5、Cent...转载 2018-06-24 17:00:23 · 21151 阅读 · 0 评论