Skip to content

Instantly share code, notes, and snippets.

View omega8cc's full-sized avatar

BOA Dev Team omega8cc

View GitHub Profile
Only in /var/backups/8/2/aegir/config/includes: fastcgi_params.conf
Only in /var/aegir/config/includes: nginx_advanced_include.conf
Only in /var/backups/8/2/aegir/config/includes: nginx_include.conf
Only in /var/aegir/config/includes: nginx_simple_include.conf
Only in /var/backups/8/2/aegir/config/server_master/nginx/vhost.d: ssl.v185.barracuda.us.host8.biz
Only in /var/backups/8/2/aegir/config/server_master/nginx/vhost.d: test.v185.barracuda.us.host8.biz
diff -urp /var/backups/8/2/aegir/config/server_master/nginx/vhost.d/v185.barracuda.us.host8.biz /var/aegir/config/server_master/nginx/vhost.d/v185.barracuda.us.host8.biz
--- /var/backups/8/2/aegir/config/server_master/nginx/vhost.d/v185.barracuda.us.host8.biz 2010-07-18 14:30:02.000000000 +0000
+++ /var/aegir/config/server_master/nginx/vhost.d/v185.barracuda.us.host8.biz 2010-07-20 00:44:02.000000000 +0000
@@ -1,11 +1,9 @@
aegir@v185:~/hostmaster-HEAD/sites/v185.barracuda.us.host8.biz$ drush @hostmaster hosting-task @server_master verify -d
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.05 sec, 6.97 MB] [bootstrap]
Loading drushrc "/var/aegir/hostmaster-HEAD/drushrc.php" into "drupal" scope. [0.05 sec, 6.98 MB] [bootstrap]
Initialized Drupal 6.17 root directory at /var/aegir/hostmaster-HEAD [0.05 sec, 8.2 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.06 sec, 8.2 MB] [bootstrap]
Initialized Drupal site v185.barracuda.us.host8.biz at sites/v185.barracuda.us.host8.biz [0.06 sec, 8.2 MB] [notice]
Load
diff -urp /var/backups/8/2/aegir/hostmaster-HEAD/drushrc.php /var/aegir/hostmaster-HEAD/drushrc.php
--- /var/backups/8/2/aegir/hostmaster-HEAD/drushrc.php 2010-07-18 13:50:02.000000000 +0000
+++ /var/aegir/hostmaster-HEAD/drushrc.php 2010-07-20 00:44:01.000000000 +0000
@@ -1394,6 +1394,30 @@ $options['packages'] = array (
'project' => '',
'version' => NULL,
),
+ 'hosting_nginx_ssl' =>
+ array (
+ 'filename' => '/var/aegir/hostmaster-HEAD/profiles/hostmaster/modules/hosting/web_server/nginx/ssl/hosting_nginx_ssl.module',
diff -urp /var/backups/8/2/aegir/.drush/provision/aegir.make /var/aegir/.drush/provision/aegir.make
--- /var/backups/8/2/aegir/.drush/provision/aegir.make 2010-07-18 14:03:28.000000000 +0000
+++ /var/aegir/.drush/provision/aegir.make 2010-07-20 00:43:13.000000000 +0000
@@ -3,5 +3,5 @@ projects[] = "drupal"
projects[hostmaster][type] = "profile"
projects[hostmaster][download][type] = "git"
-projects[hostmaster][download][url] = "git://git.aegirproject.org/hostmaster.git"
+projects[hostmaster][download][url] = "git://github.com/omega8cc/hostmaster.git"
projects[hostmaster][download][branch] = "master"
Solaris:~/mygit/aegir/provision admin$ git pull
remote: Counting objects: 132, done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 108 (delta 82), reused 0 (delta 0)
Receiving objects: 100% (108/108), 16.97 KiB, done.
Resolving deltas: 100% (82/82), completed with 17 local objects.
From git://git.aegirproject.org/provision
ccc1c46..a9adcd3 dev-dns -> origin/dev-dns
* [new branch] dev-newhooks -> origin/dev-newhooks
f024351..9f50ef1 master -> origin/master
$TTL 300
@ IN SOA ns1.omega8.cc. admin.omega8.cc. (
2009040845
10800
1800
604800
10800 )
IN NS ns1.omega8.cc.
IN NS ns2.omega8.cc.
;
_RESOLVEIP=`resolveip $AEGIR_HOST 2> /dev/null`
if [ -z $_RESOLVEIP ] ; then
msg "This server does not have a hostname that resolves to an IP address"
exit 1
else
AEGIR_HOST_IP=`echo $_RESOLVEIP | cut -d: -f2 | awk '{ print $6}'`
true
fi
if [ -z "$SRVIP" ]; then
echo ALERT! SRVIP is e-m-p-t-y, exit now...
exit
fi
INSTALL
-------
1. Place the entire getid3 directory into your modules directory
(sites/all/modules is the usual location).
2. Create a new folder for the getID3 library at:
cd YOUR-DRUPAL-ROOT
mkdir -p sites/all/libraries/getid3
3. Go to http://www.getid3.org/ and download the latest stable version
(currently 1.7.9) into the new directory:
cd sites/all/libraries/getid3
# limit sql access
/sbin/iptables -N sqlchain
/sbin/iptables -A INPUT -p 6 --dport 3306 -j sqlchain
/sbin/iptables -A FORWARD -p 6 --dport 3306 -j sqlchain
/sbin/iptables -A sqlchain -s 12.34.56.78 -j ACCEPT
/sbin/iptables -A sqlchain -s 21.43.65.88 -j ACCEPT
/sbin/iptables -A sqlchain -j DROP