04-14-2023, 10:10 PM
Question:
Hello,
I am attempting to create my very first server ever. I eventually wish to host multiple websites for my close family. Please keep in mind I am an Ubuntu novice and server newb. I have clean installed Ubuntu server with SSH being the only installed package a number of times. This part has always installed flawlessly. The first couple of times I immediately installed EHCP. This resulted in no success. I'm not exactly sure why, but I assume that I had not truly understood the process of password selection during installation, not to mention the fact that I had not installed EHCP while logged in as Administrator.
The next time I paid extra close attention to my selection of passwords during the EHCP installation process, but still no luck. Rather than reinstalling yet again I tried a number of different username/password combinations only to discover that none of the passwords chosen during installation were being used. I was able to log into EHCP, PHPMyAdmin but only with the default usernames and passwords. I also discovered that MYSQL was not running even though it had been installed. Again EHCP was not installed while logged in as an Administrator.
I then found "Easy install of server with EHCP" at http://www.ehcp.net/?q=node/258 and I am trying to follow the instructions to the letter. I can log in to Ubuntu server, which is named simply "server" with the username:tunda and password:1234 created during this test install, I then run sudo su to become administrator. I enter my password:1234 that was used during Ubuntu server install when prompted and I now see root@server:/home/xxxx#. This leads to my first question, am I now logged in as administrator?
Still using CLI, I run sudo passwd root and I'm prompted to Enter new UNIX password: and then Retype new UNIX password: which results in passwd: password updated successfully, but this appears to do nothing. Maybe I do not know where this password is to be used. I thought this would change the password required to log in after the sudo su command, but even after reboot I must use password:1234 after the sudo su command and I cannot seem to find a single area where this password is accepted. Could you please tell me if I have made a mistake in this process or could you please inform me where to use this password that I have created.
I would like to know if I set up my /etc/hosts file correctly. In the following example the computer running Ubuntu server is simply named "server", and will be used with www.xxxx.com as the hosting domain name.
127.0.0.1 localhost.server localhost
192.168.0.100 server.xxxx.com server
Is this a legit setup? If not what changes need to be made to make it legit? What are the variable options that are simply an Administrator's preference?
Other than this everything listed in the instructions prior to EHCP installation appears to work perfectly. If you could please clarify these 3 issues for me I would greatly appreciate your time and help. Thank you!
Answer:
Your /etc/hosts is ok.
sudo passwd root,
su, then, passwd,
"Enter new Unix passord",
etc
are all, only for changing root pass of ubuntu, which is unknown at installation of ubuntu.
after changing root pass, you know that, and you can easily run commands after entering "su" command.
Otherwise, you should do "sudo command" for every command you enter...
To install ehcp, you should folow instructions at http://www.ehcp.net/helper/yardim/cats.php
the link you said is also an explanation, but it is written by thelen, and a bit complex
basicly,
install ubuntu,
then,
sudo passwd (this only resets your root pass)
then
download ehcp
extract it
run install.sh
thats all
in Linux world, super user is root, what you call is Administrator; Administrator is on windows, and is meaningless in Linux,
to install ehcp, you need to become root (superuser) by saying su, or, you may run install.sh as "sudo install.sh"
hope this helps...
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Hello,
I am attempting to create my very first server ever. I eventually wish to host multiple websites for my close family. Please keep in mind I am an Ubuntu novice and server newb. I have clean installed Ubuntu server with SSH being the only installed package a number of times. This part has always installed flawlessly. The first couple of times I immediately installed EHCP. This resulted in no success. I'm not exactly sure why, but I assume that I had not truly understood the process of password selection during installation, not to mention the fact that I had not installed EHCP while logged in as Administrator.
The next time I paid extra close attention to my selection of passwords during the EHCP installation process, but still no luck. Rather than reinstalling yet again I tried a number of different username/password combinations only to discover that none of the passwords chosen during installation were being used. I was able to log into EHCP, PHPMyAdmin but only with the default usernames and passwords. I also discovered that MYSQL was not running even though it had been installed. Again EHCP was not installed while logged in as an Administrator.
I then found "Easy install of server with EHCP" at http://www.ehcp.net/?q=node/258 and I am trying to follow the instructions to the letter. I can log in to Ubuntu server, which is named simply "server" with the username:tunda and password:1234 created during this test install, I then run sudo su to become administrator. I enter my password:1234 that was used during Ubuntu server install when prompted and I now see root@server:/home/xxxx#. This leads to my first question, am I now logged in as administrator?
Still using CLI, I run sudo passwd root and I'm prompted to Enter new UNIX password: and then Retype new UNIX password: which results in passwd: password updated successfully, but this appears to do nothing. Maybe I do not know where this password is to be used. I thought this would change the password required to log in after the sudo su command, but even after reboot I must use password:1234 after the sudo su command and I cannot seem to find a single area where this password is accepted. Could you please tell me if I have made a mistake in this process or could you please inform me where to use this password that I have created.
I would like to know if I set up my /etc/hosts file correctly. In the following example the computer running Ubuntu server is simply named "server", and will be used with www.xxxx.com as the hosting domain name.
127.0.0.1 localhost.server localhost
192.168.0.100 server.xxxx.com server
Is this a legit setup? If not what changes need to be made to make it legit? What are the variable options that are simply an Administrator's preference?
Other than this everything listed in the instructions prior to EHCP installation appears to work perfectly. If you could please clarify these 3 issues for me I would greatly appreciate your time and help. Thank you!
Answer:
Your /etc/hosts is ok.
sudo passwd root,
su, then, passwd,
"Enter new Unix passord",
etc
are all, only for changing root pass of ubuntu, which is unknown at installation of ubuntu.
after changing root pass, you know that, and you can easily run commands after entering "su" command.
Otherwise, you should do "sudo command" for every command you enter...
To install ehcp, you should folow instructions at http://www.ehcp.net/helper/yardim/cats.php
the link you said is also an explanation, but it is written by thelen, and a bit complex
basicly,
install ubuntu,
then,
sudo passwd (this only resets your root pass)
then
download ehcp
extract it
run install.sh
thats all
in Linux world, super user is root, what you call is Administrator; Administrator is on windows, and is meaningless in Linux,
to install ehcp, you need to become root (superuser) by saying su, or, you may run install.sh as "sudo install.sh"
hope this helps...
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.