We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.10.18. Linux configuration

Attention!

All commands written earlier in the file .bashrc manually, after saving the changes will be deleted.

After connecting to hosting via SSH working with a hosting account is done by entering commands in the command shell Bash... Bash has a config file .bashrc, which is located in the root directory of the hosting account. The commands in this file are automatically executed each time the shell is started. In the control panel, you can configure the basic shell settings: install the required PHP and Python versions, as well as set the required aliases. The setting is performed through the section "Hosting → Linux configuration»:

In the block "PHP version»Installs the PHP version that will be used in the console:

In the block "Python version»Installs the version of Python that will be used in the console:

In the block "Aliases»The necessary aliases are set:

  • «Alias…"- the name of the alias.
  • «Command…"- the command that will be executed when the alias is executed.
  • «+"- adds a line for one more alias.

After specifying the required data, click “Save"To make changes to .bashrc... They will take effect automatically for new SSH connections. To apply the new settings in the console that was open before the changes were made, run the command source ~/.bashrc or its shortened version . ~/.bashrc, or just reconnect.

Button "Reset settings»Returns the standard PHP and Python versions, and also removes all user aliases, completely reverting the files .bashrc and .bash_profile to its original state.

In the block "Hanging processes"You can forcibly terminate all processes of the hosting account by clicking"End all processes»: