卸载Cloudera-Managersudo /usr/share/cmf/uninstall-cloudera-manager.sh一直选择Yes就好卸载完成后,它会问你是否要将database里的数据清理,选择Yes2 按照官方的介绍,删除cloudera的安装目录sudo rm -rf /us...
分类:
其他好文 时间:
2014-10-15 18:18:01
阅读次数:
208
工作环境为Ubuntu,类Linux系统。无法直接安装exe文件。借助Wine可以安装,但并不是所有Windows下的exe软件都可以使用Wine进行安装。有两种方式可以安装Wine到Ubuntu上。可以自己本地编译源码,也可以在终端中执行命令“sudo apt-get install wine”,...
Method 1:
> grub --> recovery mode --> e
> ro single rw single init=/bin/bash
> ctrl + x
> chmod 0440 /etc/sudoers
Method 2:
> pkexec chmod 0440 /etc/sudoers...
分类:
其他好文 时间:
2014-10-15 14:43:20
阅读次数:
199
系统环境为:ubuntu 14.04一、JDK 自动安装脚本jdk自动安装bash shell脚本,截止今天(2014/10/15)亲测可用:sudo su #切换到root权限mkdir /usr/local/javacd /usr/local/java#download jdk 1.7.67wg...
分类:
系统相关 时间:
2014-10-15 02:37:09
阅读次数:
416
//=========================Mac 检测端口:lsof -i :8080重启apache:sudo /usr/sbin/apachectl restart关闭apache:sudo /usr/sbin/apachectl stop开启apache:sudo /usr/sbi...
分类:
其他好文 时间:
2014-10-14 23:49:19
阅读次数:
261
Recommended reference:https://help.ubuntu.com/community/XenStep One: Install Ubuntu14.04 on your computerStep Two: Install Xen using “sudo apt-get ins...
分类:
系统相关 时间:
2014-10-14 23:02:59
阅读次数:
328
虚拟机加一块硬盘 原硬盘 sda # ls /dev/sd* 列出硬盘 添加新硬盘后就多出一个sdb不知道为什么fdisk -l 不显示 先不管(要用sudo解决)df看不到新硬盘sdb 因为还没分区 接下来对新硬盘先键分区表 然后格式化fdisk /dev/sdbm # for help...
分类:
其他好文 时间:
2014-10-14 22:51:19
阅读次数:
285
sudo gedit /usr/share/applications/eclipse.desktop [Desktop Entry]Name=EclipseComment=c project manage softwareExec=/home/wy/Downloads/eclipse/eclipse...
分类:
系统相关 时间:
2014-10-14 22:18:29
阅读次数:
198
1. 创建git用户 sudo adduser --system --shell /bin/bash --group git sudo passwd git 2. 授予sudo权限 sudo vim /etc/sudoers 修改如下: root ALL=(ALL:ALL) ALL git ALL=(ALL:ALL) ALL 3. 在git用户下克隆git...
分类:
其他好文 时间:
2014-10-14 20:38:19
阅读次数:
224