Browse Source

Merge pull request #6 from gruunday/master

new slides
pull/7/head
greenday 5 years ago
committed by GitHub
parent
commit
6d02674061
2 changed files with 188 additions and 0 deletions
  1. +188
    -0
      slides/how_to_redbrick.html
  2. BIN
      slides/images/MainHome.png

+ 188
- 0
slides/how_to_redbrick.html View File

@@ -0,0 +1,188 @@
<html>
<head>
<meta charset="utf-8">
<title>How To Redbrick</title>
<link rel="stylesheet" href="../node_modules/reveal.js/css/reveal.css">
<link rel="stylesheet" href="../dist/redbrick.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../node_modules/reveal.js/lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? '../node_modules/reveal.js/css/print/pdf.css' : '../node_modules/reveal.js/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body data-bg-text="Pictures are being taken to be used on social media">
<div class="reveal">
<div class="slides">
<section data-markdown>
<script type='text/template'>
# How to Redbrick
RC Clients, Multiplexers, Web Hosting, Development
</script>
</section>
<section data-markdown>
<script type='text/template'>
## Login
How to ssh
</script>
</section>
<section data-markdown>
<script type='text/template'>
Does anyone need a redbrick login or password?
</script>
</section>

<section data-markdown>
<script type='text/template'>
## Type this in your terminal
<pre><code> ~$ ssh grace@redbrick.dcu.ie </code></pre>
- Your password won't show up for those damn screenlookers
</script>
</section>
<section data-markdown>
<script type='text/template'>
![login screen](./images/MainHome.png)
</script>
</section>
<section data-markdown>
<script type='text/template'>
## Multiplexer
Tmux
</script>
</section> <section data-markdown>
<script type='text/template'>
A terminal multiplexer is used so that you can have multiple terminals open but in the one terminal window
</script>
</section>

<section data-markdown>
<script type='text/template'>
### Tmux
- Lighter than screen (which <strike>is shit</strike> we don't use)
- Better plugins
- Scriptable
- Already setup, just type
<pre><code> ~$ tmux </code></pre>
to get it going
</script>
</section>
<section data-markdown>
<script type='text/template'>
### Auto Attach
- nano ~/.zlogin
<pre><code> tmux attach -d </code></pre>
</script>
</section>
<section data-markdown>
<script type='text/template'>
## IRC Clients
irssi or weechat
</script>
</section>
<section data-markdown>
<script type='text/template'>
### Weechat
- Command Line irc client
- Some advantages over irrsi
- Looks nicer
- Easier to install scripts
- alternatives include irssi
</script>
</section>

</section>
<section data-markdown>
<script type='text/template'>
#### Useful Commands
- /script
- **iset.pl** - nice interface for changing settings
- **buffers.py** - channel list
- **screen_away.pl** - sets away status when you detach from screen
- **cmdind.pl** -tells you is its command or message
- **grep** - lets you grep in weechat
- **pushover.pl** - notification center
- Remember to /save when you update settings
- And run /autojoin --run

</script>
</section>
<section data-markdown>
<script type='text/template'>
## Webspace
- Open up the FTP Client (Winscp and filezilla)
- Login to
- Host: sftp://redbrick.dcu.ie
- User: RedbrickUsername
- Pass: RedbrickPassword
- Port: 22
</script>
</section>
<section data-markdown>
<script type='text/template'>
- Navigate to public_html/ (it's in your home directory)
- Drag and drop your file to upload or select from the filesystem
- SSH into the Redbrick
- In your home directory (~) enter the following commands:
<pre><code> chmod 711 public_html </code></pre>
-You would have to create this file first
<pre><code> chmod 644 public_html/index.html </code></pre>
This sets permissions for the folder and file
</script>
</section>
<section data-markdown>
<script type='text/template'>
### Step One
- Create the RSA Key Pair
<pre><code> -keygen-t rsa </code></pre>
</script>
</section>
<section data-markdown>
<script type='text/template'>
### Step Two
- Store keys and passphrase
Enter file in which to save the key (/home/demo/.ssh/id_rsa):
- You can press enter here just to store in home
Enter passphrase (empty for no passphrase):
- Set a passphrase
- It's up to you whether you want to use a passphrase.
</script>
</section>
<section data-markdown>
<script type='text/template'>
### Step three
- Copy the public key
<pre><code> ssh-copy-id grace@124.45.56.78 </code></pre>
</script>
</section>
<section data-markdown>
<script type='text/template'>
## Questions?
</script>
</section>

</div>
</div>
<script src="../node_modules/reveal.js/js/reveal.js"></script>
<script src="../node_modules/reveal.js/lib/js/head.min.js"></script>
<script>
Reveal.initialize({
controls: false,
mouseWheel: true,
dependencies: [
{ src: '../node_modules/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '../node_modules/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../node_modules/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../node_modules/reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../node_modules/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '../node_modules/reveal.js/plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>

BIN
slides/images/MainHome.png View File

Before After
Width: 926  |  Height: 629  |  Size: 32 KiB

Loading…
Cancel
Save