Debian/Ubuntu system enables root remote login

 

Debian first connects to SSH with a common account and switches root login

are -

Ubuntu uses

sudo -i

Install basic software to execute code

apt install sudo vim curl wget -y
cat >> /etc/ssh/sshd_config << EOFPermitRootLogin yesPasswordAuthentication yesEOFsystemctl restart sshd

Close the tutorial on weather, news and information on the task bar in the lower right corner of windows

 How to turn off the weather in the lower right corner of windows? I believe that many users who use Windows have a problem, that is, the weather information in the lower right corner of the desktop. I don’t know how to turn it off. Let’s take a look below

  Some users who frequently update the windows system find that after a certain update, there will be an additional weather icon in the lower right corner of the taskbar. But some users don't want to show this weather icon. Recently, many friends have installed the latest windows system, and many friends have updated the system after installation, and found that there is an extra weather in the lower right corner of their computer, so how to turn off this weather? This function is the latest function that Microsoft currently pushes for users. Currently, the version of Win10 21H1/20H2/2004 has received this update. Please refer to the figure below for the specific closing method.

Method 1: Close through settings

  1. First, we right-click on the blank space of the taskbar to open the menu of the taskbar.

Picture [1] - Windows lower right corner task bar weather, news, information close tutorial - Rich Miscellaneous

2. In the menu of the taskbar, we can find the column [Information and Interests], which is the weather in the lower right corner of my computer.

Picture [2]-Windows lower right corner task bar weather, news, information close tutorial-Rich Miscellaneous

 3. Hover the mouse over the [Information and Interest] column, and the setting options will appear. If the user needs to close it, just click [Close] with the left mouse button.

Picture [3]-Windows lower right corner task bar weather, news, information close tutorial-Rich Miscellaneous

Method 2: Completely close by making a bat file.

  1. First, we need to create a blank document file by right-clicking on the blank space on the desktop.

Picture [4]-Windows lower right corner task bar weather, news, information close tutorial-Rich Miscellaneous

2. Enter the following code:

@Echo Off::Win10_21H1 turn off the weather and news in the lower right corner ( default 0 , turn off 2 ) reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds" "ShellFeedsTaskbarViewMode" /t REG_DWORD /d "2" /f > nul 2 > nultaskkill /im "StartMenuExperienceHost.exe" /f > nul 2 > nul
Picture [5]-Windows lower right corner task bar weather, news, information close tutorial-Rich Miscellaneous

 3. Save the document file, and change the file extension to 【.bat】.

Picture [6]-Windows lower right corner task bar weather, news, information close tutorial-Rich Miscellaneous

 4. After double-clicking to run the bat file, restart the system, and you will find that the [Information and Interest] function has completely disappeared.

Picture [7]-Windows lower right corner task bar weather, news, information close tutorial-Rich Miscellaneous

Method 3: Uninstall the update patch

  1. Open our menu and find Settings.

Picture [8] - Windows lower right corner task bar weather, news, information close tutorial - Rich Miscellaneous

2. In Settings, find [Update and Security] and click to enter.

Picture [9] - Windows lower right corner task bar weather, news, information close tutorial - Rich Miscellaneous

3. Find our [View update history] in [Windows Update] in the settings, and click to enter.

4. After entering [View Update History], click our [Uninstall Update].

5. Then, just uninstall the recently installed update patch!


free PHP space collection and free virtual host

 A friend left a message and recommended some free space to me. I found that many friends really have a "need" for free space, so this article specially collects and organizes a batch of reliable free space for everyone to use.

There are a lot of free spaces on the market, but there are only a small number of free spaces that are easy to use and worthy of long-term collection, and there are still various problems in the free space, such as some free spaces will delete accounts without reason, and some free spaces cannot be bound. Fixed domain name, some free space will be forced to add advertisements...so everyone must keep their eyes open when choosing free space.

Picture[1]-Summary of foreign free space-free PHP space collection and free virtual host-Rich Miscellaneous

PS: Update record.

1. Summary of free space

nameTypes ofcapacityflowoperateengine roomtutorial
freehostia.comPHP250M6G>10 yearsUnited Statesno yet
alwaysdata.comPHP100M1G>10 yearsUnited Statesno yet
000webhostPHP300M3G>10 yearsUnited Statesno yet
Freehosting.comPHP1G1G>10 yearsUnited Statesno yet
XreaPHP1G1G>10 yearsJapanXrea space
Award SpacePHP250M5G>10 yearsUnited Statesno yet
Byet.hostPHP1G50G>10 yearsUnited Statesno yet
FreeWebHostingAreaPHP1.5Gunlimited>10 yearsUnited Statesno yet
Infinity FreePHPunlimitedunlimited>2 yearsUnited Statesno yet
Vercel.c omstaticunlimitedunlimited>3 yearsUnited StatesVercel space
Netlify.comstaticunlimitedunlimited>3 yearsUnited Statesno yet
Render.comstaticunlimited100G>1 yearUnited Statesno yet
Cloudflare Workersjs1Glimit request>2 yearsUnited StatesWorkers application
Cloudflare Pagesstaticunlimitedunlimited>1 yearUnited Statesno yet
GitHub Pagesstatic1G100G>10 yearsUnited Statesno yet
Gitlab.comstatic5G10G>5 yearsUnited Statesno yet
OracleVPS100Gunlimited>3 yearsAmerica and JapanOracle
AzureVPS64Gunlimited>5 yearscountriesMicrosoft Azure
AWSVPS5Gunlimited>10 yearscountriesAmazon EC2

2. How to use free space

There is no such thing as a free lunch! Remember to back up your website more!