====================================
Linux chat room 50 q
====================================
1. Question: How to implement multiple terminals. Listening.
2. A chat room program, in the end will be decomposed into which some steps.
3. Open a Socket,
Firewall Configuration
CentOS 7 uses firewall as a firewall by default, and this is iptables firewall instead.
Firewall Action:
# service FIREWALLD status; #查看防火墙状态
(disabled indicates that the start enable enabled is disabled and inactive
Ulimit-a print all states, want to change can use Ulimit [-soperation_name] [value] to modify (too much online tutorials, not one), but the modified value will only apply to the current session and its derivative sessions.
If you want to
1, center
(1) Modify the Fb_show_logo_line function in the source/DRIVER/VIDEO/FBMEM.C
-image.dx=0;
-image.dy=y; +IMAGE.DX = (INFO->VAR.XRES/2)-(IMAGE.WIDTH/2); +image.dy = (INFO->VAR.YRES/2)-(IMAGE.HEIGHT/2);
Image.width =
The FTP protocol works in two ways: Port and PASV, and Chinese meaning is active and passive.
Port mode:
FTP Server:tcp
FTP server:tcp------>client:dynamic
PASV mode:
FTP Server:tcp
FTP server:tcp Dynamic
The port (Active) connection
information interaction initiated by user space
Write your own system call
Linux currently provides more than 200 standard system calls, and allows us to add our own system calls to implement the information interaction with the kernel. Writing
First, the minimum installation principle
Install only those packages that you really need. If there are unwanted packages, clear them. The smaller the number of packages, the less likely it is that the code will not be patched. Before installing
1, view the current logged-in user
[WILSH@LCL ~]$ Whatis w
(1)-show The Who are logged on and what they are doing
[WILSH@LCL ~]$ W
09:49:30 up 1 day, 17:19, 4 users, load average:0.00, 0.00, 0.00
USER TTY from login@ IDLE
From:http://hi.baidu.com/hzxing1010/blog/item/efb6bf95c7ab756655fb96bb.html
Just looking at O ' REILLY's "LINUX device Driver". The author has repeatedly emphasized the need to build a kernel tree when writing drivers. The so-called kernel tree, my
Thread: is created in a process, and it reaches the lifecycle of the process.
Thread it allows a process to execute one or more execution paths (that is, 1 processes can have multiple threads to execute different programs), and these execution paths
We modify the Readme.txt file, such as:
Git is a distributed version control system.
Git is free software.
To understand the current state of the warehouse, use git status , such as:
$ git Status
# on branch Master
# Changes don't staged for
①unix development history and release versionHttp://www.oracle.com/technetwork/cn/server-storage/solaris10/downloads/index.html②linux development history and release versionLinux Kernel official website www.kernel.org③ Open Source Software
Lvs:linux Virtual ServerWhat is a cluster:A group of computing groups connected by a high-speed network, with a single system of modular-Style management? Centralize many servers together to provide the same serviceThe client looks like there's only
"Let the summary become a habit"
PWD Prints the current working directory print working directoryPwd-lThe default parameter for PWD is-l, which is the same as performing the PWD and executing pwd-l results, in fact using the environment
When the default installation is complete and you do not know the root user's password, how do I apply root permissions?(1) sudo command[Email protected]:~$ sudoThis allows you to enter the current administrator user password to get superuser
"Lectures to keep the maximum input, share the communication to maintain maximum output"
Does the server choose Soft raid or hard raid? Should choose hard raid, soft raid a layer of software, performance is limited to a certain
mkdir Creating a Folder-P Recursively Create foldersMultiple catalogs can be created at onceCdPWD Displays the absolute path of the current directoryRmDir Delete Empty directory can only delete empty directory chicken, basic RMCP Copy File
1. Display the currently used Shell:echo ${shell}Example: [[email protected] ~]# echo $SHELL/bin/bash2. Displays all shell:cat/etc/shells used by the current systemExample: [[email protected] ~]#
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