user:mp010784:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
user:mp010784:start [2016/05/01 14:10] – mp010784 | user:mp010784:start [2016/05/12 13:18] (current) – [Installing and Setting up a Samba Server] mp010784 | ||
---|---|---|---|
Line 53: | Line 53: | ||
{{youtube> | {{youtube> | ||
+ | |||
+ | ====Summer of code 2016 plans and shared tmux sessions==== | ||
+ | After seeing this semester' | ||
+ | {{https:// | ||
+ | |||
+ | Also Tyler and my project, the manage script, located here on github: {{https:// | ||
+ | |||
+ | Tyler and I were talking about keeping our coding chops sharp this summer by working together on something over the summer. | ||
+ | <cli> | ||
+ | $ telnet spoonbomb.com | ||
+ | </ | ||
+ | into my server but Im not sure if I have new user registration set up right and I don;t even know imost of the configuration settings so I;m going to have to look into it. | ||
+ | |||
+ | Another thing Tyler and I want to do over the summer is assuming that I get the prize money for winnign teh Sustainability Fair thing, then I know we both were gonna pick up some Raspberry Pi's adn Tyler mentioned an interest in learning some Python programming to go with it, I have some exposure to python from before I came back to CCC but I'm pretty stale with it so we both might venture down that path too over the summer. | ||
+ | |||
+ | So Tyler and I made a repository to work on our summer coding at {{https:// | ||
+ | |||
+ | I also successfully got us to share a regular tmux session which I had attempted to do earlier in the semester unsuccessfully but I think it was because I made the socket in my own personal home directory as in this case I put it someplace neutral like /tmp folder. | ||
+ | |||
+ | So to do this I created a new tmux session with in /tmp called par with:\\ | ||
+ | <cli> | ||
+ | tmux -S /tmp/pair | ||
+ | </ | ||
+ | |||
+ | Which immediately puts me in the newly created tmux session which I have to extend the persmissions on for Tyler and I to share the session, so I run:\\ | ||
+ | <cli> | ||
+ | sudo chmod 777 /tmp/pair | ||
+ | </ | ||
+ | |||
+ | Tyler also has to have a valid account on the machien which I made one called nullist as he wanted on my webserver for him. I also have the tendency to use a couple lines on my / | ||
+ | <cli> | ||
+ | PermitRootLogin no | ||
+ | AllowUsers robgraves | ||
+ | </ | ||
+ | so I had to add Tyler to the whitelisted users like:\\ | ||
+ | <cli> | ||
+ | PermitRootLogin no | ||
+ | AllowUsers robgraves nullist | ||
+ | </ | ||
+ | Then I had to restart the ssh daemon, which depending on which machine I did it on was either:\\ | ||
+ | <cli> | ||
+ | sudo service ssh restart | ||
+ | </ | ||
+ | Or:\\ | ||
+ | <cli> | ||
+ | sudo /etc/init.d ssh restart | ||
+ | </ | ||
+ | Then Tyler can now login remotely over ssh by using the command, being that I'm using a much higher port number than ssh's default 22 you have to specify it as such like:\\ | ||
+ | <cli> | ||
+ | ssh nullist@www.spoonbomb.com -p PORTNUMBER | ||
+ | </ | ||
+ | The general form for ssh' | ||
+ | <cli> | ||
+ | ssh USERNAME@HOSTNAMEorIPADDRESS -p PORTNUMBER | ||
+ | </ | ||
+ | After that Tyler was securely logged into my machine, all he needed to do then was attach to the previously created tmux socket that was put in a neutral location and opened up permissions with:\\ | ||
+ | <cli> | ||
+ | tmux -S /tmp/pair attach | ||
+ | </ | ||
+ | Now we both had control over the same terminal and we coudl also chat over the terminal as is refelected by my bash history...probably not the best way to communicate, | ||
==== Playing around with GDB==== | ==== Playing around with GDB==== |
user/mp010784/start.1462126234.txt.gz · Last modified: 2016/05/01 14:10 by mp010784