Drupal StackScript for RH Derivatives on Linode (Instant Drupal!)

StackScripts are a relatively new offering from Linode that allow users to build their own installation script by "stacking" previously existing scripts together to build the machine you want. You can keep your StackScript to yourself, or publish it for the world to use. Deploying a distribution with a StackScript takes only about 5 minutes, afterwards you have a fully configured system with applications up and running. Here's a sneak-peek at a my Drupal StackScript for RH Derivatives deployment just before launch:

Many of the users of Linode appear to prefer Ubuntu, and there's good reason -- it's a great distribution. I run it on all my laptops and most of my desktops. However, I personally find it a bit too bleeding edge for my servers and prefer CentOS for the server room. Currently there are 16 StackScripts available for Ubuntu, with only 3 available for CentOS. Well, after today, there's now 6 for CentOS!

After clicking the deploy button, you'll have the images ready to go in less than a minute. Boot the config, and the StackScript will run on first boot - when it's done, you'll have a secured and configured LAMP stack, drush install, Drupal install, and all updates applied via yum.

I've published these StackScripts so that anyone with a Linode can use them with their CentOS and Fedora installations:

If you use them and find any bugs or have any RH-based StackScripts you'd like made available, post a comment and I'll see what I can do.

In the interest of full disclosure, the links to Linode in this article have a referral code in them that will give me $20 credit if you sign up and keep your account open for 90 days. If you like these StackScripts, please use my links to sign up for a Linode - you'll wonder how you did without one!

Comments

Hi - just signed up with Drupal and used your StackScript - been 1/2 hour now and don't have a working system. No httpd... no drupal install. here's ps aux. Do you think it's hanging on something? Am I being impatient? :)

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2156 604 ? Ss 17:30 0:00 init [3]
root 2 0.0 0.0 0 0 ? S 17:30 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 17:30 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S 17:30 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S 17:30 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? S 17:30 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S 17:30 0:00 [migration/2]
root 8 0.0 0.0 0 0 ? S 17:30 0:00 [ksoftirqd/2]
root 9 0.0 0.0 0 0 ? S 17:30 0:00 [migration/3]
root 10 0.0 0.0 0 0 ? S 17:30 0:00 [ksoftirqd/3]
root 11 0.0 0.0 0 0 ? S 17:30 0:00 [events/0]
root 12 0.0 0.0 0 0 ? S 17:30 0:00 [events/1]
root 13 0.0 0.0 0 0 ? S 17:30 0:00 [events/2]
root 14 0.0 0.0 0 0 ? S 17:30 0:00 [events/3]
root 15 0.0 0.0 0 0 ? S 17:30 0:00 [khelper]
root 19 0.0 0.0 0 0 ? S 17:30 0:00 [async/mgr]
root 22 0.0 0.0 0 0 ? S 17:30 0:00 [xenwatch]
root 23 0.0 0.0 0 0 ? S 17:30 0:00 [xenbus]
root 120 0.0 0.0 0 0 ? S 17:30 0:00 [sync_supers]
root 122 0.0 0.0 0 0 ? S 17:30 0:00 [bdi-default]
root 124 0.0 0.0 0 0 ? S 17:30 0:00 [kblockd/0]
root 125 0.0 0.0 0 0 ? S 17:30 0:00 [kblockd/1]
root 126 0.0 0.0 0 0 ? S 17:30 0:00 [kblockd/2]
root 127 0.0 0.0 0 0 ? S 17:30 0:00 [kblockd/3]
root 130 0.0 0.0 0 0 ? S 17:30 0:00 [kseriod]
root 147 0.0 0.0 0 0 ? S 17:30 0:00 [rpciod/0]
root 148 0.0 0.0 0 0 ? S 17:30 0:00 [rpciod/1]
root 149 0.0 0.0 0 0 ? S 17:30 0:00 [rpciod/2]
root 150 0.0 0.0 0 0 ? S 17:30 0:00 [rpciod/3]
root 183 0.0 0.0 0 0 ? S 17:30 0:00 [kswapd0]
root 184 0.0 0.0 0 0 ? SN 17:30 0:00 [ksmd]
root 185 0.0 0.0 0 0 ? S 17:30 0:00 [aio/0]
root 186 0.0 0.0 0 0 ? S 17:30 0:00 [aio/1]
root 187 0.0 0.0 0 0 ? S 17:30 0:00 [aio/2]
root 188 0.0 0.0 0 0 ? S 17:30 0:00 [aio/3]
root 192 0.0 0.0 0 0 ? S 17:30 0:00 [ecryptfs-kthrea]
root 194 0.0 0.0 0 0 ? S 17:30 0:00 [nfsiod]
root 195 0.0 0.0 0 0 ? S< 17:30 0:00 [kslowd000]
root 196 0.0 0.0 0 0 ? S< 17:30 0:00 [kslowd001]
root 198 0.0 0.0 0 0 ? S 17:30 0:00 [jfsIO]
root 199 0.0 0.0 0 0 ? S 17:30 0:00 [jfsCommit]
root 200 0.0 0.0 0 0 ? S 17:30 0:00 [jfsCommit]
root 201 0.0 0.0 0 0 ? S 17:30 0:00 [jfsCommit]
root 202 0.0 0.0 0 0 ? S 17:30 0:00 [jfsCommit]
root 203 0.0 0.0 0 0 ? S 17:30 0:00 [jfsSync]
root 204 0.0 0.0 0 0 ? S 17:30 0:00 [xfs_mru_cache]
root 205 0.0 0.0 0 0 ? S 17:30 0:00 [xfslogd/0]
root 206 0.0 0.0 0 0 ? S 17:30 0:00 [xfslogd/1]
root 207 0.0 0.0 0 0 ? S 17:30 0:00 [xfslogd/2]
root 208 0.0 0.0 0 0 ? S 17:30 0:00 [xfslogd/3]
root 209 0.0 0.0 0 0 ? S 17:30 0:00 [xfsdatad/0]
root 210 0.0 0.0 0 0 ? S 17:30 0:00 [xfsdatad/1]
root 211 0.0 0.0 0 0 ? S 17:30 0:00 [xfsdatad/2]
root 212 0.0 0.0 0 0 ? S 17:30 0:00 [xfsdatad/3]
root 213 0.0 0.0 0 0 ? S 17:30 0:00 [xfsconvertd/0]
root 214 0.0 0.0 0 0 ? S 17:30 0:00 [xfsconvertd/1]
root 215 0.0 0.0 0 0 ? S 17:30 0:00 [xfsconvertd/2]
root 216 0.0 0.0 0 0 ? S 17:30 0:00 [xfsconvertd/3]
root 217 0.0 0.0 0 0 ? S 17:30 0:00 [crypto/0]
root 218 0.0 0.0 0 0 ? S 17:30 0:00 [crypto/1]
root 219 0.0 0.0 0 0 ? S 17:30 0:00 [crypto/2]
root 220 0.0 0.0 0 0 ? S 17:30 0:00 [crypto/3]
root 853 0.0 0.0 0 0 ? S 17:30 0:00 [khvcd]
root 963 0.0 0.0 0 0 ? S 17:30 0:00 [kpsmoused]
root 966 0.0 0.0 0 0 ? S 17:30 0:00 [kstriped]
root 968 0.0 0.0 0 0 ? S 17:30 0:00 [ksnapd]
root 979 0.0 0.0 0 0 ? S 17:30 0:00 [kjournald]
root 1001 0.0 0.0 0 0 ? S 17:30 0:00 [kauditd]
root 2444 0.0 0.0 2312 536 ? Ss 17:30 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0
ntp 2533 0.0 0.2 4396 4392 ? SLs 17:30 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root 2541 0.0 0.0 3236 1100 ? Ss 17:30 0:00 crond
root 2547 0.0 0.0 2460 1100 hvc0 Ss+ 17:30 0:00 /bin/bash /sbin/mingetty hvc0
root 2565 0.0 0.0 2584 1252 hvc0 S+ 17:30 0:00 /bin/bash /root/StackScript
root 2611 0.0 0.1 10076 2884 ? Rs 17:30 0:00 sshd: root@ttyp0
root 2616 0.0 0.0 2460 1324 ttyp0 Ss 17:31 0:00 -bash
root 2694 0.0 0.0 2248 668 ? S

This was the "Drupal for RH Derivatives" stack script

Thanks a lot.Drupal is really nice.

Add new comment

Subscribe to SysAdmin's Journey RSS