Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use Atom editor on AWS' amazon linux?

I'm just beginner at Ruby & Rails.

I make a instance with Amazon Linux.
and someone talks "Use Vim".
but I want to use Atom editor.

Can I use Atom on Amazon Linux?
Or I just make new instance with Ubuntu Server?

and one more things!
Can I control only with Command Line??

like image 915
Snowcat Jung Avatar asked Mar 13 '23 16:03

Snowcat Jung


1 Answers

1)

You can X forward over SSH to use the Atom GUI. Typically all you need to do is ssh -X yourserver.com, and then run atom from the command line.

I don't know your setup enough to determine if just that will work, or if you need to enable XForwarding, or even install X, etc. This might help: https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-from-ubuntu-machine

As far as I know Atom is only GUI. I'm sure you can find some CLI for it that somebody made, but at that point you should just use Vim.

Keep in mind X forwarding will probably be very slow. You have another alternative:

2)

sshfs can be setup to create a virtual filesystem through ssh to your server. You can then run Atom on your local machine and edit remote files. It's super easy and this guide explains it best: https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh

like image 100
Eugene K Avatar answered Mar 16 '23 04:03

Eugene K