IRC log of #novawebdev for Wednesday, 2017-09-06

*** jelkner has joined #novawebdev07:31
*** mjsir911 has joined #novawebdev08:02
*** mjsir911 has joined #novawebdev08:19
*** mr_german has joined #novawebdev10:56
mr_germangood morning jelkner 10:56
*** replaceafill has joined #novawebdev10:58
mr_germangood day replaceafill 10:59
mr_germanI was waiting for you ;-)10:59
replaceafillhey mr_german11:00
replaceafillmr_german, how is it going?11:00
mr_german45.79.152.16611:00
mr_germanI just need to learn a little bit more about modules11:00
replaceafillmr_german, you don't need modules for this11:01
replaceafillmr_german, you'll need them for the php test11:01
mr_germanreplaceafill, i know11:01
mr_germanjust saying for the future11:01
mr_german:-)11:01
replaceafillmr_german, have you documented how to update this?11:01
mr_germannot yet11:01
replaceafillmr_german, ok11:02
replaceafillmr_german, do that and then ping me when you're ready to change the dns11:02
mr_germank11:02
mr_germanjust give me 15 mins replaceafill 11:03
mr_germanbrb11:03
mr_germanACTION is back11:12
mr_germanreplaceafill, I'm back, I'll start working on the doc11:13
replaceafillmr_german, kk11:14
replaceafillwho's this "eternal optimist" that Kevin speaks of...11:34
mr_germanreplaceafill, done11:34
mr_germanreplaceafill, could you check it? 11:34
mr_germanhttps://docs.google.com/document/d/1G1db7QxM0AICuhCYaWUUHFwYn5P4ECTbY8PFq5RXkfk/edit11:34
replaceafillmr_german, can you create a sudo user for jelkner11:36
replaceafilland make sure he has writing permissions on the directory that apache is serving11:36
replaceafillthat means he can do "git pull" there11:37
mr_germanreplaceafill, got it11:37
replaceafillthanks11:37
mr_germanreplaceafill, let me do that11:37
mr_germanreplaceafill, can you send me a password por jelkner's user11:41
replaceafillmr_german, wrote at the bottom of the doc11:42
mr_germanreplaceafill, thx11:43
mr_germanreplaceafill, user created11:44
replaceafillmr_german, write in the doc where's the apache conf for the site11:45
mr_germank11:45
replaceafillmr_german, what's the _config.yml file used for in that repository?11:47
mr_germanreplaceafill, not idea11:47
replaceafillmr_german, you made the commit that added it...11:48
mr_germanreplaceafill, oh, but, I don't sure what is it..11:48
replaceafill"i'm not sure"11:48
mr_germanthx11:49
replaceafillverb to be, remember...11:49
replaceafillmr_german, that's fine11:49
replaceafillmr_german, i was just curious11:49
replaceafillmr_german, doesn't seem to be related to github pages11:49
mr_germanreplaceafill, it says "theme: jekyll-theme-slate"11:49
mr_germanshould I remove it?11:50
replaceafillmr_german, no11:50
mr_germank11:50
replaceafillmr_german, add an apache restart after the "sudo git pull"11:51
mr_germank11:51
replaceafillmr_german, can you create a sudo account for me too in that vps?12:04
replaceafillmr_german, i'd like to try something to handle configurations12:04
mr_germanreplaceafill, sure12:04
mr_germanreplaceafill, just give me the pass12:04
replaceafillmr_german, so we don't step on each other toes12:04
replaceafillmr_german, use the same password i set initially for your linode account12:05
replaceafillmr_german, what jelkner taught us :)12:05
mr_germank12:05
mr_germanreplaceafill, ok try to log in12:06
mr_germanbtw. this is your username: replaceafill12:07
replaceafillmr_german, nope12:07
replaceafillmr_german, doesn't work12:07
replaceafillmr_german, works12:09
replaceafillmr_german, thanks12:09
mr_germanreplaceafill, k12:10
replaceafillmr_german, i think nea4or.com-static.conf is a better name for the file12:11
replaceafillmr_german, oh and the domain is not .com12:11
replaceafillmr_german, it's .us12:11
mr_germanreplaceafill, done12:13
replaceafillmr_german, the name of the apache logs should follow the same name convention12:14
replaceafillmr_german, see the ErrorLog/CustomLog directives12:14
replaceafillerror-nea4or.us-static.log12:15
replaceafillaccess-nea4or...12:15
mr_germanwhere can I find the logs12:15
mr_german..12:15
replaceafillin the conf file12:16
replaceafilllook for those ^ directives12:16
replaceafillyou can also get rid of the default comments12:16
replaceafilland set ServerName to nea4or.us12:18
mr_germani'm confused12:18
mr_germanlol12:18
replaceafillok, let me do it12:19
replaceafillhold on12:19
mr_germank12:20
replaceafillmr_german, check the conf file now12:23
replaceafillmr_german, makes sense?12:24
mr_germanOh12:25
mr_germanthat's new to me replaceafill 12:25
replaceafillmr_german, i *think* you can get the conf file name from the environment12:25
replaceafillmr_german, that's the idea ;)12:25
replaceafillmr_german, but this works and you get to see some variable definition/substitution12:25
replaceafillmr_german, ok, now go to namecheap and change the dns12:26
replaceafillmr_german, remove the bluehost redirect12:26
mr_germanreplaceafill, ok, im in bluehost right now12:31
replaceafillmr_german, no!12:31
mr_germanand then?12:31
replaceafilli said namecheap12:31
mr_germanoh12:31
mr_germanwait12:31
mr_germanok12:31
mr_germanand then?12:31
replaceafilldon't touch bluehost at all12:31
replaceafilli'll need that configuration later12:31
mr_germanI didn't touch anything12:32
replaceafillon namecheap12:32
replaceafillremember we had this redirect to bluehost12:32
mr_germanyes12:32
mr_germanns1 and ns212:32
replaceafillchange that to use namecheap dns12:32
mr_germannamecheap basic DNS?12:32
replaceafillyep12:32
mr_germandone12:33
replaceafillthen you'll need to add records12:33
replaceafillit's under the advanced options iirc12:33
mr_german"add new record"12:34
mr_germanand then?12:35
replaceafillset a new A type record12:35
replaceafillwith host "@"12:35
replaceafilland the linode vps ip12:35
mr_germanTTL?12:35
replaceafill@ means all the domain12:35
mr_german5 mins or 112:36
mr_german?12:36
replaceafillwhat are the options?12:36
replaceafill1 hour usually is the default12:36
mr_germank12:36
replaceafillwhat's the default?12:36
mr_germandone12:36
mr_german"Automatic"12:36
replaceafillthat works12:36
mr_germank12:36
mr_germanreplaceafill, now we have to wait?12:40
replaceafillmr_german, yep12:40
replaceafillmr_german, last time it took around half an hour12:40
replaceafillmr_german, it's alive12:50
mr_germank12:52
*** zOnny has joined #novawebdev12:59
replaceafillmr_german, you around?13:06
mr_germanyes 13:06
replaceafillmr_german, i've done something dumb13:07
replaceafillmr_german, https://gitlab.com/novawebdevelopment/webapps-linode13:07
replaceafillmr_german, i'd like to try that13:07
replaceafillmr_german, it's basically a way to version control "interesting" files in that server13:08
replaceafillmr_german, this is dangerous as hell, but useful :)13:08
mr_germanthis a private repository? replaceafill 13:09
replaceafillmr_german, yep13:10
mr_germanoh k13:10
mr_germanreplaceafill, i'll do the same thing with the php version :-D13:15
replaceafillmr_german, cool, but do it locally on your computer first, ok?13:16
mr_germank13:16
replaceafillmr_german, remember, this is a production vps now13:16
replaceafillmr_german, no playing around there13:16
replaceafillmr_german, contact jelkner and let him know that you finished transfering the site13:16
mr_germanreplaceafill, I'll send him an email13:17
replaceafillmr_german, cool13:17
replaceafillmr_german, see https://gitlab.com/novawebdevelopment/webapps-linode/commits/master13:28
replaceafillmr_german, you'll see i first added the ssh service configuration13:28
replaceafillmr_german, and then made a change to it to avoid dropping connections13:29
mr_germanreplaceafill, that's good13:29
replaceafillmr_german, now we have two files in that server being tracked13:29
replaceafillmr_german, so we know what configuration changes we have made13:29
mr_germanthis will be very useful13:30
replaceafillmr_german, remember, any configuration change you make to that server needs to land in this repository13:31
replaceafillmr_german, *any*13:31
mr_germanreplaceafill, got it13:31
replaceafillmr_german, cool :)13:31
replaceafilljelkner, are you around?13:35
mr_germanreplaceafill, email sent it13:45
mr_germanI cc'ed u13:46
replaceafillmr_german, thanks13:46
mr_germanACTION goes to lunch13:46
mr_germanACTION is back14:46
*** mr_german has joined #novawebdev19:25

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!