打开ssh先停服务sudo ./shutdown.sh删除遗留数据sudo rm -rf
**拷贝文件到指定目录sudo mv xx /xx/xx/xx启动服务sudo ./startup.sh包中修改数据库配置cd config
打开config文件sudo vi server.xml 编辑s.....
分类:
系统相关 时间:
2014-05-22 04:01:02
阅读次数:
359
--yum install$sudo yum install email--easy
install$sudo easy_install requests boto--python install$ easy_install
requests--apt-get installsudo apt-get...
分类:
系统相关 时间:
2014-05-22 03:54:14
阅读次数:
405
chown递归更新文件所有者chown -cR --from=olduser:oldgroup
newuser:newgroup *chmod 777 *sudo chmod 775 * -Rchgrp root *sudo cp
/usr/share/zoneinfo/Europe/Paris /...
分类:
其他好文 时间:
2014-05-22 02:56:20
阅读次数:
205
On using the sudo command if we see the
errorThis means that the user as whom we have logged in and are trying to run
the command "sudo" does not have...
分类:
其他好文 时间:
2014-05-22 00:57:35
阅读次数:
272
MAC下没有wget工具,不习惯curl,使用起来还是很不方便的。下载了一个wget源码吧,编译安装。sudo curl -O
http://ftp.gnu.org/gnu/wget/wget-1.15.tar.gzsudo tar zxvf wget-1.15.tar.gzcd
wget-1.1....
分类:
其他好文 时间:
2014-05-21 23:41:11
阅读次数:
264
1.下载JLink-linux-V422A.tgz,解压,安装。1.1
查看readme文档,安文档一步步安装。1.1.1 安装libusb sudo apt-get-install libusb-dev1.1.2
安装readline库 sudo apt-get-install libr...
分类:
系统相关 时间:
2014-05-21 20:24:28
阅读次数:
431
首先说下我个人对于shell的理解,我觉得shell是一种通过各种控制语句将linux命令进行集合实现批处理的一种脚本语言.shell编程入门其实很简单,语法知识并不多,但是高级shell编程就很难,因为shell是用户和linux之间的桥梁,要编写高质量的shell脚本,就需要用户对linux有很...
分类:
系统相关 时间:
2014-05-21 19:30:46
阅读次数:
328
Iptables防火墙配置
安装防火墙
sudo apt-get install iptables
查看状态
sudo iptables --list
sudo iptables -A OUTPUT -p tcp --dport 80 -j DROP
浏览器不能上网
清除防火墙设置
Sudo iptables -F
Sudo iptables -D OUTPUT...
分类:
其他好文 时间:
2014-05-21 16:18:12
阅读次数:
316
1.安装squid3
sudo apt-get install squid3
2,配置squid3
sudo cd /etc/squid3
sudo vim squid.conf
/http_access
N为向下查找 找到http_access deny all 把deny改成allow
3启动squid3
Sudo service squid3 start
关闭
S...
分类:
其他好文 时间:
2014-05-21 11:02:53
阅读次数:
270
首先去官网http://source.android.com/source/initializing.html可以看到完整的安装教程。不过一般情况下,按照这个教程是无法一步到位的,因为中途肯定会遇到很多问题。这里我把我遇到的问题以及相应的解决方案总结一下:
1、sudo apt-get inst.....
分类:
移动开发 时间:
2014-05-21 03:15:03
阅读次数:
392