Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ssh: connect to host 66.147.232.52 port 22: Connection timed out
- josh@josh-work:~$
- josh@josh-work:~$
- josh@josh-work:~$
- josh@josh-work:~$
- josh@josh-work:~$
- josh@josh-work:~$ ssh 66.147.232.52 -l root
- ssh: connect to host 66.147.232.52 port 22: Connection timed out
- josh@josh-work:~$ ssh 66.147.232.52 -l root
- ssh: connect to host 66.147.232.52 port 22: Connection refused
- josh@josh-work:~$ ssh 66.147.232.52 -l root
- ssh: connect to host 66.147.232.52 port 22: Connection refused
- josh@josh-work:~$ ssh 66.147.232.52 -l root
- root@66.147.232.52's password:
- Last login: Tue Feb 8 17:47:29 2011
- [root@host ~]#
- [root@host ~]# w
- 14:44:52 up 8 min, 1 user, load average: 0.02, 0.38, 0.32
- USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
- root pts/0 default-216.120. 14:44 1.00s 0.01s 0.00s w
- [root@host ~]# yum -y groupinstall "web server" "mysql database"
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * addons: mirror.cogentco.com
- * base: mirror.ash.fastserv.com
- * extras: mirrors.rit.edu
- * updates: mirror.trouble-free.net
- Setting up Group Process
- Checking for new repos for mirrors
- Package httpd-2.2.3-43.el5.centos.3.x86_64 already installed and latest version
- Package php-5.1.6-27.el5_5.3.x86_64 already installed and latest version
- Resolving Dependencies
- --> Running transaction check
- ---> Package MySQL-python.x86_64 0:1.2.1-1 set to be updated
- --> Processing Dependency: mx for package: MySQL-python
- ---> Package crypto-utils.x86_64 0:2.3-2.el5 set to be updated
- --> Processing Dependency: newt-perl for package: crypto-utils
- ---> Package distcache.i386 0:1.4.5-14.1 set to be updated
- ---> Package distcache.x86_64 0:1.4.5-14.1 set to be updated
- ---> Package httpd-manual.x86_64 0:2.2.3-43.el5.centos.3 set to be updated
- ---> Package libdbi-dbd-mysql.x86_64 0:0.8.1a-1.2.2 set to be updated
- --> Processing Dependency: libdbi-drivers = 0.8.1a-1.2.2 for package: libdbi-dbd-mysql
- ---> Package mod_perl.x86_64 0:2.0.4-6.el5 set to be updated
- --> Processing Dependency: perl(BSD::Resource) for package: mod_perl
- ---> Package mod_python.x86_64 0:3.2.8-3.1 set to be updated
- ---> Package mod_ssl.x86_64 1:2.2.3-43.el5.centos.3 set to be updated
- ---> Package mysql.i386 0:5.0.77-4.el5_5.4 set to be updated
- --> Processing Dependency: perl(DBI) for package: mysql
- ---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
- ---> Package mysql-connector-odbc.x86_64 0:3.51.26r1127-1.el5 set to be updated
- --> Processing Dependency: libltdl.so.3()(64bit) for package: mysql-connector-odbc
- ---> Package mysql-server.x86_64 0:5.0.77-4.el5_5.4 set to be updated
- ---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be updated
- ---> Package php-ldap.x86_64 0:5.1.6-27.el5_5.3 set to be updated
- ---> Package squid.x86_64 7:2.6.STABLE21-6.el5 set to be updated
- ---> Package tux.x86_64 0:3.2.18-9.fc6 set to be updated
- ---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated
- ---> Package unixODBC.x86_64 0:2.2.11-7.1 set to be updated
- ---> Package webalizer.x86_64 0:2.01_10-30.1 set to be updated
- --> Processing Dependency: libgd.so.2()(64bit) for package: webalizer
- --> Running transaction check
- ---> Package gd.x86_64 0:2.0.33-9.4.el5_4.2 set to be updated
- --> Processing Dependency: pkgconfig for package: gd
- ---> Package libdbi-drivers.x86_64 0:0.8.1a-1.2.2 set to be updated
- --> Processing Dependency: libdbi >= 0.8 for package: libdbi-drivers
- ---> Package libtool-ltdl.x86_64 0:1.5.22-7.el5_4 set to be updated
- ---> Package mx.x86_64 0:2.0.6-2.2.2 set to be updated
- ---> Package newt-perl.x86_64 0:1.08-9.2.2 set to be updated
- ---> Package perl-BSD-Resource.x86_64 0:1.28-1.fc6.1 set to be updated
- ---> Package perl-DBI.x86_64 0:1.52-2.el5 set to be updated
- --> Running transaction check
- ---> Package libdbi.x86_64 0:0.8.1-2.1 set to be updated
- ---> Package pkgconfig.x86_64 1:0.21-2.el5 set to be updated
- --> Finished Dependency Resolution
- Dependencies Resolved
- ==============================================================================================================================================================
- Package Arch Version Repository Size
- ==============================================================================================================================================================
- Installing:
- MySQL-python x86_64 1.2.1-1 base 84 k
- crypto-utils x86_64 2.3-2.el5 base 35 k
- distcache i386 1.4.5-14.1 base 119 k
- distcache x86_64 1.4.5-14.1 base 121 k
- httpd-manual x86_64 2.2.3-43.el5.centos.3 updates 814 k
- libdbi-dbd-mysql x86_64 0.8.1a-1.2.2 base 21 k
- mod_perl x86_64 2.0.4-6.el5 base 4.0 M
- mod_python x86_64 3.2.8-3.1 base 260 k
- mod_ssl x86_64 1:2.2.3-43.el5.centos.3 updates 92 k
- mysql i386 5.0.77-4.el5_5.4 updates 4.8 M
- mysql x86_64 5.0.77-4.el5_5.4 updates 4.8 M
- mysql-connector-odbc x86_64 3.51.26r1127-1.el5 base 158 k
- mysql-server x86_64 5.0.77-4.el5_5.4 updates 9.8 M
- perl-DBD-MySQL x86_64 3.0007-2.el5 base 148 k
- php-ldap x86_64 5.1.6-27.el5_5.3 updates 38 k
- squid x86_64 7:2.6.STABLE21-6.el5 base 1.3 M
- tux x86_64 3.2.18-9.fc6 base 80 k
- unixODBC i386 2.2.11-7.1 base 832 k
- unixODBC x86_64 2.2.11-7.1 base 835 k
- webalizer x86_64 2.01_10-30.1 base 112 k
- Installing for dependencies:
- gd x86_64 2.0.33-9.4.el5_4.2 base 155 k
- libdbi x86_64 0.8.1-2.1 base 37 k
- libdbi-drivers x86_64 0.8.1a-1.2.2 base 13 k
- libtool-ltdl x86_64 1.5.22-7.el5_4 base 38 k
- mx x86_64 2.0.6-2.2.2 base 564 k
- newt-perl x86_64 1.08-9.2.2 base 77 k
- perl-BSD-Resource x86_64 1.28-1.fc6.1 base 29 k
- perl-DBI x86_64 1.52-2.el5 base 600 k
- pkgconfig x86_64 1:0.21-2.el5 base 61 k
- Transaction Summary
- ==============================================================================================================================================================
- Install 29 Package(s)
- Upgrade 0 Package(s)
- Total download size: 30 M
- Downloading Packages:
- (1/29): libdbi-drivers-0.8.1a-1.2.2.x86_64.rpm | 13 kB 00:00
- (2/29): libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64.rpm | 21 kB 00:00
- (3/29): perl-BSD-Resource-1.28-1.fc6.1.x86_64.rpm | 29 kB 00:00
- (4/29): crypto-utils-2.3-2.el5.x86_64.rpm | 35 kB 00:00
- (5/29): libdbi-0.8.1-2.1.x86_64.rpm | 37 kB 00:00
- (6/29): php-ldap-5.1.6-27.el5_5.3.x86_64.rpm | 38 kB 00:00
- (7/29): libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm | 38 kB 00:00
- (8/29): pkgconfig-0.21-2.el5.x86_64.rpm | 61 kB 00:00
- (9/29): newt-perl-1.08-9.2.2.x86_64.rpm | 77 kB 00:00
- (10/29): tux-3.2.18-9.fc6.x86_64.rpm | 80 kB 00:00
- (11/29): MySQL-python-1.2.1-1.x86_64.rpm | 84 kB 00:00
- (12/29): mod_ssl-2.2.3-43.el5.centos.3.x86_64.rpm | 92 kB 00:00
- (13/29): webalizer-2.01_10-30.1.x86_64.rpm | 112 kB 00:00
- (14/29): distcache-1.4.5-14.1.i386.rpm | 119 kB 00:00
- (15/29): distcache-1.4.5-14.1.x86_64.rpm | 121 kB 00:00
- (16/29): perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm | 148 kB 00:00
- (17/29): gd-2.0.33-9.4.el5_4.2.x86_64.rpm | 155 kB 00:00
- (18/29): mysql-connector-odbc-3.51.26r1127-1.el5.x86_64.rpm | 158 kB 00:00
- (19/29): mod_python-3.2.8-3.1.x86_64.rpm | 260 kB 00:00
- (20/29): mx-2.0.6-2.2.2.x86_64.rpm | 564 kB 00:00
- (21/29): perl-DBI-1.52-2.el5.x86_64.rpm | 600 kB 00:00
- (22/29): httpd-manual-2.2.3-43.el5.centos.3.x86_64.rpm | 814 kB 00:00
- (23/29): unixODBC-2.2.11-7.1.i386.rpm | 832 kB 00:00
- (24/29): unixODBC-2.2.11-7.1.x86_64.rpm | 835 kB 00:00
- (25/29): squid-2.6.STABLE21-6.el5.x86_64.rpm | 1.3 MB 00:00
- (26/29): mod_perl-2.0.4-6.el5.x86_64.rpm | 4.0 MB 00:01
- (27/29): mysql-5.0.77-4.el5_5.4.i386.rpm | 4.8 MB 00:01
- (28/29): mysql-5.0.77-4.el5_5.4.x86_64.rpm | 4.8 MB 00:01
- (29/29): mysql-server-5.0.77-4.el5_5.4.x86_64.rpm | 9.8 MB 00:03
- --------------------------------------------------------------------------------------------------------------------------------------------------------------
- Total 2.2 MB/s | 30 MB 00:13
- Running rpm_check_debug
- Running Transaction Test
- Finished Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Installing : perl-DBI 1/29
- Installing : mysql 2/29
- Installing : perl-DBD-MySQL 3/29
- Installing : distcache 4/29
- Installing : newt-perl 5/29
- Installing : libtool-ltdl 6/29
- Installing : pkgconfig 7/29
- Installing : gd 8/29
- Installing : mx 9/29
- Installing : unixODBC 10/29
- Installing : perl-BSD-Resource 11/29
- Installing : libdbi 12/29
- Installing : mod_perl 13/29
- Installing : MySQL-python 14/29
- Installing : webalizer 15/29
- Installing : crypto-utils 16/29
- Installing : mod_ssl 17/29
- warning: user apache does not exist - using root
- Installing : mysql-server 18/29
- Installing : tux 19/29
- Installing : mod_python 20/29
- Installing : squid 21/29
- Installing : php-ldap 22/29
- Installing : libdbi-drivers 23/29
- Installing : libdbi-dbd-mysql 24/29
- Installing : httpd-manual 25/29
- Installing : unixODBC 26/29
- Installing : mysql 27/29
- Installing : distcache 28/29
- Installing : mysql-connector-odbc 29/29
- Installed:
- 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
- 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
- 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
- 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
- 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
- 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
- unixODBC.x86_64 0:2.2.11-7.1 webalizer.x86_64 0:2.01_10-30.1
- Dependency Installed:
- 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
- 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
- pkgconfig.x86_64 1:0.21-2.el5
- Complete!
- [root@host ~]# yum -y install php-mysql
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * addons: mirror.cogentco.com
- * base: mirror.ash.fastserv.com
- * extras: mirrors.rit.edu
- * updates: mirror.trouble-free.net
- Setting up Install Process
- Resolving Dependencies
- --> Running transaction check
- ---> Package php-mysql.x86_64 0:5.1.6-27.el5_5.3 set to be updated
- --> Processing Dependency: php-pdo for package: php-mysql
- --> Running transaction check
- ---> Package php-pdo.x86_64 0:5.1.6-27.el5_5.3 set to be updated
- --> Finished Dependency Resolution
- Dependencies Resolved
- ==============================================================================================================================================================
- Package Arch Version Repository Size
- ==============================================================================================================================================================
- Installing:
- php-mysql x86_64 5.1.6-27.el5_5.3 updates 89 k
- Installing for dependencies:
- php-pdo x86_64 5.1.6-27.el5_5.3 updates 66 k
- Transaction Summary
- ==============================================================================================================================================================
- Install 2 Package(s)
- Upgrade 0 Package(s)
- Total download size: 155 k
- Downloading Packages:
- (1/2): php-pdo-5.1.6-27.el5_5.3.x86_64.rpm | 66 kB 00:00
- (2/2): php-mysql-5.1.6-27.el5_5.3.x86_64.rpm | 89 kB 00:00
- --------------------------------------------------------------------------------------------------------------------------------------------------------------
- Total 684 kB/s | 155 kB 00:00
- Running rpm_check_debug
- Running Transaction Test
- Finished Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Installing : php-pdo 1/2
- Installing : php-mysql 2/2
- Installed:
- php-mysql.x86_64 0:5.1.6-27.el5_5.3
- Dependency Installed:
- php-pdo.x86_64 0:5.1.6-27.el5_5.3
- Complete!
- [root@host ~]# clear
- [root@host ~]# /etc/init.d/h
- haldaemon halt hidd
- [root@host ~]# /etc/init.d/h
- [root@host ~]# httpd
- -bash: httpd: command not found
- [root@host ~]# cat /etc/redhat-release
- CentOS release 5.5 (Final)
- [root@host ~]# clear
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement