Using Schwab StreetSmart Edge Cloud on linux - Citrix Error [closed] - linux

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
The Problem
Schwab only supports Windows and Mac for its StreetSmart Edge Cloud (SSEC), not Linux. However SSEC is Citrix based, which has a Linux implementation. Unfortunately, it does not work out of the box. How do I get it working on Linux?
Background
One of the most difficult type of software to find on Linux is investment trading software. For years, I had to maintain a Windows machine for this purpose alone.
One of the most sophisticated platform for this is Schwab SmartStreet Edge Cloud version. The only problem is that Schwab only supports Windows and Mac, not Linux. Of course there are other trading platforms, but few can be installed on Linux and I like StreetSmart best.
But isn't Mac a close cousin of Linux? Why can't we seem to get trading software to work on Linux, especially when it is a cloud version of the trading platform? After all, anything that you can do on a Win or Mac browser, you can do on a Linux browser.
So, my question is how can I install a trading platform with all the sophisticated charting and complex trading parameters, such as stop, limit and bracket orders?
Solution
Now, I am going to answer my own question with a solution.
Here is what worked for me. I have been using StreetSmart Edge for over 6 months on my Linux with this solution. Best of all, it does not rely on Wine or dual booting.
Step 1
Download the latest Citrix Workspace app for Linux Web client (x86_64) for 64 bit architecture or (x86) for 32 bit architecture or (ARM HF) for ARM processor machines. I have only tested on the (x86_64), so cannot speak for the others.
Go to the citrix.com and look for the workspace app download page.
Under Available Downloads, choose the type of package you need. I chose Debian Packages. You may need the RPM Packages. Choose the Web Packages (Web Workspace app only) download for your architecture.
On Debian, you are immediately offered a chance to install with GDebi. Click on OK to install.
On RedHat type distros, there are analogous steps.
Or simply install the downloaded file manually, using your OS normal installation procedure for downloaded packages. Be sure you use a method such as GDebi to install needed dependencies as well.
Everything should appear to install correctly without an error message, however, when you try to launch StreetSmart Edge Cloud, you will get the following error message:
SSL error
Contact your help desk with the following information: You have not chosen to trust "DigiCert Global Root G2", the issuer of the server's security certificate (SSL error 61).
Step 2
Create a soft symbolic link to DigiCert_Global_Root_G2.crt which should be in your mozilla ca-certificates.
In my case - Debian 9 - the command to create the symbolic link was as follows:
sudo ln -s /usr/share/ca-certificates/mozilla/DigiCert_Global_Root_G2.crt /opt/Citrix/ICAClient/keystore/cacerts/DigiCert_Global_Root_G2.pem
You may need to search for the mozilla directory to find the correct path for your setup. Also, you may need to search for the Citrix ... cacerts directory to find the correct path for your setup. Replace the ln -s syntax above with the one corrected for your paths.
Step 3
Reboot. I am not certain this is actually necessary, but it can't hurt.
Hurray! You should now be able to use Schwab StreetSmart Edge on your linux.
Now go out and make lots of money and donate it to charity. ... that includes supporting your favorite open source software!!

Related

Creating a bootable .img file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have problem with making .img file which I can make it bootable in USB.
I have Folder consist of many RPM files include linux distrobution and some bash script file and etc. the bash script install Linux server and two other software besides set MySQL and PHP. I want to make .img file from this folder so when I just make the .img file bootable to boot from USB, it is supposed to automatically install everything in the computer.
My problem is that I don't know how to make such .img file. is there any specific bash command that should I use? Could you help me to do this? Some clues and documentations to read and understand the process or any software to use, is really perfect. I really appreciate your help.
Thank you.
The answer is:
Don't do it.
At least not in the way you're proposing.
You are specifying a solution to a problem without really defining your requirements. How many standard packages? How many/how big are your additions? What are the gating items (e.g. need web server, need sshd)? Do you need just a few standard packages or several hundred?
Linux distros, such as Redhat, CentOS, Fedora, Canonical/Ubuntu, Debian, expend considerable man-hours to get this right.
So, you need to know what distro you're using. By mentioning rpms, you're probably using Redhat, CentOS, or Fedora. They have procedures to create "live" CDs (and/or USB sticks) and "full install" DVDs. But, this can be a big job, particularly if you're trying to graft on extra files that they don't know about.
I highly recommend you use a standard installer for your distro [that has been heavily QA'ed]. Then, after installation and reboot, extract your additional packages from separate media or download from a server you control. The install media for your stuff could consist solely of a bash script that creates /etc/yum.repos.d/mystuff.repo and kicks off a yum install mystuff
Also, if you were to do a plug-in-and-boot installer, do you want it just erase/repartition the main hard drive without asking (e.g. full automatic)? Or, do you want it to show the existing partitions, etc. like standard installers do?
Getting back to requirements, why do you need to have a one shot installer?
How many systems are you going to install this on? 5, 10, 100, 1000? Are they all in a server farm? You might be better off with PXE boot and boot/install from a central server.
For example, Google has hundreds of thousands of servers [or more]. They have a need for this. But, they also have entire teams of developers devoted to the in-house methodologies that they use.
How often are you going to have to do this for a given server? After the initial install, what is your plan/method for updates (e.g. yum, etc.)?
By using the standard install, you're not responsible for QA of the entire system [standard system + your custom stuff], only your custom stuff.
For example, Fedora discourages any "full install". They now prefer the "live boot" and install from Internet approach.
One of the reasons is that the full install disk gets created [with lots of QA]. But, it's static. If a package has an update, the full install will install the old, unpatched version.
I've had cases where I used it, then did yum update after reboot. The full install disk installed some things that became obsolete/incompatible within a week or two after release. They clashed with the update and things became broken. I had to intervene manually. This is much less likely to happen with a live boot install that will download the latest [and presumably most bug fixed] packages.
On the fedoraproject.org site, you can find documentation on creating live CDs and/or USBs. They can even show you how to add some custom files. Other distro sites will have similar documentation.
BTW, I have doing OS install kits since 1981, so all of the above comes from experience. I've created them from scratch and hacked up ones from distros.
Can it be done? Sure. Do you really want to do it or should you want to do it? Well, maybe. Just be aware of what you're taking on in terms of maintenance.

Can i code Assambly for x86 Windows from x64 Linux ? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
i have 64bit Ubuntu but i need to code ASM code for Intel 8086 Windows... Is there any software or IDE or emulator you can suggest?
I know that there is different instructions for each kind of processor...
At first, you always can compile your program in 32bit Windows PE executable, using the proper compiler. I don't know for other assemblers, but, for example, FASM can do it in easy.
The big problem is with the testing - i.e. how to run and debug the compiled program?
The only IDE I know that is able to compile, run and debug Windows and Linux applications in the same time, from Linux is Fresh IDE (it is based on FASM compiler). Fresh IDE is windows application, so you will need WINE installed in order to use it (and it uses Wine in order to be able to run Windows applications from Linux).
As far as I know, WINE can run on 64bit Linux, but I never used it, so can't give any guides for installing it.
After installing WINE, install and configure Fresh IDE as described in the setup guide.
NOTE: Fresh IDE is my product and I am possibly little bit biased. But it has the features described in this answer (and many more useful features as well). :)
Specific assembly syntax is compiler specific. You will need to investigate this for whichever compiler you're planning to use. I am unaware of any specific IDE/emulator for this purpose in Linux, however you can use any editor of your choice (vi, emacs, eclipse, nano, textedit, etc) to write the text document which contains your code. You could then transfer this to a windows machine with the appropriate compiler. Unless you lack regular access to the compilation machine, however, it's likely more in your interest to work in the environment which you're going to compile to.
You can write code on whatever machine you want. Testing it is another story entirely. In your case, you'll at least want to get a cross-assembler to build Windows binaries on your Linux machine, and then probably a VM running windows of some kind to test your program. If you're going to the effort of setting up the VM, you can probably just use a native assembler there too.

How to install OpenShift Origin on Windows 7? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am wanting to install OpenShift Origin on my PC running Windows 7.
I am completely new to Linux environments and terminology but wanted to 'look around' the OpenShift product with the hope that I can become familiar with its offerings and features.
So I have started here:
https://www.openshift.com/products/origin
Where the instructions are:
"The easiest way to run OpenShift Origin locally is to download an image suitable for running on a VM. The image will work on KVM , VirtualBox or VMWare . You can also spin up a VirtualBox instance using Vagrant or build your own machine using Puppet".
I have downloaded openshift-origin.latest.tgz and I am assuming the next step is to download and install a 'VM' (something I also have never used)?
I have heard the name VMWare before but when I visit the site there seem to be 15+ different products and I'm not sure which one is required for the above task.
So, is it possible for someone to provide a <ul> of steps required to install and run OpenShift Origin on Windows 7?
A google search for how to install openshift origin on windows 7? does not seem to return any immediately obvious results (the first result links to an article that starts with [obsolete]).
There is a video called 'open shift origin setup' here:
http://youtu.be/rzW3N_C5sIE
But it starts with a file called 'openshift_origin.iso' and not the 'openshift-origin.latest.tgz' that I have downloaded and then it gets into some terminal coding that is completely foreign to me.
Any pointers appreciated.
Edit:
In addition to accepted answer below, as virtual machines may be a bit ominous to newbies here are some screenshots which show the installation of VirtualBox, it was really pretty easy.
For Windows 7, I downloaded VirtualBox 4.2.16 for Windows hosts x86/amd64 from:
https://www.virtualbox.org/wiki/Downloads
and then ran the installer:
Then you will see a few of these type of screens, just click 'Install'.
Unfortunately then when running OpenShift, as per instructions in accepted answer, I got this message:
And I haven't been able to find a workaround to this yet.
But this error shouldn't occur for those who have hardware acceleration enabled.
VirtualBox
VirtualBox is freely available.
Open VirtualBox from the Start Menu - this opens the VirtualBox Manager.
Open the menu File > Import Appliance or press CTRL+I.
Click Open Appliance...
Browse to the folder you downloaded OpenShift Origin to.
Select the .ovf file.
Press Next.
Press Import.
It'll import the file for a while (roughly 2 minutes on my computer) and show up as a Virtual Machine afterwards. You can just click Start and it'll boot up.
VMWare
VMWare Player is free for personal non-commercial use while most other VMWare products are not.
I haven't personally tried this route, but it seems easy enough to just open the .vmx file directly.
Your choices of software to run the ISO (VM image with Fedora) on Windows is VirtualBox or VMWware Workstation. Here's an interesting article that compares the 2:
http://www.infoworld.com/d/virtualization/review-vmware-workstation-9-vs-virtualbox-42-203277
2 unrelated things here...
First, if you do not have a hardware virtualization enabled 64 bit processor (listed as VT-X on Intel chips, and AMD-V on AMD processors), then you cannot host an OpenShift Origin VM, which itself spawns VMs, and thus not only needs the virtualization enabled processor, but needs its VirtualBox VM enabled for virtualization (a checkbox under System/Acceleration in the settings for the VM).
Second, OpenShift Origin relies on multicast DNS, which is not supported on Windows 7, so it won't work.
If you can install Fedora 20 Alpha (I expect Fedora 19 will work, but I haven;t tried it) onto metal, then install VirtualBox and the nss-mdns RPM, that should work.
Been there, done that, got the headache.

Switching to linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been using linux at university for quite a while, and it seems much more customisable and better for coding.
So I want to switch to linux from windows 7 at home.
What branch of linux should I use? I'm an emacs user if that gives any insight.
Which desktop enviroment should I use? At uni we use KDE, but it's too graphical, often I just click on stuff instead of using the terminal. I want one where it encourages me to use terminal more.
and the biggest question, how do I install it all? Should I put everything on external hard drive and wipe my computer completley?
I primarily program in Java and python.
I would recommend that you first try using Linux off Live CD/DVD. Linux Mint, Ubuntu, etc.
Just download and burn .iso onto blank media and boot your computer off of it. Just play around, check various desktop environments, see if all your hardware work with the specific Linux distribution. This step is very useful to decide which distribution you actually want to install onto your computer, especially the latter since, while it has been improving, the biggest obstacle you may face in configuring your computer to run on Linux is often hardware incompatibility. Just make sure everything that you need to work actually works.
If you have no issues wiping out Windows, Linux installation is pretty straightforward these days. It even takes less time in general than re-installing Windows. I would browse the web for an installation note for your specific computer model to see if anyone has already successfully done so, so that you can just follow. That saves a lot of time.
I use Debian (Wheezy now) and KDE. It's very easy to install and switch desktop environments after installing Linux though, so that shouldn't be any concern.
I suggest creating a virtual machine using VMWare or Virtual Box. As far as the distribution goes, Linux Mint and Ubuntu are pretty user-friendly for first time installations. And for the desktop environment, I suggest XFCE.
A few Google searches will do you good. I think a virtual environment will be much more easier to manage than partitioning a hard-drive.
Well, the installation step, if you use Windows 7, you may want to make a full backup of your hdd - so if things go wrong you will be safe and able to recover.
I was in somewhat similar situation recently - figuring out which linux distro to use. Previously I had luck with ScientificLinux, but this time it didn't like my laptop hardware for some reason - after wake-up wireless network card was getting stuck and wasnt picking any signal. I didn't want to recompile kernel etc., so I installed Ubuntu, but the Gnome 3 was a show stopper - I had to roll back to Gnome 2, but later I tried and liked a lot XFCE desktop - which I use right now on my workstation and laptop.
Java, Python and emacs probably work well with any linux distribution out of the box, so it is up to you which one to choose after all. Good luck!
Sorry, forgot to mention - all contemporary Linux distributions are able to install a dual boot feature - so you can keep your Windows 7 setup along with Linux (if you have enough of free space), moreover Windows partition will be accessible from Linux which is handy sometimes.

Linux distribution for a programmer's private server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm going to get a low-end old (CHEAP!) computer to run non-stop as a little server for Subversion, Mercurial, Trac and maybe a little other things. It's 99% for myself - performance isn't a concern.
It'll probably have a 1 GHz P3/P4/Celeron, 256 MB SDRAM, 30 GB IDE HDD or something like that, any video card so I can hook up a monitor.
I could get about setting Windows Server on it, but I feel that's too much of an overkill. All I need is to access my code from my laptop, desktop, maybe remotely, same for a wiki, bug tracker, etc. so I feel that a light Linux distribution will be more than enough.
I want to have a GUI, preferably with Xfce, but I don't mind IceVM or any other light GUI - it doesn't have to be pretty, I just don't like CLI as a Windows user.
However, the advantage of Windows would be that I already have tons of experience setting it up and can directly use Remote Desktop to get to it and AFAIK I have access to Home Server that "just works" - unless you can suggest me a distro made for home servers.
So the question is: what Linux distribution do you think is best for my needs? Or should I just strap Windows Home Server on it?
I would suggest Ubuntu. Setting up/installing applications is just a breeze with apt-get.
Having used Debian for nearly seven years, I think it will suit your task very well. Besides, I find it much more convenient to manage than Red Hat based distributions (such as Scientific Linux, Fedora or CentOS).
EDIT: Ubuntu (which another poster has suggested) is essentially an advanced Debian customization towards desktop use. Ubuntu heavily relies on Python scripting and generally consumes more resources than Debian. I believe that original Debian fits the job you described better.
It doesn't sound like you have demanding requirements at all, so I'd probably go with something easy to set up. I believe Ubuntu is pretty good in this regard.
You might also want to look into VNC, which is a bit like a free, cross-platform Remote Desktop.
CentOS - a free version of RedHat Enterprise Linux which is the most common server Linux distribution.
I have been using Debian for very similar purposes. This too has a gui application install manager.(however, not everything I 've installed was available through the manager, then just used the command line)
I've also been using red hat at work for host development machine. I might consider Fedora for a home server, as there appears to be lots of support on the web for red hat/fedora.
BTW I use windows for most things, and just vnc on to the linux machine.

Resources