forked from Skynet/wiki
docs: split out teh documentation on how to create a website
This commit is contained in:
parent
60207b612e
commit
cf3853c2db
3 changed files with 30 additions and 16 deletions
BIN
_git.tar.gz
(Stored with Git LFS)
BIN
_git.tar.gz
(Stored with Git LFS)
Binary file not shown.
|
@ -12,7 +12,7 @@ You can find more of the history here: <https://2009.skynet.ie/history.html>
|
||||||
Login is done via ssh and ssh keys.
|
Login is done via ssh and ssh keys.
|
||||||
|
|
||||||
## SSH Keys
|
## SSH Keys
|
||||||
[See the tutorial on SSH keys for more info](../../tutorials/skynet/create_ssh)
|
[See the tutorial on SSH keys for more info](../../tutorials/skynet/create_ssh.md)
|
||||||
|
|
||||||
### Logging in
|
### Logging in
|
||||||
In any terminal do this:
|
In any terminal do this:
|
||||||
|
@ -23,16 +23,4 @@ ssh username@skynet.skynet.ie
|
||||||
And you will be in!
|
And you will be in!
|
||||||
|
|
||||||
## Website
|
## Website
|
||||||
In your home folder follow these commands to create the folder that can be used to host a website
|
[See the tutorial on the website for more info](../../tutorials/skynet/create_website.md)
|
||||||
|
|
||||||
```bash
|
|
||||||
mkdir ~/public_html
|
|
||||||
chmod 711 ~
|
|
||||||
chmod -R 755 ~/public_html
|
|
||||||
cd ~/public_html
|
|
||||||
```
|
|
||||||
|
|
||||||
See below for an easy way to upload files to this folder.
|
|
||||||
|
|
||||||
## More info
|
|
||||||
There is a slideshow that might be of use to you: <https://public.skynet.ie/slides/skynet/1_setup.html>
|
|
26
src/tutorials/skynet/create_website.md
Normal file
26
src/tutorials/skynet/create_website.md
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Create your own website on Skynet
|
||||||
|
|
||||||
|
## Login
|
||||||
|
Once ye have [logged in](./create_ssh.md) you will be able to create a website on Skynet.
|
||||||
|
|
||||||
|
## Website
|
||||||
|
### Manually
|
||||||
|
|
||||||
|
In your home folder follow these commands to create the folder that can be used to host a website
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir ~/public_html
|
||||||
|
chmod 711 ~
|
||||||
|
chmod -R 755 ~/public_html
|
||||||
|
cd ~/public_html
|
||||||
|
```
|
||||||
|
|
||||||
|
To transfer files graphically you can use these programs:
|
||||||
|
* WinSCP
|
||||||
|
* FileZilla
|
||||||
|
|
||||||
|
Anything put there will be accessible under ``https://$USERNAME.users.skynet.ie``.
|
||||||
|
For backwards compatability ``https://skynet.ie/~$USERNAME`` will redirect to ``https://$USERNAME.users.skynet.ie``.
|
||||||
|
|
||||||
|
## More info
|
||||||
|
There is a slideshow that might be of use to you: <https://public.skynet.ie/slides/skynet/1_setup.html>
|
Loading…
Reference in a new issue