Transferred from: http://www.linuxidc.com/Linux/2012-01/52153.htmC programming under Linux is different from Windows, if you are using GCC to compile code with the hint ' for ' loop initial declarations is only allowed in C99 mode, Maybe it's
Recent projects used in the membase found a problem, the production environment read and write all kinds of data are normal, but the new development environment, only the default bucket is not written data, call store always return false, the
The role of the 1,__ATTRUBTE__ keywordClick to open linkThe role of __attrubte__ (packed) is to tell the compiler to undo the optimization alignment of the structure during compilation and to align it by the actual number of bytes consumed. struct
How to turn on FTP service under Linux1. First the server to install the FTP software to see if the FTP software has been installed:#which vsftpdIf you see a vsftpd directory stating that the server has FTP software installed2. View FTP Server
Remote backup large capacity often there is the case that the file from remote backup is very large, it takes a long time, you want to exit SSH after the program can still continue to download in the background, can be established through the
1.1 Installing ApacheYum Install httpd Httpd-develWhen the installation is complete, start Apache with/etc/init.d/httpd startSet to boot: chkconfig httpd on 1.2 installing MySQL1.2.1 Yum install MySQL mysql-server mysql-develAgain, when done, start
*/bin Common Commands*/boot Store boot boot file grub*/dev Device files*/ETC System Configuration File*/home Normal user home directory, equivalent to documents and Settings in Windows/lib library functions and kernel modules/lost+found This
Release the Linux tools quick TutorialPhased completion of the book Open source books, published to the need for friends, but also welcome more friends to join in, improve the book;Book GitHub address: Https://github.com/me115/linuxtools_rstOnline
Linux command--shutdownName:Shutdown-Shut down the systemProfile:Shutdown "OPTION" ... Time (parameter) [MESSAGE]Describe:The shutdown arranges the system to shut down in a safe manner. At this point all users on this computer are notified that the
(1) chmodThe chmod command is used to change file or directory permissions , and the English original is the permissions mode of a file, where the path is/bin/chmod, and its syntax format is:chmod [{ugoa}{+-=}{rwx}] [file or directory] or chmod
1. Query the total number of processes running on the current machine:Ps-ef | wc-lPs-ef | grep httpd | Wc-l2. Ulimit commandTable 1. Ulimit parameter Description
options [Options]
Meaning
Example
-H
Set
Today, Mayuyu Some of the commands that are commonly used in Linux.1. grep commandgrep is used to filter what you need, and the syntax is as followsgrep Mayuyu--colorFilters out all rows that contain Mayuyu, and grep also supports regular
Lesson 10 using Fdisk for Disk Management FDISK is an old partition tool from IBM that supports most operating systems, and almost all Linux distributions have Fdisk installed, Included in Linux rescue mode can still use, FDISK
It doesn't matter what the big data is, it just helps a friend get in a wrong record.Former relationship is very good colleagues, currently in the enterprise-level WiFi domain business, procurement of our big data services, is to do the platform for
Debian Wheezy 7.8 release and download
Debian Wheezy 7.8 is released. You can use the following command to upgrade debian wheezy 7.8.
Apt-get updateApt-get upgrade-y
After these two commands are executed, your debian is successfully upgraded to 7.
Linux monitoring command graphic details
A wide range of Linux monitoring commands are shared.1.1 top1.1.1 command description
The Top command can monitor the running status of the system in real time and sort by cpu, memory, and execution
Learning Shell together (4) Text processing and Pipelines
Text processing toolsSort text: sort explanation: the input is considered as a data stream with multiple records, and the record is composed of Variable-width fields. The record is bounded by
Install pptpd VPN in Centos 6.5x64
This tutorial applies to Openv VPS, Xen VPS, or kvm vps.
1. Run the following command:
Cat/dev/net/tun
The returned value must be:
Cat:/dev/net/tun: File descriptor in bad state
Run:
Cat/dev/ppp
Install Vendetta Online on Ubuntu 14.04
Vendetta Online is a large-scale multiplayer Online role-playing game developed by Guild Software. The game allows thousands of gamers to turn their colleagues into pilots, drive a space ship in the vast
Distributed Task Distribution framework-Gearman
Official documentation: http://gearman.org/getting-started/ installation methods and examples are available, you can take a look.
Gearman is a program framework for task distribution. It can be used in
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