简体   繁体   English

Google 计算引擎 CentOS Web 面板

[英]Google Compute Engine CentOS Web Panel

I have created a CentOS Web Panel on Google Compute Engine .我在Google Compute Engine上创建了一个CentOS Web 面板

At the end of the setup is says my username is root and password is 'ssh root server password'.设置结束时说我的usernamerootpassword是“ssh root 服务器密码”。 The google compute engine doesn't use ssh passwords so how am I supposed to log in to the CentOS Web Panel ? google compute engine不使用ssh密码,所以我应该如何登录CentOS Web 面板

Not only Google Compute Engine, all the Cloud Instances Compute use SSH key pair to login to the VPS/Server.不仅是Google Compute Engine,所有的Cloud Instances Compute 都使用SSH 密钥对登录VPS/Server。 In this case, after you finished setting up your Centos Web Panel,reboot ther server and login to your SSH (same as you did previously, using your key pair) and then set the password for your root user by this command and submit your new password:在这种情况下,在您完成设置 Centos Web Panel 后,重新启动服务器并登录到您的 SSH(与您之前所做的相同,使用您的密钥对),然后通过此命令为您的 root 用户设置密码并提交您的新密码:

sudo passwd须藤密码

Reboot your server: reboot重启你的服务器: reboot

Now you can login to your CWP : http://your_ip:2030/现在您可以登录您的 CWP: http://your_ip:2030/

In your case, i will suggest you to set the password for root and then use that new root password for your CentOS Web Panel.在你的情况下,我会建议你为 root 设置密码,然后在你的CentOS Web 面板中使用新的 root 密码。

When i installed WebMin on **Google Compute Centos**, then i also set the first time root password and used it for WebMin` login.当我WebMin on **Google Compute Centos**, then i also set the first time root password and used it for安装WebMin on **Google Compute Centos**, then i also set the first time root password and used it for WebMin` 登录。

Preparing...正在准备...

           ########################################### [100%]

Operating system is CentOS Linux 1:webmin操作系统为 CentOS Linux 1:webmin

           ########################################### [100%]

Webmin install complete. Webmin安装完成。 You can now login to https://mymachineIP:10000/ as root with your root password.您现在可以使用 root 密码以 root 身份登录https://mymachineIP:10000/

I know this is old question but posting this so any newcomer can make use of it.我知道这是个老问题,但发布此问题以便任何新人都可以使用它。 This is with my experience on that.这是我在这方面的经验。

First make sure what is your encryption algorithm is.首先确定你的加密算法是什么。

Be sure to get root access with sudo -s .确保使用sudo -s获得 root 访问权限。 use authconfig --test to check which is the encryption algorithm.使用authconfig --test来检查哪个是加密算法。 If you get "password hashing algorithm is descrypt" then you have to set is first.如果你得到“密码哈希算法是解密”,那么你必须首先设置。 use authconfig --passalgo=ENCRYPTION_ALGORITHM --update .使用authconfig --passalgo=ENCRYPTION_ALGORITHM --update

Where ENCRYPTION ALGORITHM may be SHA-512, SHA-256, MD-5.其中加密算法可能是 SHA-512、SHA-256、MD-5。

After that you create a new password by passwd command.之后,您通过passwd命令创建一个新密码。 Enter your password and press enter.输入您的密码并按回车键。 Your password will not be shown in terminal.您的密码不会显示在终端中。 then re-enter the password press enter.然后重新输入密码按回车键。

Then go to login page then enter your newly created password as the password.然后转到登录页面,然后输入您新创建的密码作为密码。

for further reference - http://forum.centos-webpanel.com/centos-webpanel/how-to-fix-encryption-error-on-login/供进一步参考 - http://forum.centos-webpanel.com/centos-webpanel/how-to-fix-encryption-error-on-login/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM