Recently, I want to try C ++ programming in Linux due to my work and learning needs. So I spent a little time studying C ++ IDE in Linux. Finally, I tried using two famous ides: Code: Blocks and Eclipse. This article will share some of the problems
I. Exit
In Linux, whether it is a command, script, or program, the exit status exists after the execution is completed and the exit status is usually saved in the pre-defined variable $? . In most cases, the predefined variable only uses two numbers
There are two useful functions for library function error handling: perror and exit: 1. Error Report
The perror function reports errors in a simple and unified manner. Many library functions in ansi c, especially I/O functions, call the operating
2. You will receive the following email after review:
3. The remaining process of creating EC2 and RDS can refer to http://www.cnblogs.com/deltacat/p/3294864.html
4. Install nginx, php, and php-cgi. (The operating system is amazon AMI, rather
UNIX systems support sharing open files between different processes.
The kernel uses three data structures to indicate opened files. The relationship between them determines the possible impact of one process on another process in terms of file
The free command in linux is used to view memory usage. The free-h command can be used to view the parameters and meanings of the free command. These parameters are relatively simple. Generally, they are commonly used, for example, free-m.
The most
In linux, we use useradd to add users. However, this process is complicated and complicated for users to add permissions, the useradd command I introduced here can quickly add a root Super administrator and set the PASSWORD command. I hope it will
This article introduces the VNC Local interface for connecting to each VM of XenServer through the non-XenCenter mode.
Obtain the list of local VMS
The Code is as follows:
Copy code
Usage:./getvnc vm_name"VMs
Many netizens raised questions and said they do not know how to use the timer. In order to facilitate your learning and self-check, the summary is as follows:
1. Summary of scheduled tasks;
A scheduled task is a task that executes the scheduled job
This article will introduce you to notes on testing nginx lua and autoindex. I hope this tutorial will be helpful to you.
Nginx-lua can not only be used as an interface, but also process upper-layer output (upstream outputs ).
For example:
This article introduces a linux script for automatically downloading and obtaining route tables in China. I hope it will be helpful to you.
Today, we have configured a vpn for the company's macbook, but every time we dial everyone's qq and skype
In linux, almost all installed software won't be automatically started by default, and I need to start it manually. This is very bad for WEB servers, apache, and mysql, so how do we remember that these software is automatically started upon startup?
Below we have compiled several common host shell monitoring scripts, including comprehensive server monitoring and CPU and memory monitoring, disk space monitoring, and traffic monitoring.
1. View host Nic traffic
The Code is as follows:
Here is a friend who has compiled an article about some commonly used iptables firewall rules when using linux. I will record them and give them a reference.
Install iptables Firewall
If iptables is not installed, install it first, and run
This article introduces how to solve the problem of fatal error: ffi. h: No such file or directory when compiling bcrypt.
The project is tested normally on the local machine and is ready to be deployed on the test server for internal testing. As a
To install nginx online, we need to create an nginx. repo file, copy and save the corresponding system code, and then execute the installation. Here we will introduce the Centos/Ubuntu/Debian system method.
First create a file
Vi/etc/yum. repos.
Next, I will take a look at the analysis of the crontab core issue in linux. I hope this article will help you.
After receiving a report from my colleagues, the program crash again, but the core cannot be found, and the core should be generated. The
If the iptables firewall is not configured properly, we will not be able to access the server on our own. Let's take a look at our own vps in a hurry today, and we won't be able to log on through ssh, so it is very difficult to query logs, several
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service