Position: Home page » Pool » Etc ore pool source code

Etc ore pool source code

Publish: 2021-04-17 09:42:48
1. No, Changsha miners and paladins can only dig these two mainstream coins. Aiminer can dig at least a dozen. However, as the price of big coins is not particularly good, I feel that I can try other counterfeit coins. Single dig xvg, xdag, BTCP, ZCL, RVN these seem to be good.
2. First, openwrt must turn on SSH, and then log in to the router with SSH,:
SSH root @ router IP (means log in to an IP with root, and then enter the password)

then open the configuration file / etc / opkg.conf, which is the source of the configuration software, Command:
VI / etc / opkg. Conf
the contents of this file are as follows:
dest root /
dest RAM / tmp
lists_ dir ext /var/opkg-lists
option overlay_ root /overlay
option check_ signature 1
3. Just modify the init.rc file. This is the initialization configuration file. All kinds of service commands required for initialization are here.
4. You can search for ": = libv8", update the code in its path, compile it, and then go back to your current directory to compile.
5. android\ frameworks\ base\ data\ etc\ Is platform.xml this file?
6. < UL >
  • / etc / Profile: this file is the environment variable settings that every user will run when logging in. It belongs to the system level environment variable, and the things set in it are applicable to all users

    The
  • Source command is also called a "dot command", which is a dot symbol (.)< br />

  • 7. 1. Before getting the source package, make sure that the DEB SRC entry is added to the software source configuration file / etc / apt / sources. List
    8. NTP server is here, I want to do client connection, but when I want to open etc / ntp.conf through the terminal, I am prompted that I have no permission
    if you find a file, it can be opened, but it is read-only and cannot be modified. Please give me some advice on how to modify this file< In order to achieve time synchronization, we need NTP (Network Time Protocol). As shown in Figure 1. In short, NTP is a protocol used to synchronize the system with a precise time source. The author suggests that administrators should set up at least one time server in their own network to synchronize local time
    in a company's LAN, if each employee is allowed to manually calibrate the time at intervals, it is not only not concive to management, but also not necessarily accurate to calibrate the target time source. The time deviation of different computers in the company's LAN, especially the time deviation between client and server, will affect some services that require time synchronization. For example, in order to facilitate management, the server set up an account to expire when it's off ty time, and users can't access the Internet network. If your computer time is out of sync with the server time, when you are preparing to send email before your off-ty time, maybe your account will expire on the server time, resulting in the failure to send email. The solution to this problem is very simple, that is to establish a server that can provide accurate time, and all computers in the LAN can synchronize and calibrate time through this time server< Now, let's introce how to build an NTP server under Linux system. In this article, we use the Fedora 2 operating system as an example (other versions of Linux are also available, and the system configuration is similar)
    install with RPM
    first, enter the following command
    RPM - Q NTP
    to query whether NTP package is installed on this machine. If it is not installed, find your Linux Installation CD, mount it, find the package name beginning with NTP, and then install it< RPM – IVH ntp-4.1.2-5.i386.rpm
    5. NTP service settings
    1. NTP package structure
    NTP service configuration file:
    / etc / ntp.conf: This is the main configuration file of NTP service. Different Linux versions may have different directories
    Linux system files and directories related to NTP services:
    /usr/share/zoneinfo: This is a directory, which sets the time settings files in the main time zones, for example, the time zone setting file in Chinese mainland is /usr/share/zoneinfo/Asia/Shanghai.
    / etc / sysconfig / clock: this file is the main time zone setting file of Linux. After each startup, Linux will automatically read this file to set the preset display time of the system! For example, the content of this file is "zone = Asia / Shanghai", which means that our time setting uses the file / usr / share / zoneinfo / Asia / Shanghai
    / etc / Localtime: this file is the time setting file of the local system! Assuming that the clock file specifies the time setting file to be used as / usr / share / zoneinfo / Asia / Shanghai, the Linux system will the Shanghai file as / etc / Localtime, so the time display of the system will be based on the Shanghai time setting file. Suppose the host arrives in New York, you just need to set the zone in / etc / sysconfig / clock as zone = & quot; America/New_ York" And / usr / share / zoneinfo / America / New_ York is copied as / etc / Localtime. No other settings need to be changed. The display time of the system is the local time of New York, USA<

    executable files related to NTP and system time:
    / bin / date: date and time modification and output commands on Linux system
    / SBIN / hwlock: because the BIOS time of the host is separated from the Linux system time, after using the date command to adjust the time, only the Linux system time is adjusted, and hwlock is needed to write the modified time to the BIOS. This command must be executed by root
    / usr / SBIN / ntpd: the daemon file of NTP service, which needs to be started to provide NTP service
    / usr / SBIN / ntpdate: NTP client is used to connect to NTP server command file
    2. NTP server setting
    Edit / etc / ntp.conf file
    about permission setting part
    the permission setting is mainly set by the parameter restrict, the main syntax is:
    restrict IP address mask subnet mask parameter
    where IP can be IP address or default, Default means that all IP
    parameters are as follows:
    ignore: turn off all NTP online services
    nomodify: the client can't change the time parameters of the server, but the client can make network timing through the server< Note: if the parameter is not set, it means that there is no limit on the IP (or subnet)
    setting of superior time server
    since the NTP server we configured needs the NTP server with accurate time on the network to update its own time, we need to configure a superior time server on our NTP server for calibration! Many time servers are provided on the Internet. To find the nearest time server from the following address,

    use the server parameter to set the superior time server. The syntax is:
    server IP address or domain name [preferred]
    the IP address or domain name is the superior time server that we specify. If the server parameter is added with preference at the end, It means that our NTP server is mainly calibrated according to the host time
    solve the transmission delay when NTP server calibrates the time
    use the parameter setting of drivetfile:
    the file name of drivetfile
    the time spent in contacting the superior time server is recorded in the file after the parameter of drivetfile
    note: the file following the drivetfile needs to use the full path file name, not the linked file, and the permissions of the file need to be set to ntpd, which can be written by the daemons
    ntp.conf file example:
    setting requirements: no service is provided to the Internet, only service is provided to the internal subnet 192.168.0.0/24. The superior time hosts of NTP server are clock.nc.fukuoka-u.ac.jp and ntp.nasa.gov. The client of internal subnet cannot modify the time parameters of NTP server
    add the following content to ntp.conf:
    restrict default ignore # close all NTP request packets
    restrict 127.0.0.1 # open internal recursive network interface Lo
    restrict 192.168.0.0 mask 255.255.255.0 nomodify # clients in the internal subnet can perform network timing, but cannot modify the time parameters of NTP server
    server 133.100.9.2 preference ﹥ use 133.100.9.2 as the superior time server
    server 198.123.30.132 ﹥ 198.123.30.132 ﹥ as the reference of superior time server
    restrict 133.100.9.2 ﹥ open the permission of server to access our NTP service
    restrict 198.123.30.132
    drivetfile / var / lib / NTP / drive
    after saving and exiting. Start NTP service
    service ntpd start
    if you want to start NTP service automatically every time the system starts, please enter the following command: chkconfig - level 35 ntpd on note:
    1. The port of NTP service is 123, which uses UDP protocol, so the firewall of NTP server must open the port of UDP 123 to the public
    2. Ntpd usually needs a period of time for time synchronization when it starts, so it can't provide clock service normally when ntpd just starts. The longest time is about 5 minutes. If it exceeds this time, please check your configuration file< Sixth, the use of NTP client
    linux system
    network timing on Linux is very simple, you can execute ntpdate:
    ntpdate 192.168.0.1 # 192.168.0.1 is the IP of NTP server
    don't forget to use hwlock command to write time to BIOS
    hwlock - W
    if you want to perform time calibration regularly, you can use crond service to perform it regularly
    Edit / etc / crontab file
    add the following line:
    30 8 * * root / usr / SBIN / ntpdate 192.168.0.1/ SBIN / hwlock - w # 192.168.0.1 is the IP address of the NTP server
    and then restart the crond service
    service crond restart
    in this way, the Linux system will automatically calibrate the network time at 8:30 every day
    Windows system
    it's also very simple to use NTP for time calibration on Windows XP:
    double click the time on the desktop taskbar to pop up the "date and time" attribute window, as shown in the figure:
    select the Internet time, fill in the IP address or domain name of your NTP server in the server, and then click update now to update your system time immediately. If you want to update regularly, select the automatic synchronization with Internet time server in the upper left corner, and then click the application in the lower right corner
    yy-2-3. TIF
    if it is not a Windows XP system, but the NTP server is also a samba server, there is no need to install any time synchronization software for windows, because the Windows client can use net time & # 92&# 92; Time server IP or server NetBIOS name / set / yes. You can put this command in the start item of the start menu to synchronize automatically when you start windows

    because the net time command uses the NetBIOS over TCP / IP protocol to synchronize time, if the NTP server is not Samba server at the same time, the Windows client needs to install time synchronization software. There are a lot of software in this area, and it's easy to use. Readers can look it up on the Internet.
    9.

    The first requirement is that the user to be used is the owner of the file. The owner of the file should be root

    after Chmod 0666 / etc / apt / sources.list, everyone can modify it
    after that, don't forget Chmod 0644 / etc / apt / sources. List
    change the permissions of this file back

    10. It's not hard. It's easy to write
    Hot content
    Inn digger Publish: 2021-05-29 20:04:36 Views: 341
    Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
    Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
    Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
    Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
    Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
    Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
    Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
    Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
    Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750