Advertisement
Guest User

Untitled

a guest
Sep 9th, 2017
788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ssh: connect to host 66.147.232.52 port 22: Connection timed out
  3. josh@josh-work:~$
  4. josh@josh-work:~$
  5. josh@josh-work:~$
  6. josh@josh-work:~$
  7. josh@josh-work:~$
  8. josh@josh-work:~$ ssh 66.147.232.52 -l root
  9. ssh: connect to host 66.147.232.52 port 22: Connection timed out
  10. josh@josh-work:~$ ssh 66.147.232.52 -l root
  11. ssh: connect to host 66.147.232.52 port 22: Connection refused
  12. josh@josh-work:~$ ssh 66.147.232.52 -l root
  13. ssh: connect to host 66.147.232.52 port 22: Connection refused
  14. josh@josh-work:~$ ssh 66.147.232.52 -l root
  15. root@66.147.232.52's password:
  16. Last login: Tue Feb  8 17:47:29 2011
  17. [root@host ~]#
  18. [root@host ~]# w
  19.  14:44:52 up 8 min,  1 user,  load average: 0.02, 0.38, 0.32
  20. USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
  21. root     pts/0    default-216.120. 14:44    1.00s  0.01s  0.00s w
  22. [root@host ~]# yum -y groupinstall "web server" "mysql database"
  23. Loaded plugins: fastestmirror
  24. Loading mirror speeds from cached hostfile
  25.  * addons: mirror.cogentco.com
  26.  * base: mirror.ash.fastserv.com
  27.  * extras: mirrors.rit.edu
  28.  * updates: mirror.trouble-free.net
  29. Setting up Group Process
  30. Checking for new repos for mirrors
  31. Package httpd-2.2.3-43.el5.centos.3.x86_64 already installed and latest version
  32. Package php-5.1.6-27.el5_5.3.x86_64 already installed and latest version
  33. Resolving Dependencies
  34. --> Running transaction check
  35. ---> Package MySQL-python.x86_64 0:1.2.1-1 set to be updated
  36. --> Processing Dependency: mx for package: MySQL-python
  37. ---> Package crypto-utils.x86_64 0:2.3-2.el5 set to be updated
  38. --> Processing Dependency: newt-perl for package: crypto-utils
  39. ---> Package distcache.i386 0:1.4.5-14.1 set to be updated
  40. ---> Package distcache.x86_64 0:1.4.5-14.1 set to be updated
  41. ---> Package httpd-manual.x86_64 0:2.2.3-43.el5.centos.3 set to be updated
  42. ---> Package libdbi-dbd-mysql.x86_64 0:0.8.1a-1.2.2 set to be updated
  43. --> Processing Dependency: libdbi-drivers = 0.8.1a-1.2.2 for package: libdbi-dbd-mysql
  44. ---> Package mod_perl.x86_64 0:2.0.4-6.el5 set to be updated
  45. --> Processing Dependency: perl(BSD::Resource) for package: mod_perl
  46. ---> Package mod_python.x86_64 0:3.2.8-3.1 set to be updated
  47. ---> Package mod_ssl.x86_64 1:2.2.3-43.el5.centos.3 set to be updated
  48. ---> Package mysql.i386 0:5.0.77-4.el5_5.4 set to be updated
  49. --> Processing Dependency: perl(DBI) for package: mysql
  50. ---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
  51. ---> Package mysql-connector-odbc.x86_64 0:3.51.26r1127-1.el5 set to be updated
  52. --> Processing Dependency: libltdl.so.3()(64bit) for package: mysql-connector-odbc
  53. ---> Package mysql-server.x86_64 0:5.0.77-4.el5_5.4 set to be updated
  54. ---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be updated
  55. ---> Package php-ldap.x86_64 0:5.1.6-27.el5_5.3 set to be updated
  56. ---> Package squid.x86_64 7:2.6.STABLE21-6.el5 set to be updated
  57. ---> Package tux.x86_64 0:3.2.18-9.fc6 set to be updated
  58. ---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated
  59. ---> Package unixODBC.x86_64 0:2.2.11-7.1 set to be updated
  60. ---> Package webalizer.x86_64 0:2.01_10-30.1 set to be updated
  61. --> Processing Dependency: libgd.so.2()(64bit) for package: webalizer
  62. --> Running transaction check
  63. ---> Package gd.x86_64 0:2.0.33-9.4.el5_4.2 set to be updated
  64. --> Processing Dependency: pkgconfig for package: gd
  65. ---> Package libdbi-drivers.x86_64 0:0.8.1a-1.2.2 set to be updated
  66. --> Processing Dependency: libdbi >= 0.8 for package: libdbi-drivers
  67. ---> Package libtool-ltdl.x86_64 0:1.5.22-7.el5_4 set to be updated
  68. ---> Package mx.x86_64 0:2.0.6-2.2.2 set to be updated
  69. ---> Package newt-perl.x86_64 0:1.08-9.2.2 set to be updated
  70. ---> Package perl-BSD-Resource.x86_64 0:1.28-1.fc6.1 set to be updated
  71. ---> Package perl-DBI.x86_64 0:1.52-2.el5 set to be updated
  72. --> Running transaction check
  73. ---> Package libdbi.x86_64 0:0.8.1-2.1 set to be updated
  74. ---> Package pkgconfig.x86_64 1:0.21-2.el5 set to be updated
  75. --> Finished Dependency Resolution
  76.  
  77. Dependencies Resolved
  78.  
  79. ==============================================================================================================================================================
  80.  Package                                    Arch                         Version                                          Repository                     Size
  81. ==============================================================================================================================================================
  82. Installing:
  83.  MySQL-python                               x86_64                       1.2.1-1                                          base                           84 k
  84.  crypto-utils                               x86_64                       2.3-2.el5                                        base                           35 k
  85.  distcache                                  i386                         1.4.5-14.1                                       base                          119 k
  86.  distcache                                  x86_64                       1.4.5-14.1                                       base                          121 k
  87.  httpd-manual                               x86_64                       2.2.3-43.el5.centos.3                            updates                       814 k
  88.  libdbi-dbd-mysql                           x86_64                       0.8.1a-1.2.2                                     base                           21 k
  89.  mod_perl                                   x86_64                       2.0.4-6.el5                                      base                          4.0 M
  90.  mod_python                                 x86_64                       3.2.8-3.1                                        base                          260 k
  91.  mod_ssl                                    x86_64                       1:2.2.3-43.el5.centos.3                          updates                        92 k
  92.  mysql                                      i386                         5.0.77-4.el5_5.4                                 updates                       4.8 M
  93.  mysql                                      x86_64                       5.0.77-4.el5_5.4                                 updates                       4.8 M
  94.  mysql-connector-odbc                       x86_64                       3.51.26r1127-1.el5                               base                          158 k
  95.  mysql-server                               x86_64                       5.0.77-4.el5_5.4                                 updates                       9.8 M
  96.  perl-DBD-MySQL                             x86_64                       3.0007-2.el5                                     base                          148 k
  97.  php-ldap                                   x86_64                       5.1.6-27.el5_5.3                                 updates                        38 k
  98.  squid                                      x86_64                       7:2.6.STABLE21-6.el5                             base                          1.3 M
  99.  tux                                        x86_64                       3.2.18-9.fc6                                     base                           80 k
  100.  unixODBC                                   i386                         2.2.11-7.1                                       base                          832 k
  101.  unixODBC                                   x86_64                       2.2.11-7.1                                       base                          835 k
  102.  webalizer                                  x86_64                       2.01_10-30.1                                     base                          112 k
  103. Installing for dependencies:
  104.  gd                                         x86_64                       2.0.33-9.4.el5_4.2                               base                          155 k
  105.  libdbi                                     x86_64                       0.8.1-2.1                                        base                           37 k
  106.  libdbi-drivers                             x86_64                       0.8.1a-1.2.2                                     base                           13 k
  107.  libtool-ltdl                               x86_64                       1.5.22-7.el5_4                                   base                           38 k
  108.  mx                                         x86_64                       2.0.6-2.2.2                                      base                          564 k
  109.  newt-perl                                  x86_64                       1.08-9.2.2                                       base                           77 k
  110.  perl-BSD-Resource                          x86_64                       1.28-1.fc6.1                                     base                           29 k
  111.  perl-DBI                                   x86_64                       1.52-2.el5                                       base                          600 k
  112.  pkgconfig                                  x86_64                       1:0.21-2.el5                                     base                           61 k
  113.  
  114. Transaction Summary
  115. ==============================================================================================================================================================
  116. Install      29 Package(s)
  117. Upgrade       0 Package(s)
  118.  
  119. Total download size: 30 M
  120. Downloading Packages:
  121. (1/29): libdbi-drivers-0.8.1a-1.2.2.x86_64.rpm                                                                                         |  13 kB     00:00    
  122. (2/29): libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64.rpm                                                                                       |  21 kB     00:00    
  123. (3/29): perl-BSD-Resource-1.28-1.fc6.1.x86_64.rpm                                                                                      |  29 kB     00:00    
  124. (4/29): crypto-utils-2.3-2.el5.x86_64.rpm                                                                                              |  35 kB     00:00    
  125. (5/29): libdbi-0.8.1-2.1.x86_64.rpm                                                                                                    |  37 kB     00:00    
  126. (6/29): php-ldap-5.1.6-27.el5_5.3.x86_64.rpm                                                                                           |  38 kB     00:00    
  127. (7/29): libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm                                                                                         |  38 kB     00:00    
  128. (8/29): pkgconfig-0.21-2.el5.x86_64.rpm                                                                                                |  61 kB     00:00    
  129. (9/29): newt-perl-1.08-9.2.2.x86_64.rpm                                                                                                |  77 kB     00:00    
  130. (10/29): tux-3.2.18-9.fc6.x86_64.rpm                                                                                                   |  80 kB     00:00    
  131. (11/29): MySQL-python-1.2.1-1.x86_64.rpm                                                                                               |  84 kB     00:00    
  132. (12/29): mod_ssl-2.2.3-43.el5.centos.3.x86_64.rpm                                                                                      |  92 kB     00:00    
  133. (13/29): webalizer-2.01_10-30.1.x86_64.rpm                                                                                             | 112 kB     00:00    
  134. (14/29): distcache-1.4.5-14.1.i386.rpm                                                                                                 | 119 kB     00:00    
  135. (15/29): distcache-1.4.5-14.1.x86_64.rpm                                                                                               | 121 kB     00:00    
  136. (16/29): perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm                                                                                        | 148 kB     00:00    
  137. (17/29): gd-2.0.33-9.4.el5_4.2.x86_64.rpm                                                                                              | 155 kB     00:00    
  138. (18/29): mysql-connector-odbc-3.51.26r1127-1.el5.x86_64.rpm                                                                            | 158 kB     00:00    
  139. (19/29): mod_python-3.2.8-3.1.x86_64.rpm                                                                                               | 260 kB     00:00    
  140. (20/29): mx-2.0.6-2.2.2.x86_64.rpm                                                                                                     | 564 kB     00:00    
  141. (21/29): perl-DBI-1.52-2.el5.x86_64.rpm                                                                                                | 600 kB     00:00    
  142. (22/29): httpd-manual-2.2.3-43.el5.centos.3.x86_64.rpm                                                                                 | 814 kB     00:00    
  143. (23/29): unixODBC-2.2.11-7.1.i386.rpm                                                                                                  | 832 kB     00:00    
  144. (24/29): unixODBC-2.2.11-7.1.x86_64.rpm                                                                                                | 835 kB     00:00    
  145. (25/29): squid-2.6.STABLE21-6.el5.x86_64.rpm                                                                                           | 1.3 MB     00:00    
  146. (26/29): mod_perl-2.0.4-6.el5.x86_64.rpm                                                                                               | 4.0 MB     00:01    
  147. (27/29): mysql-5.0.77-4.el5_5.4.i386.rpm                                                                                               | 4.8 MB     00:01    
  148. (28/29): mysql-5.0.77-4.el5_5.4.x86_64.rpm                                                                                             | 4.8 MB     00:01    
  149. (29/29): mysql-server-5.0.77-4.el5_5.4.x86_64.rpm                                                                                      | 9.8 MB     00:03    
  150. --------------------------------------------------------------------------------------------------------------------------------------------------------------
  151. Total                                                                                                                         2.2 MB/s |  30 MB     00:13    
  152. Running rpm_check_debug
  153. Running Transaction Test
  154. Finished Transaction Test
  155. Transaction Test Succeeded
  156. Running Transaction
  157.   Installing     : perl-DBI                                                                                                                              1/29
  158.   Installing     : mysql                                                                                                                                 2/29
  159.   Installing     : perl-DBD-MySQL                                                                                                                        3/29
  160.   Installing     : distcache                                                                                                                             4/29
  161.   Installing     : newt-perl                                                                                                                             5/29
  162.   Installing     : libtool-ltdl                                                                                                                          6/29
  163.   Installing     : pkgconfig                                                                                                                             7/29
  164.   Installing     : gd                                                                                                                                    8/29
  165.   Installing     : mx                                                                                                                                    9/29
  166.   Installing     : unixODBC                                                                                                                             10/29
  167.   Installing     : perl-BSD-Resource                                                                                                                    11/29
  168.   Installing     : libdbi                                                                                                                               12/29
  169.   Installing     : mod_perl                                                                                                                             13/29
  170.   Installing     : MySQL-python                                                                                                                         14/29
  171.   Installing     : webalizer                                                                                                                            15/29
  172.   Installing     : crypto-utils                                                                                                                         16/29
  173.   Installing     : mod_ssl                                                                                                                              17/29
  174. warning: user apache does not exist - using root
  175.   Installing     : mysql-server                                                                                                                         18/29
  176.   Installing     : tux                                                                                                                                  19/29
  177.   Installing     : mod_python                                                                                                                           20/29
  178.   Installing     : squid                                                                                                                                21/29
  179.   Installing     : php-ldap                                                                                                                             22/29
  180.   Installing     : libdbi-drivers                                                                                                                       23/29
  181.   Installing     : libdbi-dbd-mysql                                                                                                                     24/29
  182.   Installing     : httpd-manual                                                                                                                         25/29
  183.   Installing     : unixODBC                                                                                                                             26/29
  184.   Installing     : mysql                                                                                                                                27/29
  185.   Installing     : distcache                                                                                                                            28/29
  186.   Installing     : mysql-connector-odbc                                                                                                                 29/29
  187.  
  188. Installed:
  189.   MySQL-python.x86_64 0:1.2.1-1                  crypto-utils.x86_64 0:2.3-2.el5                     distcache.i386 0:1.4.5-14.1                            
  190.   distcache.x86_64 0:1.4.5-14.1                  httpd-manual.x86_64 0:2.2.3-43.el5.centos.3         libdbi-dbd-mysql.x86_64 0:0.8.1a-1.2.2                  
  191.   mod_perl.x86_64 0:2.0.4-6.el5                  mod_python.x86_64 0:3.2.8-3.1                       mod_ssl.x86_64 1:2.2.3-43.el5.centos.3                  
  192.   mysql.i386 0:5.0.77-4.el5_5.4                  mysql.x86_64 0:5.0.77-4.el5_5.4                     mysql-connector-odbc.x86_64 0:3.51.26r1127-1.el5        
  193.   mysql-server.x86_64 0:5.0.77-4.el5_5.4         perl-DBD-MySQL.x86_64 0:3.0007-2.el5                php-ldap.x86_64 0:5.1.6-27.el5_5.3                      
  194.   squid.x86_64 7:2.6.STABLE21-6.el5              tux.x86_64 0:3.2.18-9.fc6                           unixODBC.i386 0:2.2.11-7.1                              
  195.   unixODBC.x86_64 0:2.2.11-7.1                   webalizer.x86_64 0:2.01_10-30.1                    
  196.  
  197. Dependency Installed:
  198.   gd.x86_64 0:2.0.33-9.4.el5_4.2     libdbi.x86_64 0:0.8.1-2.1         libdbi-drivers.x86_64 0:0.8.1a-1.2.2        libtool-ltdl.x86_64 0:1.5.22-7.el5_4    
  199.   mx.x86_64 0:2.0.6-2.2.2            newt-perl.x86_64 0:1.08-9.2.2     perl-BSD-Resource.x86_64 0:1.28-1.fc6.1     perl-DBI.x86_64 0:1.52-2.el5            
  200.   pkgconfig.x86_64 1:0.21-2.el5    
  201.  
  202. Complete!
  203. [root@host ~]# yum -y install php-mysql
  204. Loaded plugins: fastestmirror
  205. Loading mirror speeds from cached hostfile
  206.  * addons: mirror.cogentco.com
  207.  * base: mirror.ash.fastserv.com
  208.  * extras: mirrors.rit.edu
  209.  * updates: mirror.trouble-free.net
  210. Setting up Install Process
  211. Resolving Dependencies
  212. --> Running transaction check
  213. ---> Package php-mysql.x86_64 0:5.1.6-27.el5_5.3 set to be updated
  214. --> Processing Dependency: php-pdo for package: php-mysql
  215. --> Running transaction check
  216. ---> Package php-pdo.x86_64 0:5.1.6-27.el5_5.3 set to be updated
  217. --> Finished Dependency Resolution
  218.  
  219. Dependencies Resolved
  220.  
  221. ==============================================================================================================================================================
  222.  Package                              Arch                              Version                                      Repository                          Size
  223. ==============================================================================================================================================================
  224. Installing:
  225.  php-mysql                            x86_64                            5.1.6-27.el5_5.3                             updates                             89 k
  226. Installing for dependencies:
  227.  php-pdo                              x86_64                            5.1.6-27.el5_5.3                             updates                             66 k
  228.  
  229. Transaction Summary
  230. ==============================================================================================================================================================
  231. Install       2 Package(s)
  232. Upgrade       0 Package(s)
  233.  
  234. Total download size: 155 k
  235. Downloading Packages:
  236. (1/2): php-pdo-5.1.6-27.el5_5.3.x86_64.rpm                                                                                             |  66 kB     00:00    
  237. (2/2): php-mysql-5.1.6-27.el5_5.3.x86_64.rpm                                                                                           |  89 kB     00:00    
  238. --------------------------------------------------------------------------------------------------------------------------------------------------------------
  239. Total                                                                                                                         684 kB/s | 155 kB     00:00    
  240. Running rpm_check_debug
  241. Running Transaction Test
  242. Finished Transaction Test
  243. Transaction Test Succeeded
  244. Running Transaction
  245.   Installing     : php-pdo                                                                                                                                1/2
  246.   Installing     : php-mysql                                                                                                                              2/2
  247.  
  248. Installed:
  249.   php-mysql.x86_64 0:5.1.6-27.el5_5.3                                                                                                                        
  250.  
  251. Dependency Installed:
  252.   php-pdo.x86_64 0:5.1.6-27.el5_5.3                                                                                                                          
  253.  
  254. Complete!
  255. [root@host ~]# clear
  256.  
  257. [root@host ~]# /etc/init.d/h
  258. haldaemon  halt       hidd      
  259. [root@host ~]# /etc/init.d/h
  260. [root@host ~]# httpd
  261. -bash: httpd: command not found
  262. [root@host ~]# cat /etc/redhat-release
  263. CentOS release 5.5 (Final)
  264. [root@host ~]# clear
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement