今天再给硬盘扩容时,发现报如下错误,因为准备采用lvm方式,过程如下: [root@localhost /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup
今早一台服务器故障,后来有空上来查看故障日志,未果,发现时间不对,如下: [root@cache06 ~]# hwclock -w Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method
7-Zip 是一种高压缩比存档格式 7z 的管理器,不过用于 Win 平台。如果是 Linux 用户,则可以使用 P7ZIP 来代替。 P7ZIP 的安装 在 Debian/Ubuntu 系统,可通过 sudo apt-get install p7zip 进行安装。 P7ZIP 的使用 创建压缩包:7za a -t7z test.7z *
yum groupinstall "Development Tools" yum groupinstall "Development Libraries"
lftp localhost:21 -u user,password -e "put xxx.txt"
一:查看cpu more /proc/cpuinfo | grep “model name” grep “model name” /proc/cpuinfo 如果觉得需要看的更加舒服 grep “model name” /proc/cpuinfo | cut -f2 -d: 二:查看内存 grep MemTot
#!/bin/bash # A sample firewall shell script IPT="/sbin/iptables" SPAMLIST="blockedip" SPAMDROPMSG="BLOCKED IP DROP" SYSCTL="/sbin/sysctl" BLOCKEDIPS=&quo
[root@media bin]# /etc/init.d/iptables stop Flushing firewall rules:  
###add for Optimization <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header set Cache-Control "max-age=86400, public" </FilesMatch> <FilesMatch &q
对于系统的管理细分,权限的限制,sudo的使用 让sudo记录操作 1、创建日志文件 touch /var/log/sudo 2、更改/etc/sudoers 末尾加入 "Defaults logfile = "/var/logl/sudo"" 3、更改日志系统/etc/syslog.conf syslog.conf 加入 
[root@localhost ftpproxy-1.2.3]# more INSTALL to be completed ... 1. Building Same old story: m
为了安全认知,查看服务器登录用户的sftp操作,特查证此方法,如下: 1、更改/etc/ssh/sshd_config文件, 更改Subsystem sftp /usr/libexec/openssh/sftp-server 为Subsystem &n
win7 IIS服务手动启动和停止 cmd 命令行 停止 iisreset /stop 启动 iisreset /start 其他方法我不写。
不好意思,所谓原创,只是自己总结而已,技术肯定不是我发现的了。 linux下使用此命令: net rpc shutdown -r -f -I xxx.xxx.xxx.xxx -U username%password [root@test ~]# net rpc shutdown -r -t 60 -I 192.168.1.119 -U administrator%123456 Sh
UNetbootin (Universal Netboot Installer)为一种跨平台工具软件,可以用来建立Live USB 系统,也可以加载各种系统工具,或安装各种Linux操作系统(Linux套件)和其他操作系统,不需使用安装光碟(自 动透过网络下载)。 USB安装模式 这种安装模式建立开机USB随身碟(bootable USB flash drive)和开机USB硬盘(b
R-Linux is a free file recovery utility for the Ext2/Ext3/Ext4 FS file system used in the Linux OS and several Unixes. R-Linux uses InteligentScan technology and flexible parameter settings that giv
Tab自动完成 另外一个极为有用的有关IPython数据输入(data-entry)的特征是Tab自动完成功能,该功能在默认 状态下是开启的。标准Python shell如果编译时增加了readline支 持特性,将具有tab自动完成功能,但需要做如下处理: >>> import rlcompleter, readline >&
Linux是一种主要用于网络环境中的稳定的操作系统,安装 Linux系统的用户会发现在Linux环境下上网效率会比Windows高很多,而且其安全性更是Windows所不可比拟的。本文向大家介绍在 Linux下常用的几个与网络有关的命令。 ---------------------------------------- ls #以默认方式显示当前目录文件列表 ls –a #
/proc/sys/net/ipv4/* Variables: ip_forward - BOOLEAN 0 - disabled (default) not 0 - enabled
2.10 IPX -------- The IPX protocol has no tunable values in proc/sys/net. The IPX protocol does, however, provide proc/net/ipx. This lists each IPX socket giving&
2.4 /proc/sys/vm - The virtual memory subsystem ----------------------------------------------- The files in this directory can be used to tune the operation of the virtual memory (VM)&
------------------------------------------------------------------------------ CHAPTER 2: MODIFYING SYSTEM PARAMETERS ------------------------------------------------------------------------------
1.4 Networking info in /proc/net -------------------------------- The subdirectory /proc/net follows the usual pattern. Table 1-6 shows the additional values y
------------------------------------------------------------------------------
100531 10:31:14 [Note] Slave: received end packet from server, apparent master shutdown: 100531 10:31:14 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysqld-bin.000
[root@localhost ~]# df -h 文件系统 容量 已用 可用 已用% 挂载点 /dev/mapper/VolGroup00-LogVol00 &n
------------------ What is sendEmail? ------------------ SendEmail is a lightweight, completly command line based, SMTP email agent. If you have the need to send email from the command line
R610为例,大流量情况时,网卡时而不工作 原网卡驱动版本信息 [root@data09 ~]# ethtool -i eth0 driver: bnx2 version: 1.7.9-2 firmware-version: 4.6.4 NCSI 1.0.6 bus-info: 0000:01:00.0 [root@data09 ~]# 升级驱动,以下操作均远程ssh完成 wge
Mail::SendEasy这个模块在cpan邮件发送系列关注度比较高,用来发送邮件相当easy 它支持plain/html格式邮件内容, 通过SMTP服务器发送邮件,对系统平台没有依赖, 支持附件发送和SMTP认证。 用法可以看它的perldoc 就它的例 子做些解释 use Mail::SendEasy ; my $mail =
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号