搜索列表
-
linux系统查看磁盘空间
【RedHat/Centos】一、df 命令; df 是来自于coreutils 软件包,系统安装时,就自带的;我们通过这个命令可以查看磁盘的使用情况以及文件系统被挂载的位置; 举例: [root@localhost beinan]# df -lh Filesystem 容量 已用 可用 已用% 挂载点 /dev/hda8 11
-
Linux操作系统下修改IP、DNS和路由配置
【RedHat/Centos】在Linux操作系统下修改IP、DNS和路由配置 ifconfig eth0 新ip 然后编辑/etc/sysconfig/network-scripts/ifcfg-eth0,修改ip 一、修改IP地址 [aeolus@db1 network-scripts]$ vi ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPROTO=static
-
Linux下如何禁ping
【RedHat/Centos】/etc/rc.d/rc.local中增加一行 echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all 0表示允许 1表示禁止 或者在root权限下执行这个命令 仅仅起作用从执行完毕 到 重启或者关闭系统 Debian下 $ sudo echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all 无效 可以 先sudo -s 切换到root权限下 然后 # ...
-
linux磁盘配额相关设置
【RedHat/Centos】1、检查系统是否支持磁盘配额(2.4及以后的内核默认是支持磁盘配额的):[root@rhel ~]# grep CONFIG_QUOTA /boot/config- [TAB键补全]CONFIG_QUOTA=yCONFIG_QUOTACTL=y #这样就说明是支持磁盘配额的;2、修改/etc/fstab:/dev/sd
-
PHP startup: Unable to load dynamic library错误的错误
【RedHat/Centos】怪啦!今天的Apache和IIS都没法正确加载php_mysql.dll。google了一下,原来发现出现这个问题的人还不少,PHP startup: Unable to load dynamic library :E;\PHP5\ext\php_mysql.dll。明明php_mysql.dll就摆在extension_dir (= "E:/PHP5/ext")下的嘛,怎么会呢
错误 functionsbundledPHPRequires:>requires -
linux系统如何释放内存
【RedHat/Centos】先看看内存使用状况[root@node1 ~]# free -mtotal used free shared buffers cachedMem: 8004 6557 1446 0 163 5630-/+ buffers/cache: 763 7240Swap: 1983 0 1983把内存里的数据暂时写到硬盘里[root@node1 ~]# sync修改 /proc/sys
内存释放如何系统root@node1free/proc/sys/vm/drop_caches -
Apache安装、配置、优化
【RedHat/Centos】安装 Apache 2.0.48 (查看Install手册) 考虑到以后要 rewite_url 来使 google 更加容易收录网站,特地添加了 mod_rewrite 。 同时为了限制流量,特别加了 mod_limitpcnn.c 补丁 , 所以多了一个 --enable-forward 选项。 建议安装完毕以后不要删除安装目
优化配置安装 代码toapache2.0编译查看DSO -
Linux下安装的硬件方法
【RedHat/Centos】1、安装 Linux 要占用多少硬盘空间? 决定于要安装什么distribution的Linux,以及需要装入多少应用程序,是否安装原代码等。 例如最基本的Slackware Linux大约需要10MB的空间,包括X Windows则要80M,假如要把基本>系统工具程序、常用应用软件以及TC
方法硬件安装Linux显卡键盘文件配置需要目录 -
Linux系统的磁盘管理
【RedHat/Centos】1.fdisk -lDisk /dev/sda: 120.0 GB, 120034123776 bytes =>硬盘容量120G255 heads, 63 sectors/track, 14593 cylinders =>255个磁头,63个扇区,14593个柱面Units = cylinders of 16065 * 512 = 8225280 bytes =>每个柱面的容量
管理磁盘系统 >×容量Linux0%tmpfs -
Apache最新官方配置文件中文版说明
【RedHat/Centos】Apache最新官方配置文件中文版## Based upon the NCSA server configuration files originally by Rob McCool.#参照NCSA服务器的配置文件,原版由Rob McCool发布## This is the main Apache server configuration file. It contains the# configuration
中文版说明文件配置最新官方theto"of< -
linux 服务器常用维护命令
命令维护常用服务器安装文件目录export
Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
【】这里我会把网上看到的、自己平时用到的、和感兴趣的都整理出来,大部分采纳与网络分享的案例 -
linux学习笔记
笔记学习显示系统文件设置quota用户设定使用
Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
【】linux目录架构/ 根目录/bin 常用的命令 binary file 的目錄/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内/boot/grub/menu.lst GRUB设置/boot/vmlinuz 内核/boot/initrd 核心解壓縮所需 RAM Disk/dev 系统周边设备/etc 系统相关