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


seo

How do I optimize my website's image files with docker

​​​​​​​​​​This article introduces how I use docker to optimize my own image files. Directly shrink the image files in the directory, and optimize the graphics with one line of command.

docker,laravel

[D-Laravel]./console node

When developing Laravel, sometimes we need to install nodejs packages through npm, but Node in our system is not new enough. It may be impossible to upgrade due to some factors, such as running an old version of nodejs program, etc. In fact, we can use docker through simple commands, so that we can use the latest version of node image to mount the /sites folder on the host side. In this way, we can execute the new version of the npm command at any time.

raspberry,wifi

Is Raspberry Pi connected to a mobile power supply and connected to an iPhone a laptop?

Is a Raspberry connected to a power bank and an iPhone considered a laptop? :p