本文仿照 Windows 回收站的功能,运用 Bash 脚本在 Linux 上做了实现,创建 delete 脚本代替 rm 命令对文件或目录进行删除操做。该脚本实现了以下功能:对大于 2G 的文件或目录直接删除,否则放入$HOME/trash 目录下;恢复 trash 目录中的被删除文件到原目录下;文件存放在 trash 目录中超过七天被自动删除。概述删除是危险系数很高的操作,一旦误删可能会造
Recently i find the windows8 Disk Usage always keep up 100%, It must be have some issue.Step1. Go into Open Task ManagerStep2. Go to Details tabStep3. Right click the columns headers and click "Select
What's OpenstackOpenStack is a global collaboration of developers and cloud computing technologists producing the ubiquitous open source cloud computing platform for public and private clouds. The pro
Today i clone a redhat vm, But don't remember the password. ok, reboot, enter into the single user mode. How to enter into single user mode? 1.Edit the kernal when booting, append a "1" in the end. pr
When it comes to measuring a storage system's overall performance, Input/Output Operations Per Second (IOPS) is still the most common metric in use. There are a number of factors that go into calculat
It’s really very tough job for every System or Network administrator to monitor and debug Linux System Performance problems every day. After being a Linux Administrator for 5 years in IT industry, I c
1. rm -rf CommandThe rm -rf command is one of the fastest way to delete a folder and its contents. But a little typo or ignorance may result into unrecoverable system damage. The some of options used
1.Kerberos plus LDAP - This is a lower-level option where you set up Linux to use Active Directory's underlying protocols yourself. 2.Samba - Samba is the defacto standard for joining a Linux machine
For convenient manage account, Samba can integrate with AD.1.environment: windows 2008 R2 domain, Centos, Please bind your ip and hostname.2.The necessary software for samba:yum install samba samba-cl
As an owner of the website it is very difficult to manage multiple websites without a control panel. However to suit the needs, we need a custom hosting plan.A Web hosting control panel is a totally w
Each of the above directory (which is a file, at the first place) contains important information, required for booting to device drivers, configuration files, etc. Describing briefly the purpose of ea
We have some LV disk on xen server.there are a number of linux systems in the LV disk.And now it is less space among LV. We need to extend the space immediately.Main steps:1.Shutdown the virtual syste
A friend of mine asked me to have a look at his Linux-server. "It behaves strangely" he said, most notably the web-server apache refused to start. It turned out to be more than just a proble
Redo Backup and Recovery is so simple that anyone can use it. It is the easiest, most complete disaster recovery solution available. It allows bare-metal restore. Bare metal restore is not only the be
If you want to unify your vm plantform,This article will give you some help.I just make a experiment from xen to vmware,I am simply opening the subject for discussion. We have two kind of methods,one
Just open the configuration pan.
Linux System is considered to be free from Viruses and Malware. What is the truth behind this notion and how far it is correct ? We will be discussing all these stuffs in this article.Is Linux Operati
1.First,Remember which system need to boot at first.if the windows order is 32.backup grub file before we edit it.#cd /etc/default#sudo mv grub grub.back#edit this lineGRUB_DEFAULT="0"
Switching From Windows to Nix or a Newbie to Linux – 20 Useful Commands for Linux NewbiesSo you are planning to switch from Windows to Linux, or have just switched to Linux? Oops!!! what I am asking!
Recently I am busy,and haven't time to write something.I always want to learn some new knowledge.But I can slove it by search on internet when i happen to troubles.Maybe someone alr
1. Install Berkeley DB,prepare a database for openldaptar zxvf db-4.6.21.tar.gz cd db_4.6.21/build_unix/ ../dist/configure sudo make sudo make install sudo cp /usr/local/BerkeleyDB.4.6/include/*
EXAMPLES:1. nmap -v -A sina.com -v: Increase verbosity level (use -vv or more for greater effect) -A: Enable OS detection, version detection, script scanning, and traceroute2.nmap -v -sn 192.168
The easy method make a local repository:[root@ceping yum.repos.d]# cat cdrom.repo [cdrom] name=Red Hat Enterprise Linux $releasever cdrom #baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$
As all known, Many monitor platforms are opensource,and most of commpanies are using them,it is very important to keep the system high available. Every monitor tools is convenient if you
This is an article about how to install a taskilling system.We can decide use some opensource application,such as JIRA,ClearQuest,Bugzilla,Trac.Now I will introduce Bugziila briefly. What Does
I found it not available when i open the qemu in the virt-manager,it warning that so I check the kvm module,it not found the kvm-intel module,so it may be the bios is not open the virtulization or
we upgrade ubuntu kernal ,sometimes it may be not adapt to hardware.we can reboot into the start menu, select advance mode and enter into old kernal.But if the old kernal was broken or uninsta
1.Paramiko is a python's modules for link remote server.The following two methods are about how to use Paramiko link remote servers The first method ssh = paramiko.SSHClient() s
When you upgrade system,and the old kernal will not automatic uninstall,you can manual uninstall it,the command is: sudo apt-get installl aptitude sudo aptitude purge ~ilinux-p_w_picpath-.*\(\!`unam
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号