sudo apt-get remove wolfram-engine
# Disable Man indexing
sudo vi /etc/cron.weekly/man-db
exit 0 # add this in first line
sudo vi /etc/cron.daily/man-db
exit 0 # add this in first line
# Remove temporary hw-clock
sudo vi /etc/cron.hourly/fake-hwclock
exit 0 # add this in first line
# Add tmpfs in fstab
tmpfs /var/tmp tmpfs defaults,noatime,nosuid,size=30m 0 0
tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=50m 0 0
tmpfs /var/run tmpfs defaults,noatime,nosuid,mode=0755,size=2m 0 0
tmpfs /var/lib/sudo tmpfs defaults,noatime,nosuid,mode=0755,size=2m 0 0
tmpfs /var/spool/mqueue tmpfs defaults,noatime,nosuid,mode=0700,gid=12,size=30m 0 0
tmpfs /tmp tmpfs defaults,noatime,nosuid,mode=1777,size=30m 0 0
# for motion capture (optional)
tmpfs /mnt/motion_tmpfs tmpfs defaults,noatime,size=120M,mode=0777 0 0
# Combine /tmp and /var/tmp
cd /var
sudo rmdir tmp
sudo ln -s /tmp .
No comments:
Post a Comment