Reads:70584Replies:4
How to invoke a browser, chrome or firefox from ECS commandline?
I did invoke a broswer from Linux commandline, using Moboxterm etc . But now in ECS, I could not invoke, trying to configure google-chrome repo or even firefox.
How to invoke a browser, chrome or firefox from ECS commandline? It should be google-chrome & or firefox & after installing. But it does not work. Any blog or link or any set up? I am able to download, other stuffs thru wget and I tested Anaconda, jupyter. But now the invoking of browser from commandline does not work. |
|
|
1st Reply#
Posted time:Jul 31, 2019 23:21 PM
Hi,
I don't think you can launch a full browser like Chrome or Firefox on an ECS instance, but you can launch these browsers in headless environment. Have a look at the following blog post: https://cloudcpu.blogspot.com/2019/07/headless-chrome-in-alibaba-cloud-ecs.html Cheers! |
|
|
2nd Reply#
Posted time:Aug 1, 2019 6:07 AM
Hi, can you show the attempt that you have made to try to perform this action?
|
|
|
3rd Reply#
Posted time:Aug 1, 2019 14:29 PM
You mean me? I launched ECS and then how to spawn a browser from within the ECS. Now I use Ubuntu from local and then it works. Just check Ubuntu 18.04 and you can set up easily.
|
|
|
4Floor#
Posted time:Aug 15, 2019 13:14 PM
Hi,
I was able to install GUI on my ECS by referring: https://www.alibabacloud.com/help/faq-detail/41227.htm And then I installed Google Chrome, using following commands on terminal: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome-stable_current_amd64.deb Then I tried to launch Google Chrome using command: google-chrome but it didn't worked. So, I searched for it and found: https://askubuntu.com/a/759384 Now typing following command launches Google Chrome successfully: google-chrome-stable Hope this helps! |
|
|