The process of the C/S model when establishing the connection is as follows
Server-side
int SOCKFD = socket (af_inet, sock_stream, 0);
struct sockaddr_in servaddr;
Bzero (&servaddr, sizeof (SERVADDR));
servaddr.sin_family =
Linux (CentOS 6) adjust mount partition size Install CENTOS6 Use automatic recommendation zoning, found a problem/home partition is too large. Goal:/home 20G, left add to/directory 1. View partition mode [root@localhost ~]# df-h file system
Install the Java,maven on the 1.Linux and configure the associated environment. and install Mysql,redis,nginx,zookeeper.
These online tutorials, mainly to say that Redis installed in his profile must be configured at least two nodes, a master
First we have to install the Tomcat server, first of all must be installed Java running environment JDK, because Tomcat is a Java-written server, install JDK see: http://blog.csdn.net/u013412497/article/details/47000275
After installing the JDK,
First, view
1.1, ifconfig eno1 view IP, receive packets and send packetsView network card history send and receive packets PX, etc.
1.2,//mii-tool is mainly used to configure the operating mode of the network card instructions, but also can carry
"The gentleman born is not dissimilar also, the good leave in the thing also". -The word "Xunzi Quanxue"
If you remember correctly, "Xun Zi Quanxue" We should have read this article in our generation High school. The original intention is probably a
Under Windows, under the Fonts folder, copy the SIMSUN.TTC file
Under the/usr/local/share/fonts/simsun folder
Then executing ttmkfdir under this folder will generate a Fonts.scale file
Then in the font configuration file/etc/fonts/fonts.conf
The
Modify the System update source
Are you like me? When you first contact with Linux when the system updates the source problem get dizzy, different Linux update source configuration is not the same, in addition, because the default installation of
Add MySQL service under WindowsOpen cmd as Administrator, executeMysqld–installnet stop MySQL forgot password retrieve
Find the My.ini configuration file in the MySQL database, login skip password verification, add field Skip-grant-tables and
FTP command using sample-bash-3.00$ FTP Site(connect another host)Connected to Site (139.185.21.141).1.2.1 (VSFTPD)Name (site:app7740): xxxxx331 Please specify the password.Password:230 Login successful.Remote system type is UNIX.Using binary mode
1. Bridging is necessary:
2. Modify the network configuration file:
[Oracle@linux_guoky home]$ su----------------------------------switch to root user
Password:------------------------Enter root user password
[Root@linux_guoky home]#
Introduction to NFS Services
NFS is the abbreviation for Network file system, which is the network filesystem. NFS was developed and developed by sun to share individual files across the network between different machines and different operating
$JAVA _home/bin/java $JAVA _options-xmx1024m-xx:maxpermsize=256m weblogic.sh
[Weblogic@localhost bin]$./home/weblogic/oracle/middleware12/wlserver/server/bin/setwlsenv.sh
Then manually create a domain-stored directory, the blogger in
Only with new needs can we inspire the corresponding motivation to do things.
There's a new requirement--Need to sync folders in Linux
I drew the logical diagram, as follows:
Because the source database server inside the content is timed change,
In recent days, the Linux distribution originated in Ireland, Mint is about to overtake Ubuntu in the world's first position (the number of clicks per day H.P.D only a few points). How the mint distribution is produced.
November 14, 2006, the Mint2.0
For Linux to get file size, there are several ways, the first is more obvious scheme, call the stat way, this way to get the file size directly, more obvious, the remaining two ways are indirect way, the file cursor point to the end of the file, and
The Touch command has two features:1. To update the time label of existing files to the current time of the system (default), their data will remain intact;2. Used to create a new empty file.GrammarTouch (options) (parameters)Options-A:
Linux 9th DayTime: 20180725Batch Modify file nameRename [option] Expression file ...Rename '. txt '. Bac ' f*.txt can change the f*.txt file suffix to F*.bacDD If=/dev/zero of=/root/bigfile bs=1m count=100 generate the specified file in the
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