& Nbsp; socket related programs from windows to linux need to note 1) header file windows winsock. h/winsock2.hlinux sys/socket. h error handling: errno. h2) in windows, WSAStartuplinux is required. 3) disable socketwi.
Notes for Porting
Decompress the package to compile the directory.
Many people now use centos5, but some special requirements also require the installation of mysql4.0.27 databases. many problems have been encountered during the first installation, this installation
& Nbsp; RHEL5.1. linux is not displayed after XP is reinstalled. because the windows system put the MBR partition out and put it into its own boot program, you have to re-put the GRUB program back into the MBR zone. Use the CD boot and repair method
& Nbsp; uniq command: display unique Rows. only one row is displayed for those rows that are repeated consecutively! Next, we will explain through practical examples: [root @ stu100 ~] #
& Nbsp; modify/etc/X11/xdm/Xaccess and change the following line: # * # change anyhostcangetaloginwindow to * # anyhostcangetaloginwindow to/etc/X11/TPD. conf, find the following information: or Enablefalse to: or Enablet
Modify/etc/X11/xdm/Xaccess
& Nbsp; 1. configure/etc/security/limits. conf, or configure/etc/sshd_config2 and fail2ban. There are other programs that can implement features similar to fail2ban. In Debian, you can apt-getinstallfail2banshutdown-rnow.
1. configure/etc/security/
& Nbsp; view the number of http processes [root @ localhostconf] # ps-ef | grephttpd | count the number of connections in the wc-l333 status: [root @ localhostconf] # netstat-n | awk/^ tcp/{++ S [$ NF]} END {for (ainS) printa, S [a]}
Ulteo released their "VirtualDesktop" software. this is a program that allows you to run Linux software in Windows. Currently, it is Beta1 and supports Chinese interfaces. The software is free of charge. it is interesting that it is not run like a
& Nbsp; when using telnet or SSH to remotely log on to linux, if the connection is interrupted abnormally, the system will initiate a new session and cannot restore the original session. The screen command can solve this problem. The Screen tool is
& Nbsp; 1. manual loading test 1. insmod. /key_test.ko load the driver module to kernel 2, cat/proc/modules | grepkey_test to view the address of the key_test module in the kernel. If no filter is added, all loaded modules are displayed. 3. lsmod
& Nbsp; first, clarify a problem: 1. the time on the embedded system board is viewed using the date standard system command, and the date is the SHELL command, such as busybox or sash on uClinux. This time is maintained by running embedded LINUX
& Nbsp; in the original Linux kernel version, the bootsplash function is not available, that is, the startup progress bar and the background image of the console. It must be patched for implementation. Official website: http://www.bootsplash.org,
Since malloc/free is a library function, not an operator, they cannot execute constructor and Destructor, but are only responsible for allocating memory. 1. malloc and free are standard library functions of C ++/C, and new/delete are operators of C +
& Nbsp; enables uboot to boot non-linuxkernel. Although there is an IH_TYPE_STANDALONE, it is not implemented. Nnd. You can only find a solution by yourself. For implementation details, see the following. 1. two commands:
& Nbsp; idea: a file is generated when the system is started. when the system is shut down normally, the file is deleted. you can determine whether the file is shut down abnormally based on the file that is not used when the system is started. Step:
& Nbsp; 1. the Nic machine is too new to be recognized by the existing Linux version. for example, if the Nic cannot be found, what should I do? Don't worry. First, you need to know the model of the NIC. take the new computer purchased in this lab
It indicates the benefits of allowing other users to run sudo using sudo. the misunderstanding of using sudo is returned to the traditional root account, activating the root account, shielding the root account, and asking sudo to ask the root
You may encounter many problems when learning about linux Services. here we will introduce how to configure the Apache service in linux. here we will share with you. 1. back up the master configuration file of the Apache service [root @ KCentOS5C ~]
The init command is used to change the operating level of the operating system. Init6 restarts the machine. Reboot also restarts the machine. So what are the differences between the two commands? The following figure shows the two operations using
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