Programmers are lazy, you know.
Recently in development, you need to use the server's IP and Mac information. But the server is installed on the Linux system, for the multiple network, in the acquisition of IP generated a lot of problems. The following is a method for Java to obtain a local IP on a Windows system. Paste Code:
Package com.herman.test;
Import java.net.InetAddress;
/**
* @see get computer IP
* @author herman.xiong
* @date May 16, 20
Document directory
I. Linux operating system source
Ii. Basic Linux knowledge
Iii. Introduction to C Programming in Linux
This article is original and must be reproduced with the following source:Http://blog.csdn.net/qinjuning
Starting from today, I made up my mind to step into the Linux Hall step by step. Wh
Summary of the basic operations of Linux, basic operations of linux
Preface
Linux was a UNIX-compatible operating system developed in 1991 and can be used for free. Its source code can be freely transmitted and can be modified, enriched, and developed by anyone, the original intention of developers is to jointly create a perfect, ideal and free-to-use operating s
Linux Directory Architecture
/root directory
/bin commonly used commands binary file's catalogue
/boot store files that must be read when the system is started, including the core (kernel)
/boot/grub/menu.lst Grub Settings
/boot/vmlinuz kernel
RAM Disk required for/BOOT/INITRD core decompression
/dev System Peripheral Equipment
/ETC System Related setup file
/etc/dir_colors Set Color
/etc/hostname set the user's node name
/etc/networking only yes indi
New users talk about Linux, new users linux
Directory:
What is Linux?
Differences between Linux and UNIX
Comparison between Linux and Windows
What is the Linux release?
Linux applicatio
0. Most commonly used Pstree:[Email protected] temp]# Pstree-a|grep Multe| | '-multepoolser| | '-multepoolser| | ' -2*[{multepoolser}]1. > TopAll system processes can be displayedPress U, and then enter the appropriate execution user name, such as TomYou can see all the processes that Tom user started and the corresponding PID2. > Pstack pidYou can see the running state of each thread under this PID,[[email protected] multepoolserver]# pstack 14944 (PID number of the process)Thread 2 (thread 0x4
[Linux Device Driver] linux address type, linux Device address type
List of address types used in Linux:
User virtual addresses)
The normal address visible to the user space program. The virtual address length is 32-bit or 64-bit. It depends on the underlying hardware architecture. Each process has its own virtual addr
[Linux] linux Command learning-netstat, linux-netstat
Many linux services are related to the network. When the service cannot be called, the startup port is occupied, or the firewall is blocked, you need to query network problems, the netstat command only uses one or two parameters.
Common options:
-A (all) shows
Linux basic Review (1)-Linux System Overview, linux Overview1. What is an operating system? What is the relationship between it and hardware and other software?
An operating system is a system software (or a set of programs) that controls and manages various hardware and software resources in a computer system and effectively organizes multiple programs to run.
Transferred from
Http://beterfly.blogbus.com/logs/23724282.html
Basic commands:Logout: LogoutLog on to login againExit to exit the current user Shutdown: shutdown + timeExample: shutdown now (shutdown now or immediately)Shutdown-C cancel all shutdown settings (shortcut: Ctrl + C)
Restart the computer:Shutdown-r restart timeExample: shutdown-RReboot (immediate restart) is the same as shutdown-R
In Linux, there are seven run_level_number running levels
Tags: share institute public number src inux new VMW http Silicon Valley1.1 Overview 1.2Linux and Windows differences 1.3Centos Chapter 2 installation of VMs and Linux 2.1 VMware InstallationHttp://blog.sina.com.cn/s/blog_c30a9e680102xusf.html2.2 CentOS InstallationHttp://blog.sina.com.cn/s/blog_c30a9e680102xutv.html2.3 Vmtools InstallationHttp://blog.sina.com.cn/s/blog_c30a9e680102xuu3.htmlThis tutorial by the Silicon Valley Institute of Education
Configure Linux and Samba sharing1. Install the Linux operating system2. Ping Linux from the Windows operating system to see if you can ping the3. Related Software Installation A. Install samba sudo apt-get install Samba4, sudo apt-get install System-config-samba B. Install SSH so windows can telnet to Linux, sudo
Linux services)It is important for Linux users. Disabling unnecessary services can make Linux run more efficiently, but not all Linux services can be disabled. After installing centos Linux today, we found that many services were started when
The Linux machine doesn't have to clean the hard drive at all, which is why you haven't seen the Linux user defragment the hard drive. Linux file system is a much better file system than Windows FAT, FAT32, NTFS, they can not only set permissions on the file, the implementation of full protection, and can be "used more neatly", "the less the more fragmented"! You
This feature page summarizes the most popular Linux distributions basic introduction and, if you are a new contact with Linux, the introduction may be helpful to you, if you think Linux use predecessors, you can also leave your comments and experience in the review, so that more people get help!First introduce the following several domestic
Record what you have learned O (∩_∩) o haha ~MakefileLINK.BIN:START.O MAIN.OArm-linux-ld-tlink.lds-o link.elf $^Arm-linux-objcopy-o binary link.elf Link.binarm-linux-objdump-d link.elf > Link_elf.disGCC Mkv210_image.c-o mkmini210./mkmini210 Link.bin 210.bin%.O:%. SArm-linux-gcc-o [email protected] $%.O:%.cArm-
well as other languages, similar syntax, there are rules to follow! However, mastering the language base is not enough for writing background programs, but also needs to understand the role and synergy of various Java classes. For now, I think it's a good idea to read the API documentation for the project if you have the patience to do so.The interaction between the previous page and the database requires dynamic language, jsp,php and so on, except t
The waiting queue of Linux kernel is based on the double cyclic list, which is closely combined with the process scheduling mechanism, and can be used to realize the core asynchronous event notification mechanism.
In this list, there are two types of data structures: The waiting queue header (wait_queue_head_t) and the Wait queue item (wait_queue_t). Both the wait queue header and the Wait queue item contain a list_head type of domain as a "join". It
This article is the best practice of Linux. It aims to help Chinese cabbage learn how to log on to Linux. In the previous article, virtual machines and Linux have been installed. How can I log on locally and remotely? How much do you know?
If you want to hear the voice broadcast from Niu every day and want to learn more IT technologies or skills that are not big
[Linux] PHP programmers play with Linux series-easily use email via telnet, and use telnet via linux
1. PHP programmers turn to the Linux series-how to install and use CentOS
2. PHP programmers play with Linux series-lnmp Environment Construction
3. PHP programmers play with
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.