I want to open a software GUI on ubuntu SERVER. - user-interface

I would like to know open a GUI of a software called datacenter datastax which is a UI for Cassandra where we can manipulate the data.
Firstly, I want to install datacenter on my office server where multiple VMs are setup. Out of one of those VMs, I have created a fresh 'ubuntu server' VM and install the datacenter within. Since ubuntu server is only based on CLI but the data center is all GUI. How come I achieve this? I mean I want to access the GUI of this software while it's installed within a ubuntu server.
Reason for me doing this is because every person within the office can access the GUI of the datacenter when I share them the ip or whatever.
Please help me with this. Ill highly appreciate it.

You need to export the console from the server to the machine you want to access GUI from.
Something similar like this export DISPLAY=":0.0" where you replace ip_address with the ip address of the machine that you want to send GUI to, if the machine is some *nix machine. Then run the command to start the GUI. After this, the GUI should be redirected to the machine having the
If it is a Windows machine, you will need to run xming on it.
Also, please note that this is not a Cassandra related question, even if you want to start a Cassandra related GUI.

Related

Installing Oracle Database Software 19c on openSUSE LEAP 15.3

I try to install Oracle Database Software. When i unzip package i try to
launched runInstaller as root of course. However terminal show me error like:
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
ERROR: You must not be logged in as root to run this tool.
How to fix it and install Oracle 19c?
Additionaly I use openSuse Leap 15.3 KDE Plasma on VirtualBox.
Don't tell me, you tried to run the install via sudo? Don't, it does not setup xauth. Rather, su to root and run it that way.
Safe yourself a lot of time and start with the manual: https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/index.html
It will tell you to create a user that is going to be the owner of the software and also the user that you use to install the software with.
This manual is pretty useful. If you have a problem setting up your x windows environment, go for a silent install via the command line.
"launched runInstaller as root of course."
And that is exactly what the fine Installation Guide says not to do.
I use openSuse Leap 15.3
And that is not listed as a supported OS in the Installation Guide. It does list two versions of SUSE Linux Enterprise Server. But since you are building your wn system under VBox, why not use Oracle Linux?
And since you are using VBox, you will need to insure that your network adapter(s) are properly configured. I've created scores of VBox linux machines over the years. One of my guiding principles is that I want to treat them exactly as I would a physical server that lives behind a locked door, in a lights-out data center. That means I do not rely on the VM console, and instead access the machine with the same desktop tools as I do that server in the data center. And to make that work I have to have one of the network adapters on the VM configured as HOSTONLY. (in addition to the default adapter that is configured for NAT (Network Address Transalation). When first installing and configuring the OS, I configure the HOSTONLY adapter with a fixed IP address. With that I can then access the VM with an ssh client installed on the host machine. I use PuTTY. For the GUI, I configure my ssh (PuTTY) connection for x-11 host forwarding, and run XMING on the host desktop. With that, a GUI app launched from the ssh client will present on the host desktop.
You can read more deatil here.
But regardless of all other considerations, if you want to successfully install Oracle Database, you must read the appropriate installation guide. Especially all of the installation prerequisites.
-- Edit
Just to clarify, My comments about configuring network adapter, use of ssh client, etc, are to address your specific reported error about "Unable to verify the graphical display setup"

is Vagrant suitable for beginners that are not tech savvy?

I'm planning to teach a group a people how to setup a website using WordPress. Those people have some basic computer usage knowledge : they can surf the web, write emails, install software on their computer, ... But they are absolutely not developers. And the training does not aim to teach them development.
But I want them to be able to setup a fully working local web environment or their computer that runs on Windows. I was planning to use XAMPP, but I'm wondering if Vagrant is not more suitable. I could prepare a box with a lot of tools already included, and they will just have to install it. Interaction with the server would take place only via http and FTP (no ssh needed).
Is it possible to create a batch file that they can click on to launch the Vagrant ? If properly configured, is that as easy to use as that for absolute beginners ?
from what you describe there is almost no vagrant thing, you would be responsible to make the vagrant box and the vagrantfile, and you will not expose your students to vagrant. only thing is that they would need to have this bat file on their desktop (the only command that it will need to run is vagrant up, make sure to expose the vagrant cwd variable) and the server will be up and running.
The main advantage I see then is that you will completely make your students in the same situation they will be with their production system. they will face the same tool (FTP, wordpress admin ...) on an environment (more or less) identical to a production environment.

Trying to create dev with SPEasySetUp and VMWare

I am trying to create a dev box for SharePoint 2010 Server utilizing the following:
http://blogs.msdn.com/b/cjohnson/archive/2010/10/28/announcing-sharepoint-easy-setup-for-developers.aspx
So first of all this is new to me. I understand that these are instructions are for dual boot in Windows Native, but I am more interested in using a VHD/image of the OS to run on VMWare.
I have tried creating an image of a running virtual machine with sysprep tool, but hit a dead end with capturing the image to a file that I can reference within the running machine to run the scripts against.
I took a look at Diskpart on TechNet, but as I am new to this, I am not sure this is what I want to do?
I tried installing to the local host (virtual machine that is running) and am getting an error there also; fails at Windows Identity Framework.
It is a clean install of Windows 7 (literally nothing else), and the UAC has been disabled.
Is there any insite, help, or advice anyone can provide me regarding this? I would really appreciate it as I have to get working on the development aspects of SP (workflows, web parts,etc), and need a dev env, and I can't seem to get anywhere with this.
Thanks
Justin

ec2 workflow microsoft / apple

I'm switching over to EC2 and obviously it's easiest to manage instances through a command line rather than some crappy web interface, but I work on a PC and have everything set up in Windows. What is the best way to work with dev server instances? Putty? Is there an alternative? What do you guys use?
Thanks!
It depends what you mean by "manage instances".
If you mean the ability to launch new instances from an AMI, configure security groups, manage EIP's and so on, the ElasticFox plugin to Firefox is great (in spite of having occasionally buggy releases). The command line tools supplied by Amazon for this purpose could be a good basis if you're writing automated scripts, but I find ElasticFox much better for my work.
To work directly on the instances, I use WinSCP for both Windows and Linux instances (I installed a third-party SFTP server for Windows), PuTTY for Linux and Remote Desktop for Windows.
I manage both Linux and Windows EC2 instances for a couple of different businesses.
For the Windows boxes I normally connect via Remote Desktop to do virtually everything. For Linux I use WinSCP and PuTTY consoles.
For EC2-specific operations I use the Amazon web console or the Amazon-supplied scripts from my PC.

Creating a virtual machine image as a continuous integration artifact?

I'm currently working on a server-side product which is a bit complex to deploy on a new server, which makes it an ideal candidate for testing out in a VM. We are already using Hudson as our CI system, and I would really like to be able to deploy a virtual machine image with the latest and greatest software as a build artifact.
So, how does one go about doing this exactly? What VM software is recommended for this purpose? How much scripting needs to be done to accomplish this? Are there any issues in particular when using Windows 2003 Server as the OS here?
Sorry to deny anyone an accepted answer here, but based on further research (thanks to your answers!), I've found a better solution and wanted to summarize what I've found.
First, both VirtualBox and VMWare Server are great products, and since both are free, each is worth evaluating. We've decided to go with VMWare Server, since it is a more established product and we can get support for it should we need. This is especially important since we are also considering distributing our software to clients as a VM instead of a special server installation, assuming that the overhead from the VMWare Player is not too high. Also, there is a VMWare scripting interface called VIX which one can use to directly install files to the VM without needing to install SSH or SFTP, which is a big advantage.
So our solution is basically as follows... first we create a "vanilla" VM image with OS, nothing else, and check it into the repository. Then, we write a script which acts as our installer, putting the artifacts created by Hudson on the VM. This script should have interfaces to copy files directly, over SFTP, and through VIX. This will allow us to continue distributing software directly on the target machine, or through a VM of our choice. This resulting image is then compressed and distributed as an artifact of the CI server.
Regardless of the VM software (I can recommend VirtualBox, too) I think you are looking at the following scenario:
Build is done
CI launches virtual machine (or it is always running)
CI uses scp/sftp to upload build into VM over the network
CI uses the ssh (if available on target OS running in VM) or other remote command execution facility to trigger installation in the VM environment
VMWare Server is free and a very stable product. It also gives you the ability to create snapshots of the VM slice and rollback to previous version of your virtual machine when needed. It will run fine on Win 2003.
In terms of provisioning new VM slices for your builds, you can simply copy and past the folder that contains the VMWare files, change the SID and IP of the new VM and you have a new machine. Takes 15 minutes depending on the size of your VM slice. No scripting required.
If you use VirtualBox, you'll want to look into running it headless, since it'll be on your server. Normally, VirtualBox runs as a desktop app, but it's possible to start VMs from the commandline and access the virtual machine over RDP.
VBoxManage startvm "Windows 2003 Server" -type vrdp
We are using Jenkins + Vagrant + Chef for this scenario.
So you can do the following process:
Version control your VM environment using vagrant provisioning scripts (Chef or Puppet)
Build your system using Jenkins/Hudson
Run your Vagrant script to fetch the last stable release from CI output
Save the VM state to reuse in future.
Reference:
vagrantup.com
I'd recommend VirtualBox. It is free and has a well-defined programming interface, although I haven't personally used it in automated build situations.
Choosing VMWare is currently NOT a bad choice.
However,
Just like VMWare gives support for VMWare server, SUN gives support for VirtualBOX.
You can also accomplish this task using VMWare Studio, which is also free.
The basic workflow is this:
1. Create an XML file that describes your virtual machine
2. Use studio to create the shell.
3. Use VMWare server to provision the virtual machine.

Resources