More changes to linux guide on samvaio's tips
This commit is contained in:
parent
3fff43206f
commit
85275a74c8
@ -64,7 +64,7 @@ Would you like to continue?
|
|||||||
```
|
```
|
||||||
That will install all the prerequisites your system need to run NadekoBot.
|
That will install all the prerequisites your system need to run NadekoBot.
|
||||||
|
|
||||||
(Optional) **If** you want to install it manually, you can try finding it [here](https://raw.githubusercontent.com/Kwoth/NadekoBot-BashScript/master/nadekoautoinstaller.sh)
|
(Optional) **If** you want to install it manually, you can try finding it [here](https://github.com/Kwoth/NadekoBot-BashScript/blob/master/nadekoautoinstaller.sh)
|
||||||
|
|
||||||
Once *prerequisites* finish installing.
|
Once *prerequisites* finish installing.
|
||||||
#####Part III - Installing Nadeko
|
#####Part III - Installing Nadeko
|
||||||
@ -190,3 +190,44 @@ Once done, go back to **PuTTY**
|
|||||||
- If you want to **see the sessions** after logging back again, type `tmux ls`, and that will give you the list of sessions running.
|
- If you want to **see the sessions** after logging back again, type `tmux ls`, and that will give you the list of sessions running.
|
||||||
- If you want to **switch to/ see that session**, type `tmux a -t nadeko` (**nadeko** is the name of the session we created before so, replace **“nadeko”** with the session name you created.)
|
- If you want to **switch to/ see that session**, type `tmux a -t nadeko` (**nadeko** is the name of the session we created before so, replace **“nadeko”** with the session name you created.)
|
||||||
- If you want to **kill** NadekoBot **session**, type `tmux kill-session -t nadeko`
|
- If you want to **kill** NadekoBot **session**, type `tmux kill-session -t nadeko`
|
||||||
|
|
||||||
|
####Guide for Advance Users (Optional)
|
||||||
|
|
||||||
|
**Skip this step if you are a Regular User or New to Linux.**
|
||||||
|
|
||||||
|
[![img7][img7]](http://nadekobot.readthedocs.io/en/latest/guides/Linux%20Guide/#getting-nadekobot)
|
||||||
|
|
||||||
|
- Right after [Getting NadekoBot](http://nadekobot.readthedocs.io/en/latest/guides/Linux%20Guide/#getting-nadekobot)
|
||||||
|
- `cd NadekoBot/src/NadekoBot/` (go to this folder)
|
||||||
|
- `pico credentials.json` (open credentials.json to edit)
|
||||||
|
- Insert your bot **Client ID, Bot ID** (should be same as your Client ID) **and Token** if you got it following [Creating and Inviting bot](http://nadekobot.readthedocs.io/en/latest/guides/Linux%20Guide/#creating-and-inviting-bot).
|
||||||
|
- Insert your own ID in Owners ID follow: [Setting up credentials.json](http://nadekobot.readthedocs.io/en/latest/guides/Windows%20Guide/#setting-up-credentialsjson-file)
|
||||||
|
- And Google API from [Setting up NadekoBot for Music](http://nadekobot.readthedocs.io/en/latest/guides/Windows%20Guide/#setting-up-nadekobot-for-music)
|
||||||
|
- Once done, press `CTRL+X`
|
||||||
|
- It will ask for "Save Modified Buffer?", press `Y` for yes
|
||||||
|
- It will then ask "File Name to Write" (rename), just hit `Enter` and Done.
|
||||||
|
- You can now move to [Running NadekoBot](http://nadekobot.readthedocs.io/en/latest/guides/Linux%20Guide/#running-nadekobot)
|
||||||
|
|
||||||
|
#### Setting up SFTP
|
||||||
|
|
||||||
|
- Open **WinSCP**
|
||||||
|
- Click on **New Site** (top-left corner).
|
||||||
|
- On the right-hand side, you should see **File Protocol** above a drop-down selection menu.
|
||||||
|
- Select **SFTP** *(SSH File Transfer Protocol)* if its not already selected.
|
||||||
|
- Now, in **Host name:** paste or type in your `Digital Ocean Droplets IP address` and leave `Port: 22` (no need to change it).
|
||||||
|
- In **Username:** type `root`
|
||||||
|
- In **Password:** type `the new root password (you changed at the start)`
|
||||||
|
- Click on **Login**, it should connect.
|
||||||
|
- It should show you the NadekoBot folder which was created by git earlier on the right-hand side window.
|
||||||
|
- Open that folder, then open the `src` folder, followed by another `NadekoBot` folder and you should see `credentials.json` there.
|
||||||
|
|
||||||
|
#### Setting up credentials.json
|
||||||
|
|
||||||
|
- Copy the `credentials.json` to desktop
|
||||||
|
- EDIT it as it is guided here: [Setting up credentials.json](http://nadekobot.readthedocs.io/en/latest/guides/Windows%20Guide/#setting-up-credentialsjson-file)
|
||||||
|
- Paste/put it back in the folder once done. `(Using WinSCP)`
|
||||||
|
- **If** you already have Nadeko 1.0 setup and have `credentials.json` and `NadekoBot.db`, you can just copy and paste the `credentials.json` to `NadekoBot/src/NadekoBot` and `NadekoBot.db` to `NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.0/data` using WinSCP.
|
||||||
|
- **If** you have Nadeko 0.9x follow the [Upgrading Guide](http://nadekobot.readthedocs.io/en/latest/guides/Upgrading%20Guide/)
|
||||||
|
|
||||||
|
|
||||||
|
[img7]: https://cdn.discordapp.com/attachments/251504306010849280/251505766370902016/setting_up_credentials.gif
|
||||||
|
Loading…
Reference in New Issue
Block a user