Position: Home page » Equipment » Qtum mining CentOS

Qtum mining CentOS

Publish: 2021-05-12 11:18:24
1. You install the host security client, you can kill this process, no impact. You can try this one. It's suggested that we take a look at a column in "learning Linux in this way." it's a column in "learning Linux in this way." it's a complete collection of Linux commands (manual). Join our group to discuss "learning Linux in this way." I hope it can help you.
2. Most versions of UX are based on Debian and the original RedHat, that is to say, Debian supports DEB package format, while RedHat supports RPM package format, and they are not universal. In addition, there are many other distributions, such as Gentoo, LFS, arch, etc. they all have their own software sources. It has its own way of installation, which is easier for beginners. In addition, the software package is not only in DEB and RPM format. There are many other formats of software packages, others should be universal. It's impossible to say that it's universal with Windows software. You can also install some software on windows with wine. The problem of running Windows software with wine. When you install a Linux on a virtual machine, you will know. RedHat desktop version was only released to 9.0. It was only in 2005. I have tried to install it, it's OK, it's stable, but it's old.
3. You're right about the version, right? Can't open prompt what error
if there is no qtreator installed in Yum install QT, which component is missing
if you are not afraid of trouble, try to install it like this
Yum install QT QT -*
4. 安装额外的源
编辑 /etc/yum.repos.d/atrpms.repo ,添加如下内容:

[atrpms]
name=CentOS $releasever – $basearch – ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1

[atrpms-testing]
name=CentOS $releasever – $basearch – ATrpms testing
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1

然后执行:
yum install qt47
yum install qt47-devel
yum install qt47-webkit
yum install qt47-webkit-devel
yum install qt47 qt47-webkit qt47-webkit-devel qt47-x11 qt47-sqlite
望采纳~
5. Although Android is based on Linux kernel, there is still a big difference between Android and Linux. For example, Android adds its own unique driver on the basis of Linux kernel. Now let's analyze the relationship between them
can Android be called a new operating system? At least I don't think so. At most, it's just a new application
first, why does Android choose Linux?
there are many mature operating systems, but why does Android choose Linux kernel? This is related to some features of Linux, such as:
1, powerful memory management and process management scheme
2, permission based security mode
3, support for shared libraries
4, certified driver model
5, Linux itself is an open source project
for more information about the above features, please refer to the official documents of Linux version 2.6 kernel, This is convenient for us to better understand the unique features of Android in the later study. Next, analyze the relationship between Android and Linux
Second, Android is not Linux
you may be confused when you see this title. It has been said that Android is based on the Linux kernel. Why is it not Linux now? Confusion is also normal. Please look at the following points first, and then we will analyze each point. After reading, you will feel that Android is not Linux
because it has no local window system, no glibc support, and does not include a complete set of standard Linux applications, at the same time, it enhances Linux to support its unique drivers
1. It has no local window system
what is a local window system? Local window system refers to X Window System on GNU / Linux, or quartz of MAC ox, etc. The windows of different operating systems may be different. Android does not use (and does not need to use) the X windows of Linux, which is a basic reason why Android is not Linux
I'm surprised that Linux's XWindow is not its core program. You can see that many embedded Linux won't use this graphical interface system at all, but Android on mobile phones doesn't use XWindow, isn't it normal? Isn't QT called Linux system when we study
2. It doesn't have glibc support
because Android was originally used on some portable mobile devices, Android didn't use glibc as C library for efficiency and other reasons. Instead, Google developed a set of bionic libc to replace glibc< It doesn't include a whole set of standard Linux programs.
Android doesn't completely the kernel of Linux system. In addition to correcting some bugs of Linux, it also adds a lot of content, such as the gold fish platform based on ARM architecture, And yaffs2 flash file system

4. Android proprietary drivers
in addition to the above differences, Android also enhances Linux device drivers, mainly as follows
1) Android binder is based on a driver of openbinder framework, which is used to provide inter process communication (IPC) function of Android platform. The source code is located in drivers / staging / Android / binder. C
2) Android power management (PM) is a lightweight Android power management driver based on standard Linux power management system, which has been optimized for embedded devices. The source code is located in:
kernel / power / earlysuspend. C
kernel / power / consoleearlysuspend. C
kernel / power / fbearlysuspend. C
kernel / power / wakelock. C
kernel / power / userwakelock. C
If adding drivers to the kernel can also be called different
3) the low memory killer is more flexible than the standard oom (out of memory) mechanism in Linux. It can kill processes to release the required memory as needed. The source code is located in drivers / staging / Android / lowmemorykiller. C
4) anonymous shared memory (ashmem) provides a large amount of shared memory between processes, and provides a mechanism for the kernel to reclaim and manage this memory. The source code is in mm / ashmem. C
5) Android pmem (physical) pmem is used to provide continuous physical memory area to user space, while DSP and some devices can only work on continuous physical memory. The source code is located in drivers / misc / pmem. C
6) Android logger is a lightweight logging device, which is used to capture various logs of Android system. The source code is located in drivers / staging / Android / logger. C
7) Android alarm provides a timer to wake the device from sleep, and it also provides a clock reference that will run even when the device is sleeping. The source code is located in drivers / RTC / alarm. C
8) USB gadget driver is a device driver based on standard Linux USB gadget driver framework, and Android USB driver is based on gaeget framework. The source code is located in drivers / USB / gadget /
9) in order to provide debugging function, Android ram console allows debugging log information to be written to a device called ram console, which is a RAM based buffer. The source code is located in drivers / staging / Android / ram_ console.c
10) Android timed device provides the function of timing control for devices, and currently supports vibrator and LED devices. The source code is located in drivers / staging / Android / timed_ output.c(timed_ gpio.c)
11) yaffs2 file system Android uses yaffs2 as MTD NAND flash file system, and the source code is located in FS / yaffs2 / directory. Yaffs2 is a fast and stable cross platform embedded device file system applied to NAND and NOR flash. Compared with other flash file systems, yaffs2 can use less memory to save its running state, so it occupies less memory. Yaffs2's garbage collection is very simple and fast, so it can show better performance. Yaffs2 is particularly outstanding in the performance of large capacity NAND flash, which is very suitable for large capacity flash storage.
6. Record the installation of QT4 / downloads in CentOS.
7. For the same problem, I use the latest 2015-05-raspbian-wheel.img image on the official website. The QT environment has been configured, but when I run it, I always prompt that I can't find the library
8. Record the process of installing qt4.8 in CentOS:
(it is better to install qt4.8 in English system language environment, There may be incorrect Chinese font in Chinese)
1. Install the necessary environment
install GCC and G + +:
2[ root@localhost local]# yum install gcc

[ root@localhost Local] # Yum install gcc-c + +

install Xlib:[ root@localhost Local] # Yum install libx11 devel libxext devel libxtst devel

2. Download QT
Official Website Address: http://qt-project.org/downloads
select QT libraries 4.8.5 for Linux / X11 (230 MB) (info) 3 for CentOS installation[ root@localhost Local] # tar zxvf QT everywhere opensource src-4.8.5. Tar. GZ

4. Configure
[ root@localhost / configure -- prefix = / usr / local

I choose to install it under / usr / local, Finally, when configuring the environment, remember to change it to your own installation directory
5. Compiling and running
this step may take a long time and requires patience
5[ root@localhost local]# gmake

[ root@localhost Local] # gmake install

6, Configure environment variables
write the installation path to environment variables
[ root@localhost Local] # VIM / etc / profile

add the following:
# add qt4.8.5 path
Path = / usr / local / bin: $path
export path user logo mail host size inputtrc

make the configuration effective
[ root@localhost Bin] # source / etc / profile

7 Success! Open QT interface for programming
enter the QT installation directory / bin folder and execute
9. It's obvious that the compilation tools are incomplete, which results in Yum install GCC*
10. 试试用脚本启动程序
#!/bin/sh

export LD_LIBRARY_PATH=~/qtlib/lib:$LD_LIBRARY_PATH

./helloworld
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