
Linux
css_good
这个作者很懒,什么都没留下…
展开
-
Linux 下 you need to be root to perform this command
在linux 终端执行某条命令时提示一下错误you need to be root to perform this command是提示我们ya原创 2014-07-12 16:30:45 · 61986 阅读 · 14 评论 -
Linux 把多个文件指定到同一目录下
mv a_file b_file c_file -t target_floder原创 2015-01-22 17:24:45 · 1297 阅读 · 0 评论 -
Linux之间传输文件(scp命令)
linux的scp命令linux 的 scp 命令 可以 在 linux 之间复制 文件 和 目录;==================scp 命令==================scp 可以在 2个 linux 主机间复制文件;命令基本格式: scp [可选参数] file_source file_target转载 2015-01-22 17:21:54 · 621 阅读 · 0 评论 -
查看Linux中Apache的版本
tips:/usr/sbin/ 为apachectl的安装路径原创 2015-01-21 17:03:27 · 726 阅读 · 0 评论 -
Linux下查看软件安装路径
方法一:查询软件安装路径方法二:查询运行文件所在地址方法三,查看当前路径原创 2015-01-21 17:21:22 · 624 阅读 · 0 评论 -
Linux 查看内核版本
原创 2014-11-19 09:30:08 · 647 阅读 · 0 评论 -
linux如何模糊查找一个文件
在当前目录下搜索指定文件:find . -name test.txt 在当前目录下模糊搜索文件:find . -name '*.txt' 在当前目录下搜索特定属性的文件:find . -amin -10 # 查找在系统中最后10分钟访问的文件find . -atime -2 # 查找在系统中最后48小时访问的文件find . -empty # 查找在系统中为空的转载 2014-10-31 11:49:15 · 36571 阅读 · 1 评论 -
Linux 系统设置定时任务
首先需要启动crontab服务service crond start #启动服务service crond stop #关闭服务service crond restart #重启服务service crond reload #重新载入配置 然后使用crontab -e进行编辑,然后进行例行任务的编辑,之后保存退出即可。具体的格式说明如下: 每一行的格式为转载 2014-10-24 17:26:57 · 470 阅读 · 0 评论 -
Linux下 VIm编辑器显示行号
第一种是,手动显示:在vim命令行模式下输入 :set nu 取消显示:在vim命令行模式下输入: set nonu 第二种是,永久自动显示:我们修改一个配置文件。 我们输入命令:vim ~/.vimrc 打开后是一个空文件,我们添加 set nu,保存退出,再次进入vim编辑器,就会自动显示出行号了原创 2014-09-12 15:02:23 · 635 阅读 · 0 评论 -
Linux 下安装libxml出现cannot remove `libtoolT': No such file or directory Done
libxml2 /bin/rm: cannot remove `libtoolT': No such file or directory Done原创 2014-08-28 11:31:08 · 1656 阅读 · 0 评论 -
linux下提示bash:command not found
如果新装的系统,运行一些很正常的诸如:shutdown,fdisk的命令时,悍然提示:bash:command not found。那么 首先就要考虑root 的$PATH里是否已经包含了这些环境变量。 主要是这四个:/bin ,/usr/bin,/sbin,/usr/sbin。 四个主要存放的东东: ./bin: bin为binary的转载 2014-08-28 11:54:45 · 989 阅读 · 0 评论 -
Linux 下安装mysql 出现 libs 包冲突错误
用rpm安装MySQL时原创 2014-08-28 11:24:18 · 2541 阅读 · 0 评论 -
linux 启动新安装的Apache时Could not reliably determine the server's fully qualified domain name
启动Apache时 Could not reliably determine the server's fully qualified domain name转载 2014-08-28 11:56:14 · 449 阅读 · 0 评论 -
Linux下用源码安装 MySQL 初始化mysql数据库时提示字符编码错误的解决办法
在安装MySQL初始化的时候出现了以下错误root@localhost mysql-5.5.19]# bash scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/home/webserver/mysqldata/Installing MySQL system tables...120330转载 2014-08-28 11:35:47 · 2136 阅读 · 0 评论 -
Linux 下Apache开启伪静态的配置
打开Apache的配置文件原创 2014-08-28 11:20:41 · 6642 阅读 · 0 评论 -
Linux下安装gcc 、g++ 、gfortran编译器
(1)gcc命令:yum install gcc(2)g++/gfortran命令:yum install gcc-c++执行完该命令后,g++/gfortran都被安装上了。原创 2014-08-28 11:51:44 · 5578 阅读 · 1 评论 -
Apache中设置默认首页
在Apache安装目录找到配置文件 httpd.conf找到DirectoryIndex原创 2014-08-28 11:09:23 · 482 阅读 · 0 评论 -
Linux下 安装 zlib时出现 Looking for a four-byte integer type... Not found.
Looking for a four-byte integer type... Not found.原创 2014-08-28 11:33:46 · 2725 阅读 · 0 评论 -
构建高性能web之路------工具和环境准备篇
一.web服务器1)apacheapache分为很多模式,大家最熟悉有prefork和worker两种,在linux上安装apache可见文档值得注意的是prefork和worker的选择是在编译期,在make之前就需要选定安装的模式,如:./configure --with-mpm=prefork./configure --with-m转载 2015-04-07 13:56:21 · 528 阅读 · 0 评论