In some PHP built-in functions (such as mkdir), adding @ at the front can mask the error thrown by the function, so how does the custom function do this? I tried the throw. New exception and Trigger_error cannot be added by the @ Mask: So, for
Determines whether the directory is empty, true is null, false is not empty function Is_empty_dir ($fp) {$H = @ opendir ($fp), $i =0, while ($_file=readdir ($H)) {$i + +;} Closedir ($H); if ($i >2) {return false;} Else{return true;}} 1. Determine if
Tool CD production notes-general Linux technology-Linux programming and kernel information, the following is a detailed description. I. Refill knoppix
Knoppix is a debian-based linux operating on a CD. There are a lot of articles about knoppix
From the technical point of view, a few requirements: 1, from the security point of view, SFTP will be more secure a little more 2, online server to provide on-line services, users need to control, only let users in their home directory activity 3,
1 Introduction
2 Pre-installation preparations
download vmware workstation
Download the files required for Gentoo
knowledge points
1 We have downloaded a x86 architecture-based installation package
When dealing with various failures in the Linux system, the symptoms of the failure are the first to be discovered, and the cause of the failure is the key to eventual troubleshooting. Familiar with the Linux system log management, understand the
Long-term use of Windows and Ubuntu dual system, it is likely to encounter a heavy system, or other ways to join the partition, causing the system to restart:GRUB Loadingerror:unknow Filesystemgrub rescue>Reprint Please specify source:
Troubleshooting and remediation techniques for Linux systemsI found that the Linux system in the boot process will have some failures, causing the system to not start normally, I wrote here a few application of single user mode, Grub command
This article describes how to use the Linux rescue mode-general Linux technology-Linux technology and application information. For more information, see the following section. When the system cannot connect to the single-user mode or the GRUB
Like other large software, the BINDDNS server also has many problems due to its large size and complicated functions. Therefore, the number of system intrusions targeting the BIND Security Vulnerabilities is also greatly increased, and the most
I found that some faults may occur during the Linux system startup, which causes the system to fail to start normally, I have written several fault repair cases for single-user application mode, GRUB command operation, and Linux rescue mode to help
Article Title: Linux system startup fault repair. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
During Linux
Build DNS under CentOS7
DNS (Domain Name System) is a distributed database that maps Domain names and IP addresses on the Internet, allowing users to access the Internet more conveniently. The process of obtaining the IP address corresponding to the
Nothing is more irritating than bootloader bad, give full play to the role of Grub 2, let bootloader work well. Why do you say that?
Grub 2 is the most popular bootloader and is used on almost all Linux distributions.
Bootloader is a
The concept of SCAN (Single Client Access Name) is introduced in the Oracle 11g RAC cluster, that is, the Single Client Access Name of the cluster. SCAN provides a single host name for the client to access the Oracle database running in the cluster.
The concept of SCAN (Single Client Access Name) is introduced in the Oracle 11g RAC cluster, that is, the Single Client Access Name of the cluster. SCAN provides a single host name for the client to access the Oracle database running in the cluster.
In the previous article, we talked about how to solve the linux Vsftpd server problem. It describes how to write the log information into the system log/var/log/messages and its parameters: syslog_enable = yes/no. This article will be explained
Set up the DNS service in linux and set up the linuxdns Service
I will not elaborate on the theoretical knowledge too much here.
Need to Know: http://baike.baidu.com/subview/22276/15346050.htm? Fr = aladdin
Go to build
Software used: Vmware
Security code: Once dreamed similarities go Tianya, back to the head, but found or not put home careFollow-up theory of the verification of graphic details, I will update, I hope you can refer toChapter 11th FTP File Transfer Service1. FTP
First, DNS primary configuration fileA list file for a/etc/hosts-host-contains a list of known hosts (on the local network) if the system's IP is not dynamically generated, it can be used for simple host name resolution (dot
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.