Posts Tagged Linux

wordpress & wordpress MU mass upgrade script 2.9.2

Posted by on Sunday, 21 March, 2010

Okay, I have rolled the usual ‘upgrade all instances of wordpress’ script.

In this version i finally got around to checking the permissions prior to updating and changing the ownership of them back to that owner afterwards. This was breaking things and could be rather annoying before if you had more than 5  sites to fix permissions on.

Also, I did a database check to make sure your schema is the latest version, if not it will display the upgrade.php link which will do it for you (before it just showed that regardless)

Let me know if you have any bugs at all, or any problems.

Here’s your script to upgrade them all.

wget http://b.ri.mu/files/wordpress-upgrade-2.9.2.sh ; sh wordpress-upgrade-2.9.2.sh

Because the wordpress mu previous version has one less number (it shows up as 2.8.5 rather than 2.9.1.1 ) you may notice that it says
You have version 2.8.5’; located at /path/etc

Just ignore it, its not going to matter. so long as the version isn’t current. it needs to be upgraded :)


Ubuntu 9.10 BETA released – Karmic Koal

Posted by on Friday, 2 October, 2009

The Ubuntu team is pleased to announce the beta release of Ubuntu 9.10
Desktop and Server editions, and the Ubuntu Netbook Remix. Codenamed
“Karmic Koala”, 9.10 continues Ubuntu’s proud tradition of integrating the
latest and greatest open source technologies into a high-quality,
easy-to-use Linux distribution.

Ubuntu 9.10 Desktop Edition improves on the work of 9.04 to get you going
faster, with improved startup times and a streamlined boot experience.

Ubuntu 9.10 Server Edition integrates Ubuntu Enterprise Cloud setup in the
installer and provides improvements to system security with AppArmor,
including an AppArmor profile for libvirtd to further isolate virtual
machines from the host system.

The Ubuntu 9.10 family of variants, Kubuntu, Xubuntu, Edubuntu, Ubuntu
Studio, and Mythbuntu, also reach beta status today.

Desktop features
—————-

GNOME 2.28 featuring Empathy: with this latest beta release, Ubuntu now
uses the Empathy instant messaging service by default, introducing the
Telepathy framework.

Ubuntu Software Center: the first step in a replacement for Add/Remove
Software has landed for testing and feedback.

New boot experience: multiple changes to look, feel and speed of
the boot experience have been included in the Ubuntu 9.10 beta.

Please see http://www.ubuntu.com/testing/karmic/beta for details.

Server features
—————

Cloud computing: Ubuntu 9.10 builds on the tantalizing cloud support in
Ubuntu 9.04, with support for Eucalyptus configuration at install time and
publishing of standard VM images for UEC.

AppArmor: Ubuntu 9.10 continues to raise the bar for server security, with
AppArmor profiles enabled by default for ntpd and libvirt providing another
layer of protection from attacks on the network or via guest virtual
machines.

Ubuntu Netbook Remix features
—————————–
Ubuntu Netbook Remix is optimised to run on Intel atom based netbooks. It
includes a new consumer-friendly interface that allows users to quickly and
easily get on-line and use their favourite applications. This interface is
optimised for a retail sales environment.

It includes the same faster boot times and improved boot experience as
Ubuntu desktop.

Kubuntu features
—————-

Kubuntu 9.10, built on KDE 4.3, brings users a complete, full-featured KDE4
desktop with many new applications and innovations.

This is the first release for a new Kubuntu variant, Kubuntu Netbook Edition.
Built on a Kubuntu base, it brings users an exciting first look at KDE’s
netbook-oriented desktop environment.

Please see https://wiki.kubuntu.org/KarmicKoala/Beta/Kubuntu for all the
details.

Xubuntu features
—————-

Xubuntu 9.10 comes with the light-weight Xfce 4.6 desktop environment
to provide a desktop designed for productivity while conserving system
resources.

Xubuntu 9.10 is proud to offer an improved multimedia experience with
the Exaile media player, a more integrated power management solution
with the Xfce4 power manager, and more convenience built right in with
improved multimedia volume key support and more consistent desktop
notifications.

Please see https://wiki.ubuntu.com/Xubuntu/KarmicKoala/Beta for the
full list and details about all the great enhancements Xubuntu 9.10
has to offer.

Edubuntu features
—————–

Edubuntu 9.10 transitions from an add-on educational CD that depended on
an existing Ubuntu installation to a full Ubuntu derivative delivered on
as a DVD image. This allows prospective users and decision makers to try
the educational offerings prior to installation and the flexibility to
make Edubuntu a first class educational operating system.

Mythbuntu features
——————

Mythbuntu 9.10 introduces MythTV 0.22. The entire stack has been ported
to QT4 and now allows for very neat UI effects. Also 0.22 adds support
for VDPAU hardware acceleration, and HD-PVR hardware support.

Please see http://www.mythtv.org/wiki/Release_Notes_-_0.22 for more details
about things introduced in 0.22.

See http://mythbuntu.org/9.10/beta for information about the Mythbuntu
beta release.

Other
—–

* On the Desktop: GNOME 2.28, KDE 4.3, XFCE 4.6.1, OpenOffice.org 3.1.1,
X.Org server 1.6.3

* On the Server: Apache 2.2, PostgreSQL 8.4, PHP 5.2.10, LTSP 5.1

* “Under the hood”: GCC 4.4.1, glibc 2.10, Linux 2.6.31.1, Python 2.6.2

The full release notes can be found at
http://www.ubuntu.com/testing/karmic/beta

About Ubuntu
————

Ubuntu is a full-featured Linux distribution for desktops, laptops, and
servers, with a fast and easy installation and regular releases. A
tightly-integrated selection of excellent applications is included, and an
incredible variety of add-on software is just a few clicks away.

Professional technical support is available from Canonical Limited and
hundreds of other companies around the world. For more information about
support, visit http://www.ubuntu.com/support

To Get Ubuntu 9.10 Beta
———————–

To upgrade to Ubuntu 9.10 Beta from Ubuntu 9.04,
follow these instructions:

https://help.ubuntu.com/community/KarmicUpgrades

Or, download Ubuntu 9.10 Beta here (choose the mirror closest to you):

Europe:

* http://ubuntu.ipacct.com/releases/9.10 (Bulgaria)
* http://ftp.oleane.net/ubuntu-cd/9.10 (France)
* http://ftp.uni-kl.de/pub/linux/ubuntu.iso/9.10 (Germany)
* http://ie.releases.ubuntu.com/9.10 (Ireland)
* http://nl.releases.ubuntu.com/releases/9.10 (Netherlands)
* http://no.releases.ubuntu.com/9.10 (Norway)
* http://se.releases.ubuntu.com/9.10 (Sweden)

North America:

* http://mirrors.cat.pdx.edu/ubuntu-releases/9.10 (United States)
* http://ubuntu.cs.utah.edu/releases/9.10 (United States)

Oceania/Australia:

* http://ftp.citylink.co.nz/ubuntu-releases/9.10 (New Zealand)

Rest of the world:

http://releases.ubuntu.com/9.10 (Great Britain)

Please download using Bittorrent if possible.

The final version of Ubuntu 9.10 is expected to be released in October 2009.


Preventing DoS attacks before they become a problem

Posted by on Friday, 25 September, 2009

I came across this little gem not to long back which is handy.

It basically blocks IPs depending on the amount of connections they have. The defaults are fairly reasonable at 150 connections, and its remarkably easy to install.

wget http://www.inetbase.com/scripts/ddos/install.sh
chmod 0700 install.sh
./install.sh

Presto, now its installed! If you want to customize it then check in /usr/local/ddos/ddos.conf and edit it a bit.

Uninstall is just as easy

wget http://www.inetbase.com/scripts/ddos/uninstall.ddos
chmod 0700 uninstall.ddos
./uninstall.ddos