by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

The

directive is as follows:
hostnamectl set-hostname hostname

Tags:

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


Raiders D-Laravel configuration file

D-Laravel is a PHP execution environment using Docker, which puts all services into containers for execution. Database service (db), web server service (web), PHP-FPM service (php)... etc., By defining the docker-compose.yml file, we can easily adjust the database version or PHP version. D-Laravel also creates a simple bash, which can help us adopt docker more quickly to create Laravel projects and complete database settings. Even if you are just a PHP developer, you can actually create your own development environment through D-Laravel. Next, let us understand the settings made by D-Laravel through the official Docker documents.

php

Use PHP to clear HiBox's inbox via IMAP

The mailbox for receiving letters has exploded, and I don't want all the letters. Use PHP to clear the inbox. The following is the sample program I copied, with minor adjustments.

ffmpeg

Use ffmpeg to list the webcam and mic supported by MacOS

Here is how to capture capture devices on MacOS