2014-06-05 11:37:38 +02:00
# Install YunoHost manually
Once you have access to your server, either directly or by SSH, you can install YunoHost using the install script.
< div class = "alert alert-info" >
2014-06-06 12:36:04 +02:00
< b > Note:< / b > The configuration of your services will be overridden, it is thus recommended to install YunoHost on a newly installed Debian system.
2014-06-05 11:37:38 +02:00
< / div >
1. Install git
```bash
2017-02-25 10:58:00 +01:00
sudo apt-get install git dialog
2014-06-05 11:37:38 +02:00
```
2. Clone the Yunohost install script repository
```bash
git clone https://github.com/YunoHost/install_script /tmp/install_script
```
2017-08-30 15:38:40 +02:00
3. The root user must have a password set, if it isn't the case, set it (otherwise, the install script fails):
2015-09-27 18:20:00 +02:00
```bash
sudo passwd root
```
4. Execute the installation script
2014-06-05 11:37:38 +02:00
```bash
2016-05-10 14:32:25 +02:00
cd /tmp/install_script & & sudo ./install_yunohost
2014-06-05 11:37:38 +02:00
```
< br >
2014-06-05 11:40:22 +02:00
< p class = "text-center" >
2016-03-22 09:14:24 +01:00
< img src = "/images/install_script.png" >
2014-06-05 11:40:22 +02:00
< / p >
2014-07-31 13:28:10 +02:00
< br >
< div class = "alert alert-warning" >
< b > Warning:</ b > Apache could already be installed by default on your dedicated server. If it's the case the installation script will fail since YunoHost is using Nginx. You will have to remove *apache2.2* package with the command: ``sudo apt-get autoremove apache2.2`` and execute the script again.
< / div >
2014-06-05 11:40:22 +02:00
---
2014-06-05 11:37:38 +02:00
2017-02-25 10:58:00 +01:00
*Once the installation is finished, you may want to proceed to post-installation: ** [yunohost.org/postinstall ](/postinstall )** *