Often use Linux terminal, someone upload Chinese named file display Chinese garbled, the following is the solution.The character encoding that is displayed by default# echo $LANGen_US. UTF-8Modify the i18n file# vi/etc/sysconfig/i18nLang= "ZH_CN. GB1
Often use Linux terminal, someone upload Chinese named file display Chinese garbled, the following is the solution.The character encoding that is displayed by default# echo $LANGen_US. UTF-8Modify the i18n file# vi/etc/sysconfig/i18nLang= "ZH_CN. GB1
IdeasThe main thread is responsible for sending messages, and the other thread is responsible for receiving messages. This is true for both the server and the client.AttentionThe port will not be shut down immediately after a party closes the socket
First, describe your system configuration: win7+ ubuntu12.04LINUXQQ has various version numbers, here are two kinds: linuxqq and WINEQQ1------LINUXQQ is a simplified version of QQ, the function is very few, the interface is very poor, but easy to
My system environment: Linux Ubuntu 3.8.0-35-generic #50-ubuntu SMP Tue Dec 3 01:25:33 UTC a i686 i686 i686 gnu/linux1, installation SkyEye sudo apt-get install SkyEyeSKyeye-h can see the SkyEye version number is 1.2.5can also go to
A project on hand, need to write a project makefileMulti-Directory structure:csource/├──common│└──sqlite3├──inc│├──curl│├──lua│└──protection├──lib│├──arm│└──linux├──obj├──out│├──arm│└──linux├──srcsource directory src, output directory out,include
The online program constantly restarts, viewing log discovery to be process due to Sigxfsz signal exit. This signal is generated when a large file is being manipulated, typically only on a four-bit machine, with a file size limit of 2G. Using lsof
Methods for removing Linux systems under Windows (download of tools for repairing MBR) My computer has dual system, Windows and Linux installed, but because Linux is not used in the most recent time, So I'm going to delete Linux. Remove
Linux Network Programming 7 -- use TCP to implement mutual chat and linux Network ProgrammingIdeas
The main thread is responsible for sending messages, and the other thread is responsible for receiving messages. This is true for both the server and
Chapter 2 of "Advanced Programming in Unix environment"-daemon process and daemon process1. Introduction
A daemon is a process with a long lifetime. They are often started during system boot loading and terminated only when the system is shut down.
Unix network programming 2 Reading Notes Chapter 2-Introduction1. Overview 2. process, thread, and information sharing
There are multiple ways to share information between Unix processes: Pay attention to the location of the kernel
The two
Set the Linux desktop environment to support HiDPI display
Linux supports a wide range of hardware, but it also has poor support, such as the HiDPI device. For MACOs that use the Retina screen, all icons and backgrounds are displayed at a high
Centos7 change Nic name to eth Style
1. Open/etc/sysconfig/grub,
# Vim/etc/sysconfig/grub
The content is as follows:
GRUB_TIMEOUT = 5
GRUB_DISTRIBUTOR = "$ (sed's, release. * $, G'/etc/system-release )"
GRUB_DEFAULT = saved
GRUB_DISABLE_SUBMENU =
Install vim after minimal CentOS Installation
Vim is not installed by default,
[Start installation] Install vimYum-yinstallvim
[Set configure vim
Vim/etc/profile
# Add the last line
Alias vi = 'vim'
Source/etc/profile
[3] configure format
CentOS7 network configuration and Service Management1. Configure the networkDuring the Vmware Workstation10.2 test, it was found that some physical machines could not recognize the M Nic properly, but changed to the M Nic to test that the virtual
Install Ubuntu 9.10 In VirtualBox to play 3D games [graphic]
I have tried Ubuntu 9.10 recently. It is quite useful after the system is configured, but its installation and configuration process is no different from that of Debian.
Ubuntu 9.10
CentOS iptables is accessible only on ports 22 and 80.
Iptables is accessible only on ports 22 and 80.
Run the netstat-tnl command to check which ports are opened on the current server.
Ssh codeNetstat-tnl
View firewall settings
Ssh
Install and uninstall MySQL in Ubuntu14.04Install MysQL
It is relatively simple to install MySQL in Ubuntu14.04. Just run the following command:
1. Enter sudo apt-get install mysql-server
2. After the execution continues, you need to set the
The system cannot be started after the upgrade from Ubuntu12.04 to Ubuntu14.04
Enter the Ubuntu startup interface. There are several options: Ubuntu and Ubuntu advanced...
Enter the e key to go To the grub settings page and change ro to rw.
The
Configure Server Load balancer for Nginx
Generally, multi-server load splitting is used to solve server load problems. Common solutions include:
The website portal is connected to the server load through sub-stations (such as the sky software
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