RHEL7 does not have a graphical interface. Install the graphical interface
Background:
When a RHEL7 machine is newly built, there is no graphic interface????
reason:
The system was created without graphing installed
The default run level of the system is not graphical
After the system is installed, there are operations to reduce the memory. If the memory is too low, the desktop cannot be ...
Posted by spicerje on Thu, 30 Apr 2020 18:41:29 -0700
What should I do if nginx is too low to close? One move to smooth upgrade
1. View the existing nginx compilation parameters
I'm here with 1.16.0 Upgrade to 1 for example.16.1(Compiled and installed)
[root@localhost ~]# /usr/local/nginx/sbin/nginx -V
nginx version: nginx/1.16.0
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arg ...
Posted by SsirhC on Mon, 06 Apr 2020 07:48:47 -0700
Oracle 11g single instance silent installation practice record (linux)
oracle 11g single instance silent installation
AURHOR: Oracle_Ran
Environmental Planning:
OS Version : Red Hat Enterprise Linux Server release 6.7 (Santiago)
Oracle Version: 11.2.0.4
Please refer to Oracle single instance installation document for operating system environment configuration
1. Upload the Oracle installation media, enter the ...
Posted by jonshutt on Wed, 01 Apr 2020 11:38:21 -0700
c recursive mutex
Before we talk about recursive mutexes, let's talk about what mutexes are. There are four types in the third edition of apue:
PTHREAD_MUTEX_NORMAL: Standard type with no special error or deadlock detection.
Deadlock occurs when a mutex is unlocked in the same thread.
PTHREAD_MUTEX_RECURSIVE: Recursive type.
This mutex type allows the same t ...
Posted by dopp on Fri, 27 Mar 2020 21:49:11 -0700
Replace CentOS yum source under RedHat6.9
Catalog
Check and delete the original yum source
Download the yum source for CentOS
Install RPM package
yum configuration
Modify yum configuration
Clean up and rebuild cache
Because red hat's Yum needs to be charged and registered before it can be used. So I want to update the yum source to ...
Posted by Bizzle on Wed, 19 Feb 2020 05:44:06 -0800
Python Crash Course Reading Notes - Chapter 2: Variables and Simple Data Types
variable
In the file hello_world.py,.Py is the suffix of the python file and is therefore parsed using the Python interpreter.
$ cat hello_world.py
print("Hello Python world!")
Now change to variable form, message is variable, and each variable is associated with a value:
message = "Hello Python worl ...
Posted by gfadmin on Wed, 15 Jan 2020 16:49:55 -0800
gdb debugging practice
One code
#include<iostream>
using namespace std;
int func(int n){
int result=0;
for(int i=1;i<=n;i++){
result+=i;
}
return result;
}
int main(){
int arr[10];
arr[0]=0;
arr[1]=1;
for(int i=2;i<10;i++){
arr[i]=arr[i-1]+arr[i-2];
}
cout<<"arr[9]"<<arr ...
Posted by bigger on Tue, 12 Nov 2019 08:14:52 -0800
linux System nginx Server Replacement Aliyun Certificate
A blank page. Visits to webpages are also prompts. Skip the prompt to continue visiting, the page is normal. So it's not the system that went wrong. The certificate has expired.
Chief, give me a certificate and compress the package. It's this after decompression.
So where should I put this? Do ...
Posted by wei on Sun, 06 Oct 2019 08:39:22 -0700
SHELL script PPT script
Write on the premise that you can use it
1. Determine the type of all files in / var / directory
[root@linux1 scripts]# cat filetype.sh
#!/bin/bash
for i in $(find /var);do
if [ -b $i ];then
echo "$i It's a block device."
elif [ -c $i ];then
echo "$i It's a character device."
elif [ -f $i ];then
echo "$i It's an or ...
Posted by FatStratCat on Thu, 03 Oct 2019 09:48:53 -0700
[Macau Education Internal Documentation]-RPM Production Guide
Links to the original text: https://my.oschina.net/magedu/blog/600981
This article is original, reprinted or any other method of use need to be authorized by the author!
...
Posted by pestilence669 on Sun, 15 Sep 2019 03:42:24 -0700