Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Selecting previously deselected package libapache2-mod-php5.
- Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.3-7+squeeze17_i386.deb) ...
- Selecting previously deselected package php5.
- Unpacking php5 (from .../php5_5.3.3-7+squeeze17_all.deb) ...
- Selecting previously deselected package php5-cli.
- Unpacking php5-cli (from .../php5-cli_5.3.3-7+squeeze17_i386.deb) ...
- Selecting previously deselected package php5-suhosin.
- Unpacking php5-suhosin (from .../php5-suhosin_0.9.32.1-1_i386.deb) ...
- Processing triggers for man-db ...
- Setting up libonig2 (5.9.1-1) ...
- Setting up libqdbm14 (1.8.77-4) ...
- Setting up php5-common (5.3.3-7+squeeze17) ...
- Setting up libapache2-mod-php5 (5.3.3-7+squeeze17) ...
- Creating config file /etc/php5/apache2/php.ini with new version
- Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
- .
- Setting up php5 (5.3.3-7+squeeze17) ...
- Setting up php5-cli (5.3.3-7+squeeze17) ...
- Creating config file /etc/php5/cli/php.ini with new version
- update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
- Setting up php5-suhosin (0.9.32.1-1) ...
- Current status: 0 broken [-1].
- root@debian:/home/debian# apt-get update
- Hit http://backports.debian.org squeeze-backports Release.gpg
- Hit http://security.debian.org squeeze/updates Release.gpg
- Hit http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en
- Ign http://security.debian.org/ squeeze/updates/main Translation-en
- Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
- Hit http://debian.aegirproject.org stable Release.gpg
- Hit http://ftp.us.debian.org squeeze Release.gpg
- Hit http://backports.debian.org squeeze-backports Release
- Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
- Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
- Hit http://security.debian.org squeeze/updates Release
- Ign http://debian.aegirproject.org/ stable/main Translation-en
- Ign http://debian.aegirproject.org/ stable/main Translation-en_US
- Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
- Hit http://debian.aegirproject.org stable Release
- Hit http://ftp.us.debian.org squeeze-updates Release.gpg
- Hit http://backports.debian.org squeeze-backports/main i386 Packages
- Hit http://security.debian.org squeeze/updates/main Sources
- Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
- Hit http://security.debian.org squeeze/updates/main i386 Packages
- Ign http://debian.aegirproject.org stable/main i386 Packages
- Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_US
- Hit http://debian.aegirproject.org stable/main i386 Packages
- Hit http://ftp.us.debian.org squeeze Release
- Hit http://ftp.us.debian.org squeeze-updates Release
- Hit http://ftp.us.debian.org squeeze/main Sources
- Hit http://ftp.us.debian.org squeeze/main i386 Packages
- Hit http://ftp.us.debian.org squeeze-updates/main Sources/DiffIndex
- Hit http://ftp.us.debian.org squeeze-updates/main i386 Packages/DiffIndex
- Hit http://ftp.us.debian.org squeeze-updates/main i386 Packages
- Reading package lists... Done
- root@debian:/home/debian# /etc/init.d/apache2 restart
- Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
- ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
- .
- root@debian:/home/debian# curl localhost
- bash: curl: command not found
- root@debian:/home/debian# hostname
- debian
- root@debian:/home/debian# hostname aegirkaczmar
- root@debian:/home/debian# nano /etc/hosts
- root@debian:/home/debian# hostname -f
- aegirkaczmar
- root@debian:/home/debian# uname -n
- aegirkaczmar
- root@debian:/home/debian# nano /etc/sudoers
- root@debian:/home/debian# echo "aegir ALL=NOPASSWD: /usr/sbin/apache2ctl" | sudo tee -a /etc/sudoers
- aegir ALL=NOPASSWD: /usr/sbin/apache2ctl
- root@debian:/home/debian# mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MySQL to secure it, we'll need the current
- password for the root user. If you've just installed MySQL, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- OK, successfully used password, moving on...
- Setting the root password ensures that nobody can log into the MySQL
- root user without the proper authorisation.
- You already have a root password set, so you can safely answer 'n'.
- Change the root password? [Y/n] n
- ... skipping.
- By default, a MySQL installation has an anonymous user, allowing anyone
- to log into MySQL without having to have a user account created for
- them. This is intended only for testing, and to make the installation
- go a bit smoother. You should remove them before moving into a
- production environment.
- Remove anonymous users? [Y/n] y
- ... Success!
- Normally, root should only be allowed to connect from 'localhost'. This
- ensures that someone cannot guess at the root password from the network.
- Disallow root login remotely? [Y/n] y
- ... Success!
- By default, MySQL comes with a database named 'test' that anyone can
- access. This is also intended only for testing, and should be removed
- before moving into a production environment.
- Remove test database and access to it? [Y/n] y
- - Dropping test database...
- yERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist
- ... Failed! Not critical, keep moving...
- - Removing privileges on test database...
- ... Success!
- Reloading the privilege tables will ensure that all changes made so far
- will take effect immediately.
- Reload privilege tables now? [Y/n]
- ... Success!
- Cleaning up...
- All done! If you've completed all of the above steps, your MySQL
- installation should now be secure.
- Thanks for using MySQL!
- root@debian:/home/debian# mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MySQL to secure it, we'll need the current
- password for the root user. If you've just installed MySQL, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- OK, successfully used password, moving on...
- Setting the root password ensures that nobody can log into the MySQL
- root user without the proper authorisation.
- You already have a root password set, so you can safely answer 'n'.
- Change the root password? [Y/n] n
- ... skipping.
- By default, a MySQL installation has an anonymous user, allowing anyone
- to log into MySQL without having to have a user account created for
- them. This is intended only for testing, and to make the installation
- go a bit smoother. You should remove them before moving into a
- production environment.
- Remove anonymous users? [Y/n] y
- ... Success!
- Normally, root should only be allowed to connect from 'localhost'. This
- ensures that someone cannot guess at the root password from the network.
- Disallow root login remotely? [Y/n] y
- ... Success!
- By default, MySQL comes with a database named 'test' that anyone can
- access. This is also intended only for testing, and should be removed
- before moving into a production environment.
- Remove test database and access to it? [Y/n] y
- - Dropping test database...
- ERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist
- ... Failed! Not critical, keep moving...
- - Removing privileges on test database...
- ... Success!
- Reloading the privilege tables will ensure that all changes made so far
- will take effect immediately.
- Reload privilege tables now? [Y/n] y
- ... Success!
- Cleaning up...
- All done! If you've completed all of the above steps, your MySQL
- installation should now be secure.
- Thanks for using MySQL!
- root@debian:/home/debian# apt-get install aegir2
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- aegir-hostmaster2 aegir-provision2 drush git git-core liberror-perl
- libgd2-xpm php-console-table php-pear php5-gd php5-mysql rsync
- Suggested packages:
- drush-make drupal git-doc git-arch git-cvs git-svn git-email git-daemon-run
- git-gui gitk gitweb libgd-tools php5-dev openssh-server
- The following packages will be REMOVED:
- libgd2-noxpm
- The following NEW packages will be installed:
- aegir-hostmaster2 aegir-provision2 aegir2 drush git git-core liberror-perl
- libgd2-xpm php-console-table php-pear php5-gd php5-mysql rsync
- 0 upgraded, 13 newly installed, 1 to remove and 151 not upgraded.
- Need to get 6,426 kB of archives.
- After this operation, 16.4 MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- Get:1 http://security.debian.org/ squeeze/updates/main php-pear all 5.3.3-7+squeeze17 [363 kB]
- Get:2 http://debian.aegirproject.org/ stable/main php-console-table all 1.1.4-1 [17.6 kB]
- Get:3 http://ftp.us.debian.org/debian/ squeeze/main libgd2-xpm i386 2.0.36~rc1~dfsg-5 [227 kB]
- Get:4 http://security.debian.org/ squeeze/updates/main php5-mysql i386 5.3.3-7+squeeze17 [66.5 kB]
- Get:5 http://security.debian.org/ squeeze/updates/main php5-gd i386 5.3.3-7+squeeze17 [34.8 kB]
- Get:6 http://debian.aegirproject.org/ stable/main drush all 5.9-1 [352 kB]
- Get:7 http://ftp.us.debian.org/debian/ squeeze/main liberror-perl all 0.17-1 [23.6 kB]
- Get:8 http://ftp.us.debian.org/debian/ squeeze/main git i386 1:1.7.2.5-3 [4,860 kB]
- Get:9 http://debian.aegirproject.org/ stable/main aegir-provision2 all 2.0~rc4 [123 kB]
- Get:10 http://debian.aegirproject.org/ stable/main aegir-hostmaster2 all 2.0~rc4 [13.0 kB]
- Get:11 http://debian.aegirproject.org/ stable/main aegir2 all 2.0~rc4 [7,148 B]
- Get:12 http://ftp.us.debian.org/debian/ squeeze/main git-core all 1:1.7.2.5-3 [1,316 B]
- Get:13 http://ftp.us.debian.org/debian/ squeeze/main rsync i386 3.0.7-2 [338 kB]
- Fetched 6,426 kB in 9s (708 kB/s)
- Preconfiguring packages ...
- dpkg: libgd2-noxpm: dependency problems, but removing anyway as you requested:
- libgvc5 depends on libgd2-noxpm (>= 2.0.36~rc1~dfsg) | libgd2-xpm (>= 2.0.36~rc1~dfsg); however:
- Package libgd2-noxpm is to be removed.
- Package libgd2-xpm is not installed.
- (Reading database ... 128615 files and directories currently installed.)
- Removing libgd2-noxpm ...
- Selecting previously deselected package libgd2-xpm.
- (Reading database ... 128605 files and directories currently installed.)
- Unpacking libgd2-xpm (from .../libgd2-xpm_2.0.36~rc1~dfsg-5_i386.deb) ...
- Setting up libgd2-xpm (2.0.36~rc1~dfsg-5) ...
- Selecting previously deselected package php-pear.
- (Reading database ... 128616 files and directories currently installed.)
- Unpacking php-pear (from .../php-pear_5.3.3-7+squeeze17_all.deb) ...
- Selecting previously deselected package php-console-table.
- Unpacking php-console-table (from .../php-console-table_1.1.4-1_all.deb) ...
- Selecting previously deselected package drush.
- Unpacking drush (from .../archives/drush_5.9-1_all.deb) ...
- Selecting previously deselected package php5-mysql.
- Unpacking php5-mysql (from .../php5-mysql_5.3.3-7+squeeze17_i386.deb) ...
- Selecting previously deselected package aegir-provision2.
- Unpacking aegir-provision2 (from .../aegir-provision2_2.0~rc4_all.deb) ...
- Selecting previously deselected package liberror-perl.
- Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
- Selecting previously deselected package git.
- Unpacking git (from .../git_1%3a1.7.2.5-3_i386.deb) ...
- Selecting previously deselected package git-core.
- Unpacking git-core (from .../git-core_1%3a1.7.2.5-3_all.deb) ...
- Selecting previously deselected package aegir-hostmaster2.
- Unpacking aegir-hostmaster2 (from .../aegir-hostmaster2_2.0~rc4_all.deb) ...
- Selecting previously deselected package aegir2.
- Unpacking aegir2 (from .../aegir2_2.0~rc4_all.deb) ...
- Selecting previously deselected package php5-gd.
- Unpacking php5-gd (from .../php5-gd_5.3.3-7+squeeze17_i386.deb) ...
- Selecting previously deselected package rsync.
- Unpacking rsync (from .../rsync_3.0.7-2_i386.deb) ...
- Processing triggers for man-db ...
- Processing triggers for libapache2-mod-php5 ...
- Reloading web server config: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
- .
- Setting up php-pear (5.3.3-7+squeeze17) ...
- Setting up php-console-table (1.1.4-1) ...
- Setting up drush (5.9-1) ...
- Setting up php5-mysql (5.3.3-7+squeeze17) ...
- Setting up aegir-provision2 (2.0~rc4) ...
- adding aegir user...
- Adding user aegir to group www-data
- Creating config file /etc/sudoers.d/aegir with new version
- Setting up liberror-perl (0.17-1) ...
- Setting up git (1:1.7.2.5-3) ...
- Setting up git-core (1:1.7.2.5-3) ...
- Setting up aegir-hostmaster2 (2.0~rc4) ...
- 'drush' cache was cleared [success]
- installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
- Generated config Drush configuration file [success]
- Changed permissions of [success]
- /var/aegir/.drush/server_localhost.alias.drushrc.php to 440
- Provision configuration root path /var/aegir/config exists. [success]
- Provision configuration root ownership of /var/aegir/config has been [success]
- changed to aegir.
- Provision configuration root permissions of /var/aegir/config have [success]
- been changed to 711.
- Provision configuration root path /var/aegir/config is writable. [success]
- Provision configuration path /var/aegir/config/server_localhost has [success]
- been created.
- Provision configuration ownership of [success]
- /var/aegir/config/server_localhost has been changed to aegir.
- Provision configuration permissions of [success]
- /var/aegir/config/server_localhost have been changed to 711.
- Provision configuration path /var/aegir/config/server_localhost is [success]
- writable.
- Provision client home path /var/aegir/clients has been created. [success]
- Provision client home ownership of /var/aegir/clients has been [success]
- changed to aegir.
- Provision client home permissions of /var/aegir/clients have been [success]
- changed to 711.
- Provision client home path /var/aegir/clients is writable. [success]
- Provision can create new databases. [success]
- Provision can grant privileges on database users. [success]
- Generated config Drush configuration file [success]
- Changed permissions of [success]
- /var/aegir/.drush/server_master.alias.drushrc.php to 440
- Provision configuration root path /var/aegir/config exists. [success]
- Provision configuration root ownership of /var/aegir/config has been [success]
- changed to aegir.
- Provision configuration root permissions of /var/aegir/config have [success]
- been changed to 711.
- Provision configuration root path /var/aegir/config is writable. [success]
- Provision configuration path /var/aegir/config/server_master has been[success]
- created.
- Provision configuration ownership of /var/aegir/config/server_master [success]
- has been changed to aegir.
- Provision configuration permissions of [success]
- /var/aegir/config/server_master have been changed to 711.
- Provision configuration path /var/aegir/config/server_master is [success]
- writable.
- Provision client home path /var/aegir/clients exists. [success]
- Provision client home ownership of /var/aegir/clients has been [success]
- changed to aegir.
- Provision client home permissions of /var/aegir/clients have been [success]
- changed to 711.
- Provision client home path /var/aegir/clients is writable. [success]
- Backup path /var/aegir/backups has been created. [success]
- Backup ownership of /var/aegir/backups has been changed to aegir. [success]
- Backup permissions of /var/aegir/backups have been changed to 700. [success]
- Backup path /var/aegir/backups is writable. [success]
- Provision PHP configuration path /var/aegir/config/includes has been [success]
- created.
- Provision PHP configuration ownership of /var/aegir/config/includes [success]
- has been changed to aegir.
- Provision PHP configuration permissions of /var/aegir/config/includes[success]
- have been changed to 711.
- Provision PHP configuration path /var/aegir/config/includes is [success]
- writable.
- Generated config Global settings.php file [success]
- Webserver custom pre-configuration path [success]
- /var/aegir/config/server_master/apache has been created.
- Webserver custom pre-configuration ownership of [success]
- /var/aegir/config/server_master/apache has been changed to aegir.
- Webserver custom pre-configuration permissions of [success]
- /var/aegir/config/server_master/apache have been changed to 711.
- Webserver custom pre-configuration path [success]
- /var/aegir/config/server_master/apache is writable.
- Webserver custom pre-configuration path [success]
- /var/aegir/config/server_master/apache/pre.d has been created.
- Webserver custom pre-configuration ownership of [success]
- /var/aegir/config/server_master/apache/pre.d has been changed to
- aegir.
- Webserver custom pre-configuration permissions of [success]
- /var/aegir/config/server_master/apache/pre.d have been changed to
- 700.
- Webserver custom pre-configuration path [success]
- /var/aegir/config/server_master/apache/pre.d is writable.
- Webserver custom post-configuration path [success]
- /var/aegir/config/server_master/apache/post.d has been created.
- Webserver custom post-configuration ownership of [success]
- /var/aegir/config/server_master/apache/post.d has been changed to
- aegir.
- Webserver custom post-configuration permissions of [success]
- /var/aegir/config/server_master/apache/post.d have been changed to
- 700.
- Webserver custom post-configuration path [success]
- /var/aegir/config/server_master/apache/post.d is writable.
- Webserver platform configuration path [success]
- /var/aegir/config/server_master/apache/platform.d has been created.
- Webserver platform configuration ownership of [success]
- /var/aegir/config/server_master/apache/platform.d has been changed to
- aegir.
- Webserver platform configuration permissions of [success]
- /var/aegir/config/server_master/apache/platform.d have been changed
- to 700.
- Webserver platform configuration path [success]
- /var/aegir/config/server_master/apache/platform.d is writable.
- Webserver virtual host configuration path [success]
- /var/aegir/config/server_master/apache/vhost.d has been created.
- Webserver virtual host configuration ownership of [success]
- /var/aegir/config/server_master/apache/vhost.d has been changed to
- aegir.
- Webserver virtual host configuration permissions of [success]
- /var/aegir/config/server_master/apache/vhost.d have been changed to
- 700.
- Webserver virtual host configuration path [success]
- /var/aegir/config/server_master/apache/vhost.d is writable.
- Generated config web server configuration file [success]
- Generated config Drush configuration file [success]
- Changed permissions of [success]
- /var/aegir/.drush/platform_hostmaster.alias.drushrc.php to 440
- drupal-6.28 downloaded. [ok]
- hostmaster cloned from http://git.drupal.org/project/hostmaster.git. [ok]
- Checked out tag 6.x-2.0-rc4. [ok]
- Found makefile: hostmaster.make [ok]
- hosting_platform_pathauto-6.x-2.0-beta2 downloaded. [ok]
- views_bulk_operations-6.x-1.15 downloaded. [ok]
- eldir cloned from http://git.drupal.org/project/eldir.git. [ok]
- Checked out branch 6.x-2.0-rc2. [ok]
- views_bulk_operations patched with [ok]
- view_bulk_operation-add_missing_argument-2025215-1.patch.
- Generated PATCHES.txt file for views_bulk_operations [ok]
- modalframe-6.x-1.7 downloaded. [ok]
- jquery_update-6.x-2.0-alpha1 downloaded. [ok]
- views-6.x-3.0 downloaded. [ok]
- jquery_ui-6.x-1.5 downloaded. [ok]
- hosting cloned from http://git.drupal.org/project/hosting.git. [ok]
- install_profile_api-6.x-2.2 downloaded. [ok]
- Checked out branch 6.x-2.0-rc4. [ok]
- openidadmin-6.x-1.2 downloaded. [ok]
- admin_menu-6.x-1.8 downloaded. [ok]
- jquery_ui downloaded from [ok]
- http://jquery-ui.googlecode.com/files/jquery-ui-1.7.3.zip.
- Aegir 6.x-2.0-rc4 automated install script
- ==============================================================================
- Some settings have not been provided and will now be prompted.
- Don't worry: you will get to review those settings after the final install
- This script will operate the following changes in your system:
- 1. Create server-level configuration directories
- 2. Create the Hostmaster frontend platform
- 3. Install the frontend site
- 4. Setup the dispatcher (a user cron job)
- We are making the following assumptions:
- * you have read and are following the install instructions at:
- http://community.aegirproject.org/installing
- * the FQDN of this machine is valid and resolves
- * you are executing this script as your "aegir" user
- The following settings will be used:
- Aegir frontend URL: aegirkaczmar
- Master server FQDN: aegirkaczmar
- Aegir root: /var/aegir
- Aegir user: aegir
- Web group: www-data
- Web server: apache
- Web server port: 80
- Aegir DB host: localhost
- Aegir DB user: root
- Aegir DB password: <previously set>
- Aegir DB port: 3306
- Aegir version: 6.x-2.0-rc4
- Aegir platform path: /var/aegir/hostmaster-6.x-2.0-rc4
- Aegir makefile: /usr/share/drush/commands/provision/aegir.make
- Admin email: aegir@aegirkaczmar
- Do you really want to proceed with the install (y/n): y
- Enabling hosting-queued daemon
- The drush command '@hostmaster pm-enable hosting_queued' could not be[error]
- found. Run `drush cache-clear drush` to clear the commandfile cache
- if you have installed new extensions.
- A Drupal installation directory could not be found [error]
- dpkg: error processing aegir-hostmaster2 (--configure):
- subprocess installed post-installation script returned error exit status 1
- configured to not write apport reports
- configured to not write apport reports
- dpkg: dependency problems prevent configuration of aegir2:
- aegir2 depends on aegir-hostmaster2 (>= 2.0~rc4); however:
- Package aegir-hostmaster2 is not configured yet.
- dpkg: error processing aegir2 (--configure):
- dependency problems - leaving unconfigured
- Setting up php5-gd (5.3.3-7+squeeze17) ...
- Setting up rsync (3.0.7-2) ...
- update-rc.d: using dependency based boot sequencing
- Errors were encountered while processing:
- aegir-hostmaster2
- aegir2
- E: Sub-process /usr/bin/dpkg returned an error code (1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement