sudo ln -s /usr/local/bin/VBoxManage /usr/bin/VBoxManage
分类:
系统相关 时间:
2016-01-31 21:21:41
阅读次数:
258
说明: 新安装服务器,时间常常不准确。特别是多台服务器之间做均衡的,如果时间不准确,有可能导致生成的时间戳不对,出现数据错乱。 实现: 1.设置时区 # rm -rf /etc/localtime # ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/loca
分类:
其他好文 时间:
2016-01-31 03:05:43
阅读次数:
960
这是linux中一个非常重要命令,请大家一定要熟悉。它的功能是为某一个文件或目录在另外一个位置建立一个同步的链接,类似Windows下的超级链接。 这个命令最常用的参数是-s,具体用法是: sudo ln -s 源文件 目标文件 举例: 当前目录是/local,而我经常要访问/usr/local/l
分类:
系统相关 时间:
2016-01-27 21:27:30
阅读次数:
324
证明:$$\int_{0}^{\frac{\pi}{2}}\ln (1+\cos x)dx=-\frac{\pi}{2}\ln 2 +\int_{0}^{\frac{\pi}{2}}\frac{x}{\sin x}dx$$Proof.\begin{align*}\int_{0}^{\frac{\pi...
分类:
其他好文 时间:
2016-01-21 19:57:01
阅读次数:
116
一、安装xampp:1、用wget下载安装包;2、为安装包添加执行权限;3、直接安装到/opt/;4、添加开机启动:ln -s /opt/lampp/lampp /usr/bin/二、防火墙http80端口与3306端口开启;方法一、setup->选择firewall->http、mysql前打上*...
分类:
系统相关 时间:
2016-01-19 10:18:14
阅读次数:
250
需要安装python更新的版本,并且安装readline下载地址http://www.python.org/2.安装:tar-xfPython-2.7.9.tar.xzcdPython-2.7.9./configure--prefix=/usr/local/pyhon2.7makemakeinstall3.备份老版本文件mv/usr/bin/python/usr/bin/python2.6.64.连接新文件ln-s/usr/local/pyho..
分类:
编程语言 时间:
2016-01-18 21:00:15
阅读次数:
255
Recorder List: Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the node...
分类:
其他好文 时间:
2016-01-18 20:46:09
阅读次数:
166
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam...
分类:
其他好文 时间:
2016-01-17 18:54:20
阅读次数:
139
touch:创建文件时,空格需要"ab"双引号,但不建议这种命名方式cat:查看tac:倒叙显示more:分页显示内容,空格和f一页翻内容回车逐行换less:可以往回翻,并且通过/来进行搜索,n/l下一行、上一行tail-f实时更新内容ln:-s源文件目标文件(软连接)类似windows快捷方式ln源文件目标..
分类:
系统相关 时间:
2016-01-14 19:15:48
阅读次数:
236
我写的class LN{ private int flag = 0; public static char ch = 'A'; public static int n = 1; public synchronized void printLetter() { ...
分类:
编程语言 时间:
2016-01-13 23:17:05
阅读次数:
373