https://www.360yfw.com/free

 

申请了个人版 一个月免费的阿里云服务器 1cpu 1Ghz 2G内存 40G硬盘 Ubuntu 14.04

 

免费云服务器申请

首先要在控制台设置远程登录密码--修改/重置远程密码,才能得到root用户的密码,然后重启服务器密码才起作用,配置如下

 

免费云服务器申请

 

root在阿里云服务器上安装samba时报错,于是修改文件/etc/hosts解决。 

/etc/hosts原文件如下:

127.0.0.1       localhost

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
1
2
3
4
5
6


在第一行下方加入:

127.0.0.1   [hostname]
1
如果觉得主机名字太奇怪可以修改主机名字,在/etc/hostname里面修改。

reboot 

解决
 

相关文章:

  • 2021-11-09
  • 2021-09-02
  • 2021-09-15
  • 2021-11-14
  • 2021-05-27
  • 2021-11-27
  • 2021-12-05
  • 2021-12-28
猜你喜欢
  • 2021-04-15
  • 2021-04-02
  • 2021-05-19
  • 2021-08-10
  • 2021-06-01
  • 2021-05-24
  • 2022-01-17
相关资源
相似解决方案