In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the steps of installing oray service in Linux". In the daily operation, I believe that many people have doubts about the steps of installing oray service in Linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "steps to install oray service in Linux". Next, please follow the editor to study!
1. Install the necessary development packages first
[root@wangheng.org ~] apt-get install gcc gathers + automake autoconf
2. Download phddns-2.0.2.16556.tar.gz to a directory
[root@wangheng.org ~] # wget http://download.oray.com/peanuthull/phddns-2.0.2.16556.tar.gz
3. Extract all files
[root@wangheng.org ~] # tar zxvf phddns-2.0.2.16556.tar.gz
4. Enter the directory and compile
[root@wangheng.org ~] # cd phddns-2.0.2.16556
[root@wangheng.org phddns-2.0.2.16556] # aclocal
[root@wangheng.org phddns-2.0.2.16556] # autoconf
[root@wangheng.org phddns-2.0.2.16556] # automake
[root@wangheng.org phddns-2.0.2.16556] #. / configure
[root@wangheng.org phddns-2.0.2.16556] # make
[root@wangheng.org phddns-2.0.2.16556] # cd src
[root@wangheng.org src] # ls-l phddns
-rwxr-xr-x 1 root root 80968 Aug 2 11:18 phddns
5. Execute the compiled program and configure it (/ etc/phlinux.conf is used by default, and automatically enter the interactive configuration if this file does not exist)
[root@wangheng.org src] #. / phddns
Enter the server address and use the default value if there are no special cases
Enter server address (press ENTER use phlinux3.oray.net):
Enter your Oray account name
Enter your Oray account:
Corresponding Oray account password
Password:
Select the Nic to help. If there is no special, you can default to it.
Network interface (s):
Eth0:192.168.141.18
Lo:127.0.0.1
Choose one (default eth0):
Select the file to which the log is saved
Log to use (default / var/log/phddns.log):
Save the configuration file, select yes to save directly to / etc/phlinux.conf, enter other to specify the file
Save to configuration file (/ etc/phlinux.conf)? (yes/no/other):
Next, the program will start running in interactive mode.
192.168.141.18
NIC bind success
OnStatusChanged okConnecting
OnStatusChanged okDomainListed
OnDomainRegistered skyvense22.gicp.net
OnStatusChanged okDomainsRegistered
UserType: 0
If you see the above, the login is successful. At this time, you can press ctrl+c to exit the program first.
6. Copy phddns to the location you want
[root@wangheng.org src] # cp phddns / usr/bin/
7. Start the peanut shell in background mode and check the operation
[root@wangheng.org] # / usr/bin/phddns-c / etc/phlinux.conf-d
Phlinux started as daemon!
[root@wangheng.org ~] # tail / var/log/phddns.log
On 2011-08-02, 11-28-8-8-8-8-8-8-8-6-8-8-6-8-8-8-6-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-8-6-8-8-8-8-8-8-8
2011-08-02 11RV 29RV 59.354 | SendKeepAlive () 8208
2011-08-02 1130 OPCODE:8272 00.355 | RecvKeepaliveResponse () Data comes
2011-08-02 11virtual 00.356 | Keepalive response received, client ip: 116.03.96
2011-08-02 11RH 31JV 00.447 | SendKeepAlive () 8208
2011-08-02 11 OPCODE:8272 31purl 01.450 | RecvKeepaliveResponse () Data comes, OPCODE:8272
2011-08-02 11rig 31purl 01.450 | Keepalive response received, client ip: 116.bicycle bicycle. 123.96
8. Withdraw from peanut shell
View process ID
[root@wangheng.org ~] # ps-A | grep phddns
13731? 00:00:00 phlinux
Let the background process exit
[root@wangheng.org] # kill-9 13731
9. Add the peanut shell to run when the system starts
[root@wangheng.org ~] # vi / etc/rc.local
Add a line at the end of the file: / usr/bin/phddns-c / etc/phlinux.conf-d
II. Description of command line parameters for peanut shell Linux version
[root@wangheng.org] # / usr/bin/phlinux-h
Peanuthull Linux-core 2.0 by oray.com, copyright 2011
Peanuthull Linux-core Help
-first-run
-f, run for the first time
Used to configure parameters on first startup
-interact
-I, run as interactive mode
Program will request for necessary parameters.
This mode will automatically enabled at first running
Or your configuration file has been lost.
Start the interaction mode
-daemon
-d, run as a daemon
Program will quit after put itself to background
And continue running even you logout
You can use kill-9 to terminate.
Background mode
-config
-c, run with configuration file
Program will run with the file
Specify which profile to use
-user
-u, run as the user
Program will run as the user
To specify the user to start the background process
-help
H, print this screen.
Please visit http://www.oray.com for detail.
At this point, the study on the "steps to install oray services in Linux" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.