The environment is as follows:
CentOS (pptpServer) public network IP win7 (PPTP client) intranet IP
When using the client to connect to the server, report the network error 619.
Use mobile phone WiFi hotspots, client connect hotspots, then use VPN, report error 619.
Log on the CentOS server. The following are the same errors.
Aug 31 11:07:36 pptpd[9162]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)Aug 31 11:07:36 pptpd[9162]: CTRL: Client 14.16.135.232 control connection finishedAug 31 11:07:47 pptpd[9214]: ...
Original text: https://blog.csdn.net/iamzhangzhuping/article/details/49203981
I. ldconfig
ldconfigIs a dynamic link library management command, in order to make the dynamic link library shared by the system, also need to run the dynamic link library management command – ldconfig. The purpose of the ldconfig command is mainly in the default search directory (/lib and /usr/lib) and dynamic library allocation.Locate the directory listed in the file / etc / ld. so. conf, search for a shared dynamic link library (in the format lib *. so *) and create the connection and cache files n...
background
Two new programmers were added to support the development of a branch because of the project’s need, so you need to create a branch in the original SVN and assign users and permissions to the new commer.
0. Get ready
To use SVN on the Window system, we’d better install the 2 software of SVN separately:
ServerEnd: VisualSVN Manager
ClientEnd: TortoiseSVN
1. Create new users
Here, we operate on SVN’s server machine mountain with the tool Visual SVN Manager. The operation is very simple, as shown in the following figure:
After entering the basi...
shm_openBrief introduction of function
shm_open:To create a memory file, the path requires something like / filename, starting with / and then the filename, with no /.
shm_openThe prototype and header files of the function are as follows:
1 NAME
2 shm_open, shm_unlink - create/open or unlink POSIX shared memory objects
3
4 SYNOPSIS
5 #include <sys/mman.h>
6 #include <sys/stat.h> /* For mode constants */
7 #include <fcntl.h> /* For O_* constants */
8
9 int shm_open(const char *name, int oflag, mode_t mode);
10 ...
1. Summary
> keep default in server selection page.“Select server from the server pool, click next.
2.4 > because of the test environment, noWindows 2012The following servers, so keep the default forest and domain level for 2012 R2, which can be selected according to the environment in actual production; enter the directory restore password, which is the password used when restoring the domain control state
2.12
Basic command learning directory
shellIn the script, echo shows the content with color display, echo display with color, and needs parameter -e.
The format is as follows:
echo -e "\033[Word background color; text color M string \033[0m "
For example:
echo -e "\033[41;36m something here \033[0m"
41 of the positions represent the background color, and 36 of the positions represent the colors of the characters.
Note:
1、The word background color and text color are in English.
2、There is a m behind the text color.
3、There is no space before and after the string, and if so, the output is ...
The components you want to provide contain a reusable slot that can get data from the sub components.
It is hoped that each independent item will render something different. This is also the application of scope slot.
todo-listComponents:
<ul> <li v-for="todo in todos" v-bind:key="todo.id" > {{ todo.text }} </li></ul>
To make this feature possible, all you need to do is wrap the to-do items in one<slot> Element and then pass all the data related to its context to this slot:
In this case, the data istodo Object:
<ul> <li v-for="todo in t...
This blog is a basic knowledge of python, most of which are based on personal opinions from various sources. We welcome to learn together, supplement our knowledge and correct our mistakes.
PythonFoundation [directory]
PythonFoundation [first]: introduction and installation of Python
PythonFoundation [Second]: Python appetizers
PythonFoundation [Third articles]: variables and operators
PythonFoundation [Fourth articles]: basic data type (numeric type)
PythonFoundation [Fifth articles]: basic data type (character type)
PythonFoundation [sixth articles]: basic data type (list)
PythonFoundation...