1,Linux memory space
A. Linux's memory space has 4G of process address space, including user space and kernel space. The user space is allocated 3G, and the kernel space is assigned 1G. User processes typically have access only to virtual addresses
Pkg is a shorthand for Debian package, a suite management system specially developed for Debian to facilitate installation, updating, and removal of software. All Linux distributions originating from Debian use dpkg, such as Ubuntu, Knoppix, and so
switch to a directory
#查看当前所在路径
bixiaopeng@bixiaopengtekimacbook-pro ~$ pwd
/users/bixiaopeng
#使用命令: cd directory path
Bixiaopeng@bixiaopengtekimacbook-pro ~$ cd apktool
#查看切换后的路径
bixiaopeng@bixiaopengtekimacbook-pro apktool$
Under Debian, direct Apt-get install gcc g++ is OK. Follow similar logic, then fedora under Yum install GCC g++ report cannot find g++ package.
Check it out, the original name of the bag is called gcc-c++. The complete should be yum install GCC
Linux systems can view memory usage through the Cat/proc/meminfo command:memtotal:3934164 KBmemfree:307128 KBbuffers:148556 KBcached:1051540 KBswapcached:213796 KBactive:2309512 KBinactive:990744 KBActive (anon): 1710288 KBInactive (anon): 458576
System boot log: Bringing up interface Eth0:pcnet32 device eth0 does not seem to be present, delaying initialization.
Ifconfig output: No eth0
System-> Network configuration: Has eth0, in inactive state. An error occurred while trying to activate:
I. Installation of Redis
1, the officer network Download Redis compression package, Address: http://redis.io/download
2, through the Remote management tool, the compressed package is copied to the Linux server, performing decompression operations
1. Installation dependency Pack and Chinese man Handbook
sudo apt-get install manpages-posix manpages-posix-dev
sudo apt-get install
Generally execute these two on it, if you have not switched to Chinese, open the file
sudo
In the virtual machine Linux installed httpd, that is, Appache, after the boot, according to the normal situation in the host can be accessed by the browser through the virtual machine Linux IP to access. If an inaccessible situation occurs, the
Accumulation of problems in embedded Linux startup process
Bowen Original Address: http://blog.csdn.net/dzassn/article/details/1953993
1.Bad Magic Number
# # Booting image at 33000000
... Bad Magic number
OMAP5912 OSK # (TFTP download good kernel
1 Find CommandThe Find command is a ubiquitous command, one of the most useful commands in Linux. The Find command is used to search for files in a directory (and subdirectories), and you can specify matching criteria, such as locating files by file
A use of rename.
One: The question is raised
For example, my/home/cyq/cyq have m.php;1 n.php;1 two files, how to remove the file name; 1.
cyq@cyq-desktop:~/cyq$ dir m.php;1 n.php;1 notes cyq@cyq-desktop:~/cyq$Two: The solution of the problem
First, VMware installation
1. Double-click Vmware-workstation-full-12.1.0-3272444.exe, the next step can be installed to complete
2. From the Start menu, select the VMware Workstation Pro in the program, click Open Software
3. Select the entry
The dpkg command is a utility used by Debian Linux systems to install, create, and manage software packages.
A file that is used primarily to handle a. deb suffix name.
You typically use dpkg-i filename to install the. deb file.
The detailed
1, atexit () function registration function code, run the result:
Process Analysis:
The Atexit function registers three fun functions, waits 3 seconds, and then prints "Hello bit" (if the output part of the main function does not add \ n, the
First, download Scala installation package
From the official Scala website address: http://www.scala-lang.org/download/Download Scala binary package, in 2.11.8 version For example two, installation
1. Move the downloaded binary package to
very good video.http://www.imooc.com/learn/447
one or two management of incoming packages
1.1 Concepts
There are mainly two kinds of package management, RPM and Yum.
Two package management is useful, the main difference is: Yum use simple but
CP Copy files or directories
Grammar
CP [option] source file destination file
Common options:
-A: equivalent to PDR
-D: Copies the linked file, which is also a linked file or directory that points to the source file link.
-I: When the
If you use a dynamically-linked library. So file that you manually generated, but this. So file is not added to the library search road, the program may run with a situation where the dynamic link library cannot be found.
You can view the
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