Vous êtes sur la page 1sur 4

Catalin Muraru (10/8/2010 12:21:53 AM): Salut!

Catalin Muraru (10/8/2010 9:23:14 AM): Salut!


Florin Asavoaie (10/8/2010 6:15:01 PM): salut
Florin Asavoaie (10/8/2010 6:24:55 PM): Add2Net Inc. (departamentul Lunarpages)
angajeaza developeri PHP/MySQL, Ruby constituie un avantaj enorm. PM pentru deta
llii.
Catalin Muraru (10/8/2010 7:56:40 PM): dslut!
Catalin Muraru (10/8/2010 7:56:43 PM): salut*
Catalin Muraru (10/8/2010 7:56:59 PM): uite acuma am reusit sa ajung pe la calcu
lator
Catalin Muraru (10/8/2010 7:57:41 PM): mia zis marian ceva de un job acolo la vo
i
Florin Asavoaie (10/8/2010 7:58:41 PM): da
Catalin Muraru (10/8/2010 7:58:49 PM): detalii?
Catalin Muraru (10/8/2010 7:59:01 PM): daca ai treaba vorbim mai tarziu
Catalin Muraru (10/8/2010 7:59:03 PM): nu e problema
Florin Asavoaie (10/8/2010 7:59:18 PM): pot acum
Catalin Muraru (10/8/2010 7:59:19 PM): ca pana la ora 4 5 sunt treaz
Florin Asavoaie (10/8/2010 7:59:20 PM): chiar vreau acum
Catalin Muraru (10/8/2010 7:59:22 PM): asa
Florin Asavoaie (10/8/2010 7:59:48 PM): putem vorbi un pic in engleza, un interv
iu (trb sa trimit conversatia la sefa la urma)
Catalin Muraru (10/8/2010 8:00:42 PM): sure
Catalin Muraru (10/8/2010 8:00:44 PM):
Florin Asavoaie (10/8/2010 8:01:49 PM): first of all, could you tell me what exp
erience do you have with Linux (what distros and on what purpose did you use eac
h) ?
Catalin Muraru (10/8/2010 8:03:05 PM): I worked at a little design company
Catalin Muraru (10/8/2010 8:03:54 PM): I take care of hosting server
Catalin Muraru (10/8/2010 8:04:21 PM): I know about perl, bash, php
Catalin Muraru (10/8/2010 8:04:37 PM): few things about scripting
Catalin Muraru (10/8/2010 8:05:03 PM): installing applications
Florin Asavoaie (10/8/2010 8:05:12 PM): well, back to the question, what linux d
istributions did you use ?
Catalin Muraru (10/8/2010 8:05:32 PM): centos
Catalin Muraru (10/8/2010 8:05:40 PM): at my home I have ubuntu
Catalin Muraru (10/8/2010 8:05:55 PM): virtual machine
Catalin Muraru (10/8/2010 8:05:57 PM):
Florin Asavoaie (10/8/2010 8:06:43 PM): I understand, do you have any experience
with cPanel servers (not from a customer point of view, I mean as an administra
tor) ?
Catalin Muraru (10/8/2010 8:07:20 PM): There was an reseller account
Catalin Muraru (10/8/2010 8:07:49 PM): I don`t know if I was with all rights in
my hand
Florin Asavoaie (10/8/2010 8:07:56 PM): I understand, so you aren't familiar wit
h cPanel backend
Florin Asavoaie (10/8/2010 8:08:12 PM): like the administrative scripts etc
Catalin Muraru (10/8/2010 8:08:21 PM): As a Administrator no
Florin Asavoaie (10/8/2010 8:08:26 PM): ok
Catalin Muraru (10/8/2010 8:08:53 PM): But I can learn this if I need
Florin Asavoaie (10/8/2010 8:09:45 PM): what about the bash shell, are you famil
iar with most of the shell utilities? like top, ps, netstat, vmstat etc ?
Catalin Muraru (10/8/2010 8:09:46 PM): I memorize very fast
Catalin Muraru (10/8/2010 8:10:21 PM): not all of them
Catalin Muraru (10/8/2010 8:10:37 PM): 70% I think I know
Catalin Muraru (10/8/2010 8:10:53 PM): netstat with grep..etc
Catalin Muraru (10/8/2010 8:11:09 PM): awk
Florin Asavoaie (10/8/2010 8:11:22 PM): ok
Catalin Muraru (10/8/2010 8:11:22 PM): I know a lot of them
Catalin Muraru (10/8/2010 8:11:25 PM): but not all
Florin Asavoaie (10/8/2010 8:11:37 PM): what about the apache web server ? how f
amiliar are you with it ?
Catalin Muraru (10/8/2010 8:12:08 PM): I know about it
Catalin Muraru (10/8/2010 8:12:56 PM): I have installed on my machine...and wher
e installed on that centos machine
Catalin Muraru (10/8/2010 8:14:03 PM): httpd config, logs
Catalin Muraru (10/8/2010 8:14:17 PM): I know about this
Florin Asavoaie (10/8/2010 8:14:37 PM): I see
Florin Asavoaie (10/8/2010 8:14:44 PM): are you familiar with mod_rewrite for ex
ample
Catalin Muraru (10/8/2010 8:16:58 PM): I hear about this
Catalin Muraru (10/8/2010 8:17:10 PM): but I didn`t use this option
Florin Asavoaie (10/8/2010 8:17:23 PM): I understand
Florin Asavoaie (10/8/2010 8:17:32 PM): did you use Plesk ?
Catalin Muraru (10/8/2010 8:18:15 PM): only as a user
Catalin Muraru (10/8/2010 8:18:21 PM): not Admin
Catalin Muraru (10/8/2010 8:18:59 PM): If I need it I can learn it in few days
Florin Asavoaie (10/8/2010 8:20:31 PM): ok, I will need to ask you a set of ques
tions, you can answer them by searching google or any other resources you want
Catalin Muraru (10/8/2010 8:20:39 PM): ok
Florin Asavoaie (10/8/2010 8:21:57 PM): 1. How would you kill all the running pr
ocesses of a specific user in Linux ?
Catalin Muraru (10/8/2010 8:24:26 PM): killall -9 name
Catalin Muraru (10/8/2010 8:24:53 PM): user from the server or a application?
Florin Asavoaie (10/8/2010 8:25:46 PM): server, of course
Catalin Muraru (10/8/2010 8:26:00 PM): kill -9 `ps -u user
Catalin Muraru (10/8/2010 8:26:15 PM): kill -9 `ps -u user "pid="`
Florin Asavoaie (10/8/2010 8:27:26 PM): it would be -o"pid="
Florin Asavoaie (10/8/2010 8:27:29 PM): ok
Florin Asavoaie (10/8/2010 8:27:51 PM): 2. How would you recompile Apache and PH
P on a cPanel server to add/remove components?
Catalin Muraru (10/8/2010 8:29:30 PM): on cPanel with /scripts/easyapache
Florin Asavoaie (10/8/2010 8:29:56 PM): perfect
Florin Asavoaie (10/8/2010 8:30:22 PM): 3. How do you generate a CSR and install
a 3rd Party Signed SSL certificate in WHM ?
Catalin Muraru (10/8/2010 8:32:08 PM): for the first we need to go to SSL/TLS Ma
nager from cPanel
Catalin Muraru (10/8/2010 8:32:26 PM): Generate Private Keys, Certificate Signin
g Requests and Certificates (CRT)
Catalin Muraru (10/8/2010 8:32:51 PM): and then, activate SSL on site
Catalin Muraru (10/8/2010 8:33:56 PM): let me think again
Florin Asavoaie (10/8/2010 8:34:05 PM): ok
Catalin Muraru (10/8/2010 8:48:59 PM): we generate the signup Request from the W
HM -> Generate a SSL Certificate and Signing Request and with this one, we get t
he certificate from the "3`rd party". when it`s arrive we have to install it fro
m the WHM " Install a SSL Certificate and Setup the Domain"
Florin Asavoaie (10/8/2010 8:49:38 PM): perfect
Florin Asavoaie (10/8/2010 8:50:54 PM): 4. Where are the apache logs stored in a
cPanel environment ?
Catalin Muraru (10/8/2010 8:51:29 PM): /usr/local/apache/logs
Florin Asavoaie (10/8/2010 8:51:45 PM): what about domains' access logs ?
Catalin Muraru (10/8/2010 8:52:11 PM): domlogs
Catalin Muraru (10/8/2010 8:52:17 PM): /usr/local/apache/domlogs/
Florin Asavoaie (10/8/2010 8:52:21 PM): good
Florin Asavoaie (10/8/2010 8:52:47 PM): 5. Where are the access logs stored in a
Plesk environment ?
Catalin Muraru (10/8/2010 8:55:25 PM): /var/www/vhosts/DOMAINNAME/statistics/log
s/
Florin Asavoaie (10/8/2010 8:55:37 PM): awesome
Florin Asavoaie (10/8/2010 8:56:56 PM): 6. A customer is complaining that, when
accessing a specific folder by FTP, the list of files doesn't include all the fi
les and folders from that location, but only a number of them. What would you do
in this case? Consider pure-ftpd as the FTP daemon.
Catalin Muraru (10/8/2010 8:58:50 PM): check the limit from pure-ftpd.conf
Catalin Muraru (10/8/2010 8:59:17 PM): called recursion limit
Florin Asavoaie (10/8/2010 8:59:50 PM): good
Catalin Muraru (10/8/2010 8:59:51 PM): but it can be also something related to a
limit in his ftp client software
Florin Asavoaie (10/8/2010 9:00:00 PM): right
Florin Asavoaie (10/8/2010 9:01:32 PM): 7. Apache is not starting on a server, g
iving the following error: file size limit exceeded. What happened ?
Catalin Muraru (10/8/2010 9:02:39 PM): the error_log > 2 GB
Florin Asavoaie (10/8/2010 9:02:52 PM): or another log file, good
Catalin Muraru (10/8/2010 9:02:59 PM): yes.
Catalin Muraru (10/8/2010 9:03:12 PM): logs ar too big
Florin Asavoaie (10/8/2010 9:03:26 PM): 8. What does the "nice" value of a proce
ss represent in Linux and how can you change it from top ?
Catalin Muraru (10/8/2010 9:05:21 PM): nice = priority
Catalin Muraru (10/8/2010 9:05:27 PM): open top
Catalin Muraru (10/8/2010 9:05:32 PM): type r
Catalin Muraru (10/8/2010 9:05:39 PM): enter pid
Catalin Muraru (10/8/2010 9:05:47 PM): pid
Catalin Muraru (10/8/2010 9:06:07 PM): and pid of the proces you want to re-nice
Florin Asavoaie (10/8/2010 9:07:10 PM): ok
Florin Asavoaie (10/8/2010 9:08:06 PM): 9. How would you see what IPs are connec
ting to a server and display the number of connections they each have ?
Catalin Muraru (10/8/2010 9:09:46 PM): are connecting or are already connected?
Florin Asavoaie (10/8/2010 9:10:13 PM): both
Catalin Muraru (10/8/2010 9:10:17 PM): ok
Catalin Muraru (10/8/2010 9:14:25 PM): something like this: netstat -atun | awk
'{print $5}' | cut -d: -f1 | sed -e '/^$/d' |sort | uniq -c | sort -n
Florin Asavoaie (10/8/2010 9:16:13 PM): good, could you explain/detail those pip
ed commands ?
Catalin Muraru (10/8/2010 9:18:17 PM): awk '{print $5} print the 5th column from
the table
Catalin Muraru (10/8/2010 9:20:15 PM): cut -d : f1 delimit from tha ":" char
Catalin Muraru (10/8/2010 9:20:31 PM): cut -d : f1 delimit from the char ":"
Catalin Muraru (10/8/2010 9:22:40 PM): sed -e '/^$/d' replace the blanks
Catalin Muraru (10/8/2010 9:23:22 PM): sort - sort the lines of the table
Catalin Muraru (10/8/2010 9:24:01 PM): uniq remove duplacated lines from the tab
le
Florin Asavoaie (10/8/2010 9:25:05 PM): awesome
Catalin Muraru (10/8/2010 9:25:15 PM): netstat print the network connections, ro
uting tables
Florin Asavoaie (10/8/2010 9:30:30 PM): Catalin, may I know why you aren't still
working for your previous company ?
Catalin Muraru (10/8/2010 9:31:30 PM): financial crisis hit it verry bad
Catalin Muraru (10/8/2010 9:31:46 PM): is down
Florin Asavoaie (10/8/2010 9:31:51 PM): I understand
Florin Asavoaie (10/8/2010 9:31:53 PM): ok
Catalin Muraru (10/8/2010 9:32:13 PM): there was a group of sites
Florin Asavoaie (10/8/2010 9:32:25 PM): I will forward this interview to our IT
manager and will email you if/when we will offering you a position
Catalin Muraru (10/8/2010 9:32:37 PM): Ok
Catalin Muraru (10/8/2010 9:33:12 PM): something like www.anuntuldeiasi.ro
Catalin Muraru (10/8/2010 9:33:37 PM): was on every county from ro
Florin Asavoaie (10/8/2010 9:34:12 PM): ok
Catalin Muraru (10/8/2010 9:34:20 PM): this is all?
Florin Asavoaie (10/8/2010 9:34:23 PM): da
Florin Asavoaie (10/8/2010 9:34:23 PM):
Catalin Muraru (10/8/2010 9:34:25 PM): bun
Catalin Muraru (10/8/2010 9:34:33 PM): sincer...eram pregatit sa ma duc sa fac b
aie
Catalin Muraru (10/8/2010 9:34:39 PM): am ramas cu prosopul pe umar
Florin Asavoaie (10/8/2010 9:34:43 PM): ah
Florin Asavoaie (10/8/2010 9:34:44 PM): scuze
Florin Asavoaie (10/8/2010 9:34:44 PM):
Catalin Muraru (10/8/2010 9:34:47 PM): nu-i nimic
Catalin Muraru (10/8/2010 9:34:49 PM):
Catalin Muraru (10/8/2010 9:35:05 PM): am fugit
Catalin Muraru (10/8/2010 9:35:12 PM): daca e ceva dai un semn
Catalin Muraru (10/8/2010 9:35:22 PM): pana la 4 5 sunt acasa
Florin Asavoaie (10/8/2010 9:35:52 PM): sigur, eu am trimis deja totul lui Lee
Florin Asavoaie (10/8/2010 9:36:00 PM): care este managera noastra de departamen
t
Florin Asavoaie (10/8/2010 9:36:09 PM): si daca ii place ce ai scris acolo
Florin Asavoaie (10/8/2010 9:36:13 PM): o sa iti spun
Catalin Muraru (10/8/2010 9:36:20 PM): okBookmark