Hasta el momento este es el History Funcionar... luego con tiempo creo un How To.
history
1 ifconfig
2 cd /etc/network/
3 ls
4 vim interfaces
5 apt-get install vim
6 ls
7 vim /etc/resolv.conf
8 vim interfaces
9 /etc/init.d/networking restart
10 ifconfig
11 /etc/init.d/networking restart
12 vim interfaces
13 /etc/init.d/networking restart14 ifconfig
15 ifconfig eth1 up
16 ifconfig eth0 up
17 ifconfig
18 /etc/init.d/networking restart
19 ifconfig
20 /etc/init.d/networking restart
21 ifconfig
22 ifconfig
23 ls
24 vim if-up.d/upstart
25 ls
26 ls -l
27 ls if-down.d/upstart
28 ls
29 vim interfaces
30 /etc/init.d/networking restart
31 ifconfig
32 ifconfig
33 ifconfig
34 ifconfig
35 ifconfig
36 ifconfig
37 ifconfig
38 ifconfig
39 ifconfig
40 ifconfig
41 ifconfig
42 /etc/init.d/networking restart
43 ifconfig
44 ls
45 vim interfaces
46 reboot
47 ifconfig
48 ifconfig
49 ping google.com
50 dig -x 10.0.0.21
51 dig 10.0.0.21
52 nslookup
53 dig tecno-07.ind.local
54 dig -x 10.0.0.50
55 dig tecno-07.ind.local
56 dig dsever.ind.local
57 dig dcserver01.ind.local
58 dig 10.0.0.50
59 dig 10.0.0.21
60 nslooku
61 nslookup
62 vim /etc/resolv.conf .
63 vim /etc/resolv.conf .
64 vim /etc/resolv.conf
65 dig -t any _ldap._tcp.dc._dcserver01.ind.local
66 dig -t any _kerberos._tcp.dc._dcserver01.ind.local
67 dig -t any _ldap._tcp.dc._dcserver01.ind.local
68 apt-cache seach ntp
69 apt-cache search ntp
70 apt-cache search ntpdate
71 apt-get install ntpdate
72 ntpdate dcserver01.ind.local
73 apt-get install ntp
74 vim /etc/ntp.conf
75 /etc/init.d/ntp restart
76 ntpq .-p
77 ntpq -p
78 date
79 /etc/init.d/ntp restart
80 date
81 ntpq -p
82 date
83 vim /etc/ntp.conf
84 /etc/init.d/ntp restart
85 date
86 ntpq -p
87 /etc/init.d/ntp stop
88 ntpdate dcserver01.ind.local
89 vim /etc/timezone
90 ntpdate dcserver01.ind.local
91 vim /etc/timezone
92 date
93 man date
94 man date
95 date --date='TZ="America/SantoDomingo"
96 date --date='TZ="America/SantoDomingo"'
97 date
98 dpkg-reconfigure tzdata
99 date
100 date
101 ntpdate dcserver01.ind.local
102 date
103 /etc/init.d/ntp restart
104 date
105 ntpq -p
106 date
107 apt-get install krb5-doc krb5-config krb5-user libkrb53 libkadm55
108 apt-get install krb5-doc krb5-config krb5-user
109 apt-get install libkrb53 libkadm55
110 apt-cache search libkrb # libkadm55
111 apt-get install libkrb5-3 #libkadm55
112 apt-get install libkadm55
113 apt-get install libkadm5-5
114 apt-cache search libkadm
115 apt-get install libkadm5clnt7
116 apt-get install libkadm5clnt7-heimdal
117 vim /etc/krb5.conf
118 kinit -V areynoso@ind.local
119 klist
120 kinit -V areynoso@ind.local
121 kinit -V a@ind.local
122 kinit -V areynoso@IND.LOCAL
123 klist
124 kinit -V maracena@IND.LOCAL
125 klist
126 apt-get install samba smbclient winbind
127 /etc/init.d/winbind stop
128 /etc/init.d/samba stop
129 rm -rf /var/cache/samba/*.{tdb,bdb}
130 ls /var/cache/samba/
131 vim /etc/samba/smb.conf
132 cp /etc/samba/smb.conf /etc/samba/smb.conf_OLD
133 vim /etc/samba/smb.conf
134 vim /etc/samba/smb.conf
135 net ads join -U areynoso@IND.LOCAL
136 dig -x 10.0.0.21
137 dig -x 10.0.0.24
138 /etc/init.d/samba start
139 /etc/init.d/winbind start
140 net ads info
141 net ads lookup
142 wbinfo -t
143 wbinfo -u
144 wbinfo -g
145 /usr/lib/squid3/wbinfo_group.pl
146 apt-get build-dep squid3
147 mkdir /usr/src/squid
148 cd /usr/src/squid
149 apt-get source squid3
150 cd squid-3.0.STABLE1
151 ls
152 cd squid3-3.1.20/
153 ls
154 vim debian/rules
155 dpkg-buildpackage -b -uc
156 ls -l /usr/src/squid/
157 cd ..
158 ls
159 ls
160 dpkg -i squid*.deb
161 dpkg --list
162 dpkg --list
163 grep -i squid
164 dpkg --list|grep -i squid
165 dpkg -r squid-cgi
166 dpkg -r squid3
167 dpkg -r squid3-common
168 dpkg -r squid3-dbg
169 dpkg -r squidclient
170 history
171 dpkg --list|grep -i squid
172 dpkg -r squid-cg
173 dpkg --purge squid-cgi
174 dpkg --purge squid3
175 dpkg --purge squid3-common
176 dpkg --purge squid3-dbg
177 dpkg --purge squidclient
178 dpkg --list|grep -i squid
179 apt-get install squid3
180 cd ..
181 rm squid/ -rf
182 ls
183 cd
184 squid3 -v
185 squid3 -v
186 squid3 -v|grep -i arp
187 grep proxy /etc/{passwd,group}
188 ls -l /etc/squid3/squid.conf
189 ls -ld /var/spool/squid3
190 cp /etc/squid3/squid.conf{,.defaults}
191 cd /etc/squid3/
192 ls
193 vim squid.conf
194 vim squid.conf
195 ls
196 ls -l
197 echo " " > squid.conf
198 vim squid.conf
199 ls
200 rm squid.conf -rf
201 cp /root/squid/squid.conf
202 cp /root/squid/squid.conf .
203 ls
204 cd /root/squid/
205 ls
206 mkdir acl
207 ls
208 ls
209 mv * acl/
210 cd acl/
211 ls
212 rm squid.conf* -rf
213 ls
214 ls -a
215 ls
216 mkdir sitios
217 mv sitios* sitios
218 ls
219 mv todoslositios sitios/
220 ls
221 mkdir listas
222 mv lista* lista
223 ls
224 ls
225 ls lista
226 ls lista
227 ls lista
228 ls
229 ls
230 cd ..
231 ls
232 cd ..
233 rm squid/ -rf
234 cd squid/
235 ls
236 rm squid.conf* -rf
237 ls
238 ls
239 mkdir acl
240 mv * acl/
241 ls
242 cp -r acl/ /etc/squid3/
243 cd /etc/squid3/
244 ls
245 vim squid.conf
246 rm squid.conf -rf
247 cp -rp /root/squid/squid.conf2
248 cp -rp /root/squid/squid.conf2 .
249 mv squid.conf2 squid.conf
250 vim squid.conf
251 ls
252 ls -lh
253 /etc/init.d/squid3 restart
254 free -m
255 poweroff
256 /etc/init.d/squid3 restart
257 cd /etc/squid3/
258 vim squid.conf
259 /etc/init.d/squid3 restart
260 vim squid.conf
261 /etc/init.d/squid3 restart
262 /etc/init.d/squid3 restart
263 /etc/init.d/squid3 status
264 /etc/init.d/squid3 restart
265 /etc/init.d/squid3 restart
266 /etc/init.d/squid3 status
267 /etc/init.d/squid3 status
268 /etc/init.d/squid3 restart
269 /etc/init.d/squid3 restart
270 /etc/init.d/squid3 status
271 /etc/init.d/squid3 restart
272 /etc/init.d/squid3 restart
273 /etc/init.d/squid3 restart
274 /etc/init.d/squid3 status
275 /etc/init.d/squid3 restart
276 /etc/init.d/squid3 status
277 /etc/init.d/squid3 restart
278 /etc/init.d/squid3 restart
279 /etc/init.d/squid3 status
280 /etc/init.d/squid3 restart
281 /etc/init.d/squid3 restart
282 tail -F /var/log/squid3/access.log
283 /etc/init.d/squid3 stop
284 /etc/init.d/squid3 start
285 nmap localhost
286 /etc/init.d/squid3 restart
287 ifconfig
288 nmap localhost
289 /etc/init.d/squid3 status
290 nmap localhost
291 /etc/init.d/squid3 status
292 /etc/init.d/squid3 restart
293 nmap localhost
294 /etc/init.d/squid3 status
295 /etc/init.d/squid3 restart
296 .
297 nmap localhost
298 ls
299 nmap localhost
300 tail -F /var/log/squid3/access.log
301 /etc/init.d/squid3 stop
302 /etc/init.d/squid3 restart
303 nmap localhost
304 /etc/init.d/squid3 restart
305 /etc/init.d/squid3 restart
306 /etc/init.d/squid3 restart
307 /etc/init.d/squid3 restart
308 /etc/init.d/winbind restart
309 /etc/init.d/samba restart
310 /etc/init.d/squid3 restart
311 wbinfo -g
312 wbinfo -g
313 /etc/init.d/squid3 restart
314 /etc/init.d/squid3 restart
315 /etc/init.d/squid3 restart
316 wbinfo -g
317 /etc/init.d/squid3 restart
318 /usr/lib/squid3/wbinfo_group.pl
319 /etc/init.d/squid3 restart
320 68
321 /etc/init.d/squid3 restart
322 nmap localhost
323 /etc/init.d/squid3 restart
324 nmap localhost
325 tail -F /var/log/squid3/access.log
326 /etc/init.d/squid3 restart
327 tail -F /var/log/squid3/access.log
328 wbinfo -g
329 /usr/lib/squid3/wbinfo_group.pl
330 /etc/init.d/squid3 restart
331 usermod -a -G winbindd_priv proxy
332 /etc/init.d/squid3 restart
333 ps aux | grep squid
334 /etc/init.d/squid3 reload
335 ps aux | grep squid
336 /etc/init.d/squid3 restart
337 ps aux | grep squid
338 /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
339 /etc/init.d/squid3 restart
340 /etc/init.d/squid3 restart
341 /etc/init.d/squid3 restart
342 /etc/init.d/squid3 restart
343 /etc/init.d/squid3 restart
344 /etc/init.d/squid3 restart
345 /etc/init.d/squid3 restart
346 /etc/init.d/squid3 restart
347 /etc/init.d/squid3 restart
348 ls
349 cd
350 ls
351 cd squid/
352 ls
353 vim squid.conf
354 ls
355 cd
356 cd /etc/squid3/
357 ls
358 vim squid.conf
359 /etc/init.d/squid3 restart
360 /etc/init.d/winbind restart
361 /etc/init.d/samba restart
362 wbinfo -g
363 /etc/init.d/samba restart
364 wbinfo -g
365 /etc/init.d/squid3 restart
366 \
367 /etc/init.d/squid3 restart
368 /etc/init.d/squid3 restart
369 /etc/init.d/squid3 restart
370 cd /root/squid/
371 ls
372 cd /etc/squid3/
373 cd acl/
374 ls
375 vim sitiosgruposocial
376 mv sitiosgruposocialsinyoutube sitiossociales
377 cat sitiossociales
378 cat sitiossociales
379 vim sitiossociales
380 vim ls
381 ls
382 ls |grep -i youtu
383 ls
384 ls /root/squid/
385 cat /root/squid/sitiosgruposocialsinyoutube youtube
386 cat /root/squid/sitiosgruposocialsinyoutube> youtube
387 vim youtube
388 cat /root/squid/sitiosgruposocial > youtube
389 vim youtube
390 vim youtube
391 ls
392 ls -l
393 ls
394 ls
395 mv sitiosnormal sitiospermitidos
396 ls
397 cat listaextpermsocial
398 cat listaextperm
399 /etc/init.d/squid3 restart
400 mv listaextnoperm extnoperm
401 mv listaextperm extperm
402 rm listaextperm* -rf
403 ls
404 cat grupofullmac
405 ls
406 rm grupofullmac -rf
407 ls
408 rm grupo* -rf
409 ls
410 ls
411 cat rangoipbloqueada
412 rm -r rangoipbloqueada
413 ls
414 rm extpermgruposocialsinyoutube -rf
415 ls
416 cat sitiosgruposocialtwitter
417 rm sitiosgruposocialtwitter
418 ls
419 cat todoslositios
420 :q1
421 ls
422 /etc/init.d/squid3 restart
423 nmap localhost
424 /etc/init.d/squid3 restart
425 /etc/init.d/samba restart
426 /etc/init.d/winbind restart
427 ls
428 vi sitiosnoperm
429 vim sitiosnoperm
430 cat youtube
431 vim sitiosnoperm
432 cat /root/squid/sitiosprohibidos
433 cat /root/squid/sitiosprohibidos > sitiosnoperm
434 vim sitios
435 vim sitiosnoperm
436 cd ..
437 cd -
438 cd ..
439 vim squid.conf
440 su - areynoso
441 su - areynoso
442 su - maracena
443 /etc/init.d/squid3 status
444 /etc/init.d/winbind status
445 /etc/init.d/samba status
446 ls
447 vim squid.conf
448 cd acl/
449 ls
450 vim sitiospermitidos
451 aplicar_AD.sh
452 vim sitiosnoperm
453 aplicar_AD.sh
454 pwd
455 ls
456 cd /root/
457 ls
458 ln -s /etc/squid3/acl/
459 ln -s /etc/squid3
460 ls
461 ls
462 mv .squid/ /opt/squid_viejo
463 ls
464 cd /etc/squid3/
465 ls
466 vim squid.conf
467 vim squid.conf
468 /etc/init.d/squid3 reload
469 /etc/init.d/squid3 reload
470 vim squid.conf
471 /etc/init.d/squid3 reload
472 cd acl/
473 ls
474 vim sitiosnoperm
475 /etc/init.d/squid3 reload
476 vim sitiosnoperm
477 /etc/init.d/squid3 reload
478 /etc/init.d/squid3 reload
479 vim sitiosnoperm
480 /etc/init.d/squid3 restart
481 nmap localhost
482 vim sitiosnoperm
483 /etc/init.d/squid3 reload
484 vim sitiosnoperm
485 /etc/init.d/squid3 reload
486 /etc/init.d/winbind reload
487 /etc/init.d/winbind restart
488 /etc/init.d/winbind restart
489 /etc/init.d/winbind restart
490 cd ..
491 vim squid.conf
492 /etc/init.d/squid3 reload
493 /etc/init.d/winbind restart
494 /etc/init.d/winbind restart
495 ls
496 vim acl/sitiossociales
497 vim acl/sitiossociales
498 /etc/init.d/winbind restart
499 /etc/init.d/samba restart
500 /etc/init.d/squid3 reload
501 nmap localhost
502 ls
503 vim squid.conf
504 aplicar_AD.sh
505 vim /opt/script/aplicar_AD.sh
506 vim /etc/rc.local
507 vim /opt/script/aplicar_AD.sh
508 vim /etc/rc.local
509 ls
510 aplicar_AD.sh
511 history
Utilice este Manual y algunas busqueda de google:
http://tuxjm.net/docs/Manual_de_Instalacion_de_Servidor_Proxy_Web_con_Ubuntu_Server_y_Squid/html-multiples/index.html
Ahora procedi a instalar sarg para la parte de los reportes
http://pu5h.info/article/debian-wheezy-squid3-transparent-proxy-with-sarg
512 apt-get install sarg
513 vim /etc/sarg/sarg.conf
514 ls /var/ww
515 apt-get install httpd
516 apt-get install apache2
517 cd /var/www/
518 ls
519 vim /etc/sarg/sarg.conf
520 sarg -x
521 ls
522 cat squid-reports/
523 cd squid-reports/
524 ls
525 crontab -e
526 crontab -e
527 crontab -e
528 crontab -e
529 /etc/init.d/cron restart
530 whereis sarg
531 crontab -e
532 ls
533 ls
534 cd ..
535 ls
536 history
No hay comentarios:
Publicar un comentario