直接在命令行输入:# locate lib***显示出文件所在路径,然后在命令行:# ln -s 文件路径/文件名 /usr/lib/文件名应该解决了。例如:# gcc first.c -lclntsh/usr/bin/ld: cannot find -lclntshcollect2: ld 返回 ...
分类:
编程语言 时间:
2015-07-02 06:31:46
阅读次数:
242
《Linux指令从初学到精通》第3章文件管理,本章介绍了许多常用命令,如cp、ln、chmod、chown、diff、tar、mv等,因为这些都与文件管理相关,在日常的使用中经常用到,因此本章是本书的重点章节。本节为大家介绍dump(文件系统备份)。AD:3.19 dump(文件系统备份)(1)频度...
分类:
系统相关 时间:
2015-07-01 22:01:13
阅读次数:
164
shell>groupaddmysqlshell>useradd-r-gmysqlmysqlshell>cd/usr/localshell>tarzxvf/path/to/mysql-VERSION-OS.tar.gzshell>ln-sfull-path-to-mysql-VERSION-OSmysqlshell>cdmysql##如没有data目录,自建shell>mkdirmysql-filesshell>chmod770mysql-fil..
分类:
数据库 时间:
2015-06-30 18:45:02
阅读次数:
214
maildrop安装:0.安装依赖库、头文件、库文件#ln-sv/usr/local/courier-authlib/bin/courierauthconfig/usr/bin#ln-sv/usr/local/courier-authlib/include/*/usr/include#yum-yinstallpcre-devel1.添加vmail用户和组,id大于1000:#groupadd-g1001vmail#useradd-gvmail-u1001-M..
分类:
其他好文 时间:
2015-06-28 20:16:08
阅读次数:
713
以下是摘自mysql官方文档中关于手动安装MySQL 二进制分发版的说明:
一:安装
必须执行以便安装并使用MySQL 二进制分发版的基本命令是:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip
shell> ln -s full...
分类:
数据库 时间:
2015-06-28 11:19:45
阅读次数:
162
1.安装node 2.安装less npm install -gd less 通过nvm安装的node命令不在/usr/bin下面,必须拷贝链接到/usr/bin目录下 ln -s /Users/dujie/.nvm/versions/v0.12.4/bin/node /usr/bin/n...
分类:
Web程序 时间:
2015-06-26 17:35:45
阅读次数:
136
Frogs' Neighborhood
Time Limit: 5000MS
Memory Limit: 10000K
Total Submissions: 8263
Accepted: 3504
Special Judge
Description
未名湖附近共有N个大小湖泊L1, L2, ..., Ln(其中包括未名...
分类:
其他好文 时间:
2015-06-26 09:19:31
阅读次数:
135
题目链接 题目要求: 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 nod...
分类:
其他好文 时间:
2015-06-26 01:39:35
阅读次数:
119
这是linux中一个非常重要命令,请大家一定要熟悉。它的功能是为某一个文件在另外一个位置建立一个同不的链接,这个命令最常用的参数是-s,具体用法是:ln -s 源文件 目标文件。? 当 我们需要在不同的目录,用到相...
分类:
其他好文 时间:
2015-06-25 15:45:21
阅读次数:
120
rm -rf mydir /* 删除mydir目录 */ cd mydir /* 进入mydir目录 */ cd - /* 回上一级目录 */ cd ~ /* 回根目录 */ mv?tools?tool /* 把tools目录改名为tool */ ln -s tool bac /* 给tool目录创建名为bac的符号链...
分类:
其他好文 时间:
2015-06-24 19:26:54
阅读次数:
133