VRC's picture


I downloaded the VMWARE file for the Drupal Appliance. After which I got VMWare Player and loaded the file. Now I get this command prompt interface that i know nothing about. I thought there was a GUI. Please help me clear up this confusion. 

Thank you.

Jeremy Davis's picture

so you will need to use your web browser to access it. If you wish to use the CLI (command line interface) you can use that command prompt, otherwise, its not going to be very useful for you!

I haven't used the Drupal appliance so I'm not 100% sure how you access it, but my guess would be to try accessing the web gui by simply typing the IP address of your appliance in the address bar of your web browser. Webmin (a web based GUI) is an extremely powerful config tool and will allow you to adjust lots of stuff, it's also accessed via your web browser using port 12321 eg https://xxx.xxx.xxx.xxx:12321. phpMyAdmin is also there and can be found on port 12322 (use https as they both use a SSL connection).

Now just before you close the VMware Player appliance window - if you are unsure of the IP of your appliance then you can find out/set it via the confconsole. At the commandline simply type the follwoing command:


it should be pretty straight forward.

Good luck!

Neil Aggarwal's picture

I just tried it using one of my VPS accounts.

After installing the appliance and setting up the interface, it gave me a text screen with a login prompt.  I logged in as root and typed confconsole.  It gave me these urls:

Web: http://serverIP
Web shell: https://serverIP:12320
Webmin: https://serverIP:12321
PhpMyAdmin https://serverIP:12322
SSH/SFTP: root@serverIP (Port 22)

Another way to get your IP is to type: ifconfig
That will list all your configured interfaces.

If you visit the appliance root page using a browser, it should give you a Drupal installation screen.  I used https://serverIP so the connection would be secure.

Hopefully, this will help.


VRC's picture

Thank you for the quick response. Correct me if I am wrong, entering  confconsole and later https://serverIP in the command prompt after logging in will lead me to a GUI...


VRC's picture

I'm very sorry for the mistake I made. I had assumed that the drupal installation and all other factors would be in the VMWare(I'm quite new to this, basically a noob). Now I tried the IP in the browser and it works awesome... Thank you very much.


Just one more question how do I create NAME servers to add a domain to this site and how will others be able to access my site without one? I've used hosts with cPanel where its really easy to do this... Once again I'm sorry if these questions are too basic. Looking forward to your response. Thanks

Neil Aggarwal's picture

The only way to access your appliance without using a nameserver would be to use its IP address.

I do not believe the Drupal appliance has a name server installed on it.
You can install one manually if you like.

You are right that cPanel comes with a name server built-in, but it does not have Drupal pre-installed on it. TKL appliance is a separate project from cPanel so it does not have the same features.

The registrar where you bought your domain might give you access to name servers or the hosting company where you are hosting your appliance might give that to you.

VRC's picture

 thanks for the info, about the hosting I'll ask the others involved and get back to you in a day or two.

VRC's picture

 How do you set a password for root?

 I found the option to change it

Joel MMCC's picture

(Note: the following had decent paragraph breaks, but they didn’t show up when I Previewed. If they still don’t when I actually Save/submit, my apologies for the wall-o’-text. And TurnKey? Please fix your forum software! I had to copy-paste the raw HTML submission from the submission buffer because it erased my entire comment when I went to Preview, apparently due to the CAPCHA being slightly incorrect!)

I’m pretty new to TurnKey, so take this with a grain of salt, but as I understand it and from my playing with it, the main difference between the D7 Appliance and Turnkey Core is that instead of the usual sample website, it includes a sample Drupal 7 website located at /var/www/drupal7 and served as the default website.

It also includes the DRUpal SHell aka “drush” which allows for all manner of easy command-line administration of a Drupal site. For instance, while Drupal 7 provides an online administrative interface for this, you may find it faster and easier to update Drupal and its core and contributed modules and themes (Drupal uses the term “Project” as an umbrella term covering all of that), and apply any database schema updates, all in one step by simply typing “drush pm-update” [where “pm-” stands for “Project Management”], which you can abbreviate as “drush up”. That checks for all updates, asks you if you want to proceed, updates any contributed modules and themes, then asks you again if you want to update core if needed (you should make a full backup first [but Drush makes this easy as well — more on that in a bit]), then does so, then performs any database schema upgrades while the site is in maintenance mode, then takes it out of maintenance mode and flushes all caches, all with that one command (as few as eleven total keystrokes, counting the [↵ Enter] and answering “Y” to the prompt)!

Making a backup of site content and the database is as easy as “drush archive-dump” (or “drush ard” for short). It’ll tell you where it put the backup, which you can then transfer to another computer and restore (assuming an empty MySQL database is already set up with the same username and password and database name [those can also be overridden with parameters to the command]) by using “drush archive-restore filepathname” (or “drush arr filepathname”) for short. Voila! Complete restore with one command!

Want to install a new Module or Theme? “drush pm-download projectname” (“drush dl projectname”) to get the currently recommended version, or “drush dl projectname --select --all” to see all available releases including betas and -devs and such and choose which one you want. Then “drush pm-enable modulenames” (“drush en modulenames”) to enable it and/or any of its submodules. The latter will auto-download and enable any missing dependency modules.

Forgot your User 1 super-admin login, and the Email account given for “forgot password” recovery is wrong (as it might be when taking over administration of a site from a previous admin)? Not a problem with Drush! “drush user-login” (“drush uli”) will open a new tab in your browser to a “Forgot Password?”-type one-time validation link so you can get in and reset your password via the website (it can accept any username or ID, but defaults to UID 1) — or, if you prefer, you can just brute-force set a new one with “drush user-password username --password="whAt3vEr!"” (“drush upwd …” for short — you do need to know the username for this one, but you can get that with “drush user-information 1” [“drush uinf 1”] which can also take any UID or username or even Email address, or a comma-separated list of any of those, as its argument). Without Drush, you’d pretty much have to go directly into the MySQL database’s Users table and hope you don’t mess up too badly.

There’s so much more than Drush can do. Just type “drush help” at the command prompt for more. Use “drush help command” for details on any one Drush command (e.g.drush help uli”).

Other TurnKey appliances (except the one for Drupal 8) likely don’t include Drush, so you’d have to install it yourself. Ditto if your hosting server lacks it (some Drupal-friendly ones include it by default).

The more recent versions of the TurnKey Drupal 7 Appliance also include Composer which is now the preferred dependency manager for Drupal (Drupal 8 pretty much requires it, while Drupal 7 sites are strongly encouraged to use it).

Jeremy Davis's picture

Hi Joel,

Firstly, welcome to TurnKey and thanks for posting with your helpful and extensive post.

Your content looks great and I don't really have anything much to add to that other than "Awesome!" :)

Regarding your other points; all of that comes down to spam filtering. Because we have pretty good SEO on the website (despite the fact that it's really old and clunky looking and in serious need of an overhaul), we get hammered by spammers.

We've found it incredibly hard to balance allowing legitimate users to post and stopping (or at least minimising) the spam. It's an incredibly fine balance, and at times we've even had scenarios where legitimate users are blocked, but the spammers still manage to find a way!

Anyway, I updated your post to include your formatting. It was included but not displayed as anonymous users can only display a small subset of HTML (so it previewed ok, but was then stripped when it was actually posted. Logged in users can use a slightly larger subset, and confirmed users (i.e. I manually update your user account) have an even larger subset of HTML they can use, plus avoid most of the spam traps (such as captcha and hashcash).

So I'd encourage you to create a user account and let me know what it is. Then I can confirm you as legit and you will have heaps less issues in the future!

Add new comment