
I was working on my 8GB "r-pi work" SD, not the 2GB SD that I've dedicated to Raspberry Server.
*sigh*
Tarball tomorrow. Sorry about this.
YAYAYAYAYYAY!!!Coburn wrote:Update: New 2GB SD Image is getting uploaded as I speak. Currently on 25%, about 3.5 hours to go until uploaded (I hate my ADSL2+ Uplink - 1Mbps is a joke).
This image is version 1.1-RC1 (Release Candiate 1 before it goes gold).
Updated to latest kernel and modules. Tested and confirmed working.
There's two folders on the boot partition for 256MB or 512MB pies. Copy them to the root folder of the SD boot parition, then delete the stock start.elf and rename the start_240.elf or start_496.elf to start.elf and presto.
Download link by 5PM GMT+10 today.
Download is very slow? like 100kb/sec!Coburn wrote:It's out. To prevent bots leeching the download, replace hxxp with http .
Use a quality archiver like 7z 9.29 Alpha to unzip.
Image: hxxp://dandere.net/rpi/raspberry-server-web-2gb-11rc1.img.xz
Use a tool like WinMD5 to ensure that your download isn't corrupt:
MD5Sums: hxxp://dandere.net/rpi/md5sum.txt
Use Win32 Disk Imager to write this to your SD. Then make sure you use the right boot loader "start.elf" file, see post above the one above, and boot. Then watch your R-Pi explode into fireworks... erm... turn into a lean mean webserver machine.
Did you try this?:poing wrote:Downloaded, checksum correct, 7-Zip can't open the .img file as archive, after successfully writing to the SD the led of the reader keeps flashing, can't access the boot partion in W7 64 to change start.elf ('needs to be formatted'), Pi just shows a steady red light when trying to boot.
There's two folders on the boot partition for 256MB or 512MB pies. Copy them to the root folder of the SD boot parition, then delete the stock start.elf and rename the start_240.elf or start_496.elf to start.elf and presto.
Well, I tried to access the boot partition but I can't access the card, which is the main problem. Other images' boot partitions were always visible in Windows. So no, I didn'tpigeorgetaylor wrote:Did you try this?:poing wrote:Downloaded, checksum correct, 7-Zip can't open the .img file as archive, after successfully writing to the SD the led of the reader keeps flashing, can't access the boot partion in W7 64 to change start.elf ('needs to be formatted'), Pi just shows a steady red light when trying to boot.
There's two folders on the boot partition for 256MB or 512MB pies. Copy them to the root folder of the SD boot parition, then delete the stock start.elf and rename the start_240.elf or start_496.elf to start.elf and presto.
The newer versions of Raspbian have made dealing with different memory model RPi's a lot simpler. You can just add to the config.txtCoburn wrote:
There's two folders on the boot partition for 256MB or 512MB pies. Copy them to the root folder of the SD boot parition, then delete the stock start.elf and rename the start_240.elf or start_496.elf to start.elf and presto.
300kb/sec on a 51mib connection!benzeman wrote:No offence, but what's wrong with your server? I'm pulling 256KiB on a 4MiB connection!
FYI, those would give you 240 and 496 MB for the GPU. All you need is GPU_men=16 and the CPU will get whatever is leftDweeber wrote:The newer versions of Raspbian have made dealing with different memory model RPi's a lot simpler. You can just add to the config.txtCoburn wrote:
There's two folders on the boot partition for 256MB or 512MB pies. Copy them to the root folder of the SD boot parition, then delete the stock start.elf and rename the start_240.elf or start_496.elf to start.elf and presto.
# Set memory split depending on which memory type unit it is
gpu_mem_256=240
gpu_mem_512=496
Or what ever memory splits you want to use. Then you can use the same config on either memory model... and the number of elf files is reduced to:
start_cd.elf
start.elf
This was added in #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l GNU/Linux
Code: Select all
#2002 Cannot log in to the MySQL server
if you've tried pi raspberry then I have no idea. there should be a way to change it in sudo mysql, I have no idea how thoughBoezelman wrote:root/root doesn't work..!Code: Select all
#2002 Cannot log in to the MySQL server
Code: Select all
# Minimisation of swap usage
echo 0 > /proc/sys/vm/swappiness
# Minimisation of disk writes
# add ",commit=120" for ext3, 4
sed -i -e "s/errors\=remount\-ro/errors=remount-ro,noatime/g" /etc/fstab
# Adapt Grub
sed -i -e "s/ro quiet/ro quiet acpi=force irqpoll/g" /boot/grub/grub.cfg
# Inform rc we are using ram
sed -i -e "s/RAMRUN\=no/RAMRUN=yes/g" /etc/default/rcS
sed -i -e "s/RAMLOCK\=no/RAMLOCK=yes/g" /etc/default/rcS
# Modify fstab for tmpfs
cat >> /etc/fstab << "EOF"
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /var/mail tmpfs defaults 0 0
EOF
# specific tuning for flash drive
cat >> /etc/sysctl.conf << "EOF"
# specific tuning for flash drive
vm.swappiness = 0
vm.laptop_mode = 0
vm.dirty_writeback_centisecs = 12000
vm.dirty_expire_centisecs = 12000
vm.dirty_ratio = 10
vm.dirty_background_ratio = 1
EOF
# Make delayed write in /etc/rsyslog.conf
sed -i -e "s/\t\//\t\-\//g" /etc/rsyslog.conf
# Install ramlog
wget http://www.tremende.com/ramlog/download/ramlog_2.0.0_all.deb
apt-get -y install lsof
dpkg -i ramlog_2.0.0_all.deb
# Set ramlog to write to HDD every hour
cp /etc/cron.daily/ramlog /etc/cron.hourly/ramlog
# Edit collectd
sed -i -e "s/DataDir \"\/var\/lib\/collectd\/rrd\"/DataDir \"\/var\/log\/collectd\/rrd\"/g" /etc/collectd/collectd.conf
mkdir /var/log/collectd
sed -i -e "s/DATA\=\"\/var\/lib\/collectd\/rrd\/localhost\"/DATA\=\"\/var\/log\/collectd\/rrd\/localhost\"/g" /usr/sbin/omv-mkgraph
# Edit monit
echo "set statefile /var/log/monit/monit.state" >> /etc/monit/monitrc
sed -i -e "s/ARGS\=\"\-c \$CONFIG \-s \/var\/lib\/monit\/monit\.state\"/ARGS\=\"\-c \$CONFIG \-s \/var\/log\/monit\/monit\.state\"/g" /etc/init.d/monit
mkdir /var/log/monit
# Adjust ramlog config
sed -i -e "s/# Description: ramlog daemon moves \/var\/log to ramdisk on startup and copies it back to harddrive on shutdown or restart/# Description: ramlog daemon moves \/var\/log to ramdisk on startup and copies it back to harddrive on shutdown or restart\n#\n# X\-Start\-Before: \$syslog rsyslogd smbd nmbd apache2 proftpd php5 samba ups dmesg ssh nfs nfsd monit statd\n# X\-Stop\-After: \$syslog rsyslogd smbd nmbd apache2 proftpd php5 samba ups dmesg ssh nfs nfsd monit statd\n# X\-Interactive: true/g" /etc/init.d/ramlog
# To get apache logging on a tmpfs
cat > /etc/init.d/apache2-tmpfs << "EOF"
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: apache2-tmpfs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Required-Start:
# Required-Stop:
# Short-Description: Create /var/log/apache2/error.log on tmpfs at startup
# Description: Create /var/log/apache2/error.log needed by Apache.
### END INIT INFO
#
# main()
#
case "${1:-''}" in
'start')
# create the /var/log/apache2/error.log needed by apache
mkdir /var/log/apache2
chmod 777 /var/log/apache2
touch /var/log/apache2/error.log
chmod 777 /var/log/apache2/error.log
;;
'stop')
;;
'restart')
;;
'reload'|'force-reload')
;;
'status')
;;
*)
echo "Usage: $SELF start"
exit 1
;;
esac
EOF
chmod 755 /etc/init.d/apache2-tmpfs
insserv -v
I've not got MySQL, but I have the other 2! When I try to start or restart mysql, it fails...pigeorgetaylor wrote:MY SQL
SSH
FTP
Fail at start up?
Hmmmmm.... gonna check out the interfaces files.benzeman wrote:I've not got MySQL, but I have the other 2! When I try to start or restart mysql, it fails...pigeorgetaylor wrote:MY SQL
SSH
FTP
Fail at start up?
Code: Select all
rm /var/run/mysql/*.sock
This does look very light! It's also very fast to boot! Keep up the good workCoburn wrote:RC2 has been built and I'm pleased to say that there's no errors on boot. Well, there is one about lighttpd's log files not being accessable, but there's a work around for that which is automatically applied.
I am also trying out making a RAR archive with the image. Hopefully it will be smaller than 512MB, which is the limit that I can upload per file, since a member was kind enough to link me to a file host that is decent.
Is it the same URL, or not available for d/l yet??Coburn wrote:RC2 has been built and I'm pleased to say that there's no errors on boot.