Настройка сервера через интернет

262
Bazinga777

У меня есть клиент, который хочет, чтобы я установил сервер Ubuntu на своем компьютере через Интернет. Я разработчик внешнего вида, но мне очень удобно использовать Linux. Есть ли способ сделать это, возможно, SSH?

0

1 ответ на вопрос

2
Matthew Williams

You can set this up via SSH if his system is configured correctly to accept this type of connection and you are able to configure the system via a terminal. You could also use a remote desktop tool like Teamviewer if you prefer a graphical view of the system.

In order to configure SSH you/client would need to do something like:

  1. sudo apt-get install openssh-server - Install ssh
  2. sudo nano /etc/ssh/sshd_config - Specify the listening port within this file
  3. sudo service ssh restart - Restart SSH
  4. Set up a router rule to send ssh connections on that port to the desired system (you get the internal system internal IP using ifconfig)

Something like this will work fine for a simple SSH connection.

If you want specifics on setup you would need to tell us what type of server the client is after. I assume from tags it is a web server, but is there a preference on installation or will apache be enough for the desired outcome?

Спасибо, я использовал SSH раньше и думал, что это правильный способ сделать это. Вы очистили мои сомнения Bazinga777 10 лет назад 0
@ Bazinga777 | Я использую SSH для настройки своего веб-сервера. Без вопросов. Если это пригодный для вас метод, это вполне приемлемый метод выполнения этого типа конфигурации. Повеселись. Matthew Williams 10 лет назад 0

Похожие вопросы