Generally, the host name is set during installation. to modify the host name, perform the following steps.
Run the hostname command to modify the Host Name of the current system.# Hostname newhost
Modify/etc/sysconfig/network so that the new
Originally, nutch runs in Linux, but for convenience, it is also because only windows. dll is available on ICTCLAS. Therefore, at the beginning, we all completed the "nutch + ICTCLAS" in windows, so we initially achieved a powerful search engine
[Enable the root user in UbuntuSet the root password: sudo passwd RootUbuntu7.04 enable the root user: Set allowroot = true (true if enabled, otherwise false) in VIM/etc/X11/mcm/TPD. conf)Ubuntu8.04 enable the root user: Set allowroot = true (enable
LinuxContinuously maintain related data structures (suchRunqueue,Prio_array), Constantly update the dynamic priority of the process, and adjust the time slice accordingly.O (1)Complex Process SchedulingAlgorithmYou can schedule a new process to run
Find a Windows system installation disk, set it to the boot mode, restart the computer, enter the repair mode, use the fixmbr command to repair the boot area, and then enter the installation mode, you can see partitions that cannot be recognized by
View process information:
PS-ef
PS aux
Differences between the two:
LinuxThe following shows the command PS of the system process. What are the differences between PS-EF and PS aux (do not use PS-Aux?
There is not much difference. to discuss
This section describes part of the PowerPC-based second-stage Linux Startup Process. MMU initialization involves a large amount of content and a large amount of code. This section continues to describe the MMU hardware initialization and final MMU
From: http://personal.denison.edu /~ Bressoud/cs372-f05/geekos_project/fsproject.html
Figure 10.1. Overview of the virtual filesystem (VFS)
The VFS layer works by dispatching requests for filesystem operations (such as opening, reading, or writing
Some file-related commands are mainly used for development in Linux:
1. view files.
After the system is installed, the/root/directory contains an install. log file. For example, we want to view this file.CAT/root/install. LogBut there are a lot of
Repost a good article on Linux File permissions. There will always be gains after reading it patiently!
One user and one group
Let's take a look at the Linux permission and ownership model. We can see that each file belongs to a user and a group.
Http://firstdot.spaces.live.com/
1. GCC Embedded Assembly(1) is the input and output using the same register in the GCC embedded assembly?
Static void * _ memcpy (void * To, const void * From, size_t N){Int D0, D1, D2;_ ASM _ volatile __("Rep;
Ulk:
Swap only applies to the following types of pages
1 page that belongs to the anonymous linear area of the process (such as the user State stack)
2. Modified pages of the process's oil memory ing
3 pages in the IPC shared linear area
Other types
/* Arrange for userspace references to be interpreted as kernel
* Pointers. That way we can pass a kernel pointer to a routine
* That expects a _ User pointer and it will work okay .*/
Set_fs (get_ds ());
# Define kernel_ds 0x00000000# Define
Recently, I used axis2 for WebService. On Solaris, I used axis2 to generate a client. When I run the command
Export java_home =/usr/j2se
When setting environment variables, the following error is reported:
Java_home =/usr/j2se: is not an
I. Relationship between ports and servicesThe correspondence between the port number and the corresponding service is stored in the/etc/services file. Most ports can be found in this file. Use the netstat commandThe displayed service name is also
Linux configuration and management
Index
Remote X
Remote Desktop
Install. SRC. rpm
HTTP Server
USB device
Partition and create a file system
Mount
SSH Login Without Password
Rsync
Cause:
In Linux, C ++ uses UTF-8 encoding. Therefore, the char type is not simply a single character or a byte.
An English character occupies one byte, while a Chinese character occupies more than one byte (For details, refer to the Unicode encoding
Reference: http://www.linuxdiyf.com/viewarticle.php? Id = 81130
Common Data Types
Time_t is generally used to store international time, which can be directly obtained using the time () function;
Struct: TM is generally used to store local time. It
From: http://www.linuxdiyf.com/viewarticle.php? Id = 45164
During encoding and conversion on Linux, you can use both the iconv function family programming and the iconv command (for file conversion)
I. Use the iconv function family for encoding and
Address Space sorting after Linux kernel CompilationIs there a series of problems that affect you: what is the scope of the address space formed by the user program compilation connection? What is the scope of the address space after the kernel is
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