// display hostname localhost~]# sudo hostname spark1 Set the host name to Spark1, the other two servers can be set to SPARK2, Spark3// If you want to permanently modify this can be [[email protected] ~]# vi/etc/ sysconfig/Network// Edit file as follows Hostname=spark1 #修改localhost. Localdomain to Spark1Continue to modify the/etc/hosts file after Setup is complete[[email protected] ~]# vi/etc/hosts[ip address] spark1If it is permanently modifi
Telecom Fibre Router Setup
You put DNS set up should be OK, DNS to Baidu search your area of DNS fill the router and two computers on it.
In the URL bar input 192.168.1.1 into the account password, the manual has, click on the IP settings in the DNS input you find from the Internet in your location of the telecommunications DNS xx.xx.xx.xx has two, a main standby, are filled in, save exit, and then on both computers right click on the Network Neighb
For more information about the setup steps of the Ionic environment, see ionic setup steps.System Environment: Windows1. download
Download node. js until the next download is complete.2. test whether the installation is successful:
Input in cmdNode-vIf the version is output, the installation is successful. Because node. js has been integrated with npm, npm is also installed together. You can also enterNpm
MySQL replication introduction and setup, mysql replication setupMySQL Replication
MySQL replication is a MySQL Server (slave) that replicates logs from another MySQL Server (master) and then parses the logs and applies them to itself, similar to Data Guard in Oracle.
MySQL replication has the following benefits:
The first is to solve the data inconsistency caused by downtime, because MySQL replication can back up data in real time;
The second is
Win7php environment setup tutorial: detailed steps for building a php environment under win7. Win7php environment setup tutorial: how to build the php environment in win7, php beginners do not know how to build a win7 php environment in a php environment in win7 Tutorial: how to build a php environment in win7
Today, the green tea editor will show you how to build the win7 php environment. if you are new t
Image Server SETUP tutorial and Server SETUP tutorial1. install and configure FastDFS1, runtime environment and related software
CentOS 7.4 64bit fastdfs_v5.08.tar.gznginx-1.8.1.tar.gzfastdfs-nginx-module_v1.16.tar.gz libfastcommon2. Server Planning
Server Name
IP address and port
Remarks
Fastdfs-tracker
172.17.156.5: 22122
Tracking Server/scheduling Server
Fastdfs
Server Setup and configuration, server setup and Configuration
1. Use the Administrator to start the local Apache serverSudo apachectl-k start
2. RestartSudo apachectl-k restart
3. Search for the default Apache document directory.Cd/etc/apache2/
Sudo vim httpd. conf
/DocumentRoot --> (here we need to change the DocumentRoot in two places)
Note: In Mac systems, many System Service configurations are implemen
Oracle Installation Error:
[INS-30131] Failed to perform the initial setup required to verify the Setup program.
Workaround, this problem is because the installation directory does not have permissions to cause, so set directory share permissions.
As follows:
Turn on Computer Management > Shared Folders > Shares
Create a shared file in the share, set up the disks that need to be installed, as
1. paste source code
The script is generated by the Inno Setup script wizard!For more information about creating an Inno Setup script file, see the help documentation!
# Define myappname "testset"# Define myappversion "1.0"# Define myapppublisher "zcf"# Define myappurl "http://www.zcfsky.com /"# Define myappexename "testapp.exe"
[Setup]Note: The appid value ident
This article Reprinted from: http://blog.csdn.net/yushanddddfenghailin/article/details/17250955
The Nno setup script supports many classes, which greatly enhance the functions of the installer. By using these classes, many amazing installers will be created, next we will start learning the class.
Create custom Wizard Page
The custom Wizard Page needs to be created in the initializewizard event function. You can use the createcustompage function to cre
Ngrok centos server setup: windows Client Setup details, ngrokcentos
Ngrok centos server setup: windows client settings
GOOS=windows GOARCH=amd64 make release-client
Copy the compiled ngrok.exe file to a windows computer,
Create a new ngrok. cfg in windows
server_addr: "test.com:7443"trust_host_root_certs: false
Create a startup. bat on windows
Ngrok-config = ngr
Getting started with Hibernate (1)-Environment setup and simple example, hibernate setupI. Preface
I complained that I had to learn the framework and did not have time to take notes during this time, but I thought I had to record this knowledge. Enter the topic
1.1 Introduction to Hibernate
What is Hibernate? What is the use of Hibernate?
Hibernate is an open-source object relationship ing framework that maps java objects to relational data in the dat
SSH project setup (1): ssh project setupThis chapter does not cover projects. Let's talk about downloading SSH.
I. Struts2
1. Enter the official website through Baidu
2. Click Download >>> Full Releases >>> the version you want (My is Struts2.5.13) >>>> Full Distribution :>>> click struts-2.5.13-all.zip
3. Download and decompress it to the desired location.
4. link sharing:
: Http://struts.apache.org/download.cgi
Ii. Spring
1. Enter the officia
write; Property onkeyup: tkeyevent; read write; End; The hierarchical structure model is as follows: The bucket is inherited fromTcustomeditClass, but inTmemoThere is anotherTcustommemoClass, which adds an attribute:LinesThat is, multi-line text operations. The followingCodeThe creation and properties of the edit box are displayed.
[Setup] Appname = test Appvername = test Defaultdirname = "E: \ test" Appversion =
Radio button
Single-choice buttons are also common during installation, such as the sameProgramYou can choose to install different features, such32Bit or64The two are exclusive, so you can use the single-choice button (Radiobutton). The radio buttons placed in the same container are automatically exclusive,PascalThe single-choice buttons in the script are defined as follows:
Tradiobutton = Class (tbuttoncontrol)
Property alignment: talignment; read write;
Property caption: string; read wr
Next we will introduce how to add buttons on the custom page. Button belongsTbuttonClass, which inherits fromTbuttoncontrolThe class is defined as follows:
Tbutton = Class (tbuttoncontrol)
Property cancel: Boolean; read write;
Property caption: string; read write;
Property default: Boolean; read write;
Property Font: tfont; read write;
Property modalresult: longint; read write;
Property onclick: tpolicyevent; read write;
End;
Its Inheritance relationships include:
Next,
Inno Setup is a free installation and production software, which is small, simple, and exquisite. It supports Pascal scripts and can quickly create a standard Windows2000 installation interface, sufficient to complete general installation tasks. The software is written in Delphi, and its official website also provides the source
ProgramFree Download. Although it cannot be compared with the dinosaur-level installation and production software such as I
Struts2 + hibernate + spring Environment Construction
I have been learning SSH over the past few days. Some people say there is no need to learn frameworks for the sake of learning frameworks !! I think I am learning the framework for the purpose of learning the framework, but it is also the situation! For the time being, no matter what others say, learning this kind of thing is your own as long as you learn it. I believe that knowledge will not be learned in vain. Do not "hate less when bo
;
Property onkeypress: tkeypressevent; read write;
Property onkeyup: tkeyevent; read write;
End;
The hierarchical model of this class is as follows:
The following code demonstrates creating an editing box and the text attribute of the editing box:
[Setup]Appname = testAppvername = testDefaultdirname = "E: \ test"Appversion = 1.0[Files]Source: "F: \ Desktop \ Inno \ ipmsg.exe"; flags: dontcopy[Code]VaRMypage: twizardpage;Mybtn: tbutton;ED1, E
;
Property onkeydown: tkeyevent; read write;
Property onkeypress: tkeypressevent; read write;
Property onkeyup: tkeyevent; read write;
End;
The hierarchical structure model is as follows:
The storage box, like the editing box, is inherited from the tcustomedit class, but there is also a tcustommemo class on tmemo, which adds a property: lines, that is, multi-line text operations.
The following code demonstrates the creation and properties of the edit box.
[
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.