I wanted to try a light weight distro to see how my Acer Aspire Revo computer reacted, and what I had to do to get it installed.
One problem I found after installation is the user I created didn't have a home directory so I could only login as the root user.
To fix the problem:
# userdel username
# useradd -m username
# passwd username
Give the user permission to SUDO
# usermod -g sudo username
To install the Nvidia drivers:
$ sudo su -
# init 1
Type root passwd
# /usr/local/bin/sgfxi will start the nvidia driver installation.
# reboot
Now I had to run this tool again to get the Video driver installed properly.
# /usr/local/bin/sgfxi
# reboot
To get the sound to go through the HDMI cable:
Create a /etc/asound.conf and add below:
pcm.!default {
type plug
slave {
pcm "hw:0,3"
}
}
ctl.!default {
type hw
card 0
device 3
}
Next go to Applications > Multimedia > Mixer and choose Switches and only have check mark in IEC958 1, You should now have sound going through your hdmi cable to your monitor.
Hardware Sensors Setup:
# apt-get install lm-sensors if it isn’t installed.
# sensors-detect and hit enter on most of the questions except for this one,
Error that I received and how to correct:
I received this message when booting up the system,
ACPI: resource nForce2_smbus [0x4d00-0x4d3f] conflicts with ACPI region IP2_ [0x4d00-0x4d04]
ACPI: resource nForce2_smbus [0x4e00-0x4e3f] conflicts with ACPI region SM00 [0x004e00-0x004e3f]
Edit your grub configuration file and add acpi_enforce_resources=lax
# sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=”acpi_enforce_resources=lax quiet”
# sudo update-grub or sudo update-grub2
Install Flash and multimedia codecs:
# apt-get install flashplugin-nonfree
# installrestrictedmultimedia
Performance Adjustments I like to do:
Swap Tweak added to the sysctl.conf file. sudo sysctl -p
# Change the system on how it uses Swap Space (Default 60)
vm.swappiness = 10
# Don’t shrink the inode cache aggressively (Default 100)
vm.vfs_cache_pressure = 50
Network Performance Adjustments.
net.core.rmem_max = 4194304
net.core.wmem_max = 4194304
# Decrease the time default value for tcp_fin_timeout connection
net.ipv4.tcp_fin_timeout = 30
# Decrease the time default value for tcp_keepalive_time connection
net.ipv4.tcp_keepalive_time = 1800
# Turn off the tcp_window_scaling
net.ipv4.tcp_window_scaling = 0
# Turn off the tcp_sack
net.ipv4.tcp_sack = 0
# Turn off the tcp_timestamps
net.ipv4.tcp_timestamps = 0
Change I/O Scheduler: Seems to give a better feeling on the desktop, no hesitation when doing big copies, backups etc, may affect other workloads on the system.
# sudo nano /etc/rc.local
test -f /sys/block/sda/queue/scheduler &&
echo deadline > /sys/block/sda/queue/scheduler
File System Tweak
This can help with reads and writes to hard drives, SSD drives may really like this.
# sudo nano /etc/fstab and add below.
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0