Sie sind auf Seite 1von 1

SalineOS Because speed and stability matter. A fast, Debian Squeeze, Xfce4.

6 distro w/slim, backports & security updates. 20110123


v1.0=2011jan21, 1.1=jan26, 1.2=feb19, 1.3=mar18, 1.3.1=mar22, 1.3.2=apr05, 1.4=may10, 1.5=oct26, 1.6=2012feb01, 1.7=aug08, v2.0=x. 1. Install iso from http://salineos.com/downloads.php then burn DAO/SAO at slowest speed; accepting installrestrictedmultimedia and set language during instalation. 2. Reboot and Config: a) *as root, edit both /usr/local/bin/RunUpdate & ..Testing *to change => clean to autoclean b) then Populate /var/cache/apt/archives: if /data/archives-sos does not exist then rename /var/cache/apt/archives /var/cache/apt/archives.orig c) Create: /etc/apt/apt.conf APT::Default-Release "squeeze"; APT::Cache-Limit 35000000; // following lines from Craigevil/sidux, APT::Get::AutomaticRemove "0"; APT::Get::HideAutoRemove "1"; // Recommends are still abused by many APT::Install-Recommends "0"; APT::Install-Suggests "0"; Debug::pkgAutoRemove "0"; // PDiffs reduce downloads, but often fail Acquire::PDiffs "0"; d) Do #2a above, then run Anthony's AutoUpdate tool on the base instalation. e) Edit fstab to automount /data & /trial; set relatime,nodiratime in options f) Get smxi: cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi and inxi: cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi && inxi g) Remove iceweasel icedove openoffice.org xchat baobab chromium telnet h) Install krusader conky acroread geeqie htop mc sux moc testdisk qpdf fsarchiver audacious streamtuner/ripper devede ttf-mscorefonts-installer foo2zjs unetbootin b43-cutter firmware-b43(-lpphy)-installer calibre i) Get stable Google-Chrome, LibreOffice, Dropbox, Firefox, Flash-Video-Downloader, VirtualBox j) Test printer (semi-Linux compatible HP1020) and setup if necessary with localhost:631 in browser; autostart /data/bin/hp1020set if needed usb://HP/LaserJet%201020 Foomatic k) Setup scanner Acer/Benq S2W 3300U (semi-Linux compatible): mkdir /usr/share/sane/snapscan cp /data/Hardware/Acer-Benq-scanner/u176v046.bin /usr/share/sane/snapscan ;;; Make these changes in /etc/sane.d/snapscan.conf: # un-comment # dev/usb/scanner0 bus=usb; firmware /usr/share/sane/snapscan/u176v046.bin l) set xterm -geom 130x30 -e htop and/or xfce4-terminal --geometry 110x25 m) Configure desktop, wallpaper, environment, settings, users, etal.: Vertical Gradients = #340d21 #0c0812 Bright -10 Saturation 1.0 n) Reboot and Backup with salineos-backup, or boot SysRescueCD and use fsarchiver 3. Tweaks & Tips a) backport kernel: apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo-686-pae b) for EeePC: install eee-acpi-scripts then add quiet silent acpi_osi=Linux to /etc/default/grub & update-grub c) tune2fs -m2 /dev/sdaX where / is located. (change 5% to 2%) d) Mod: /etc/X11/Xwrapper.config: change to nice_value = -1 e) Do not use : or in Filenames f) Dual mon: xrandr --output LVDS1 --auto --output VGA1 --auto --above LVDS1 g) Tips Belkin Router: h) git clone https://github.com/SalineOS/SalineOS.git i) DLink KVM-2K: Scroll-lock + Scroll-lock +1 or 2 / +S (scan every 10 secs) / +ESC j) Convert ~/Documents, etal to sym-links to /data/Documents, /data/Downloads, etc. k) Console font in /etc/default/console-setup: (for 1440x900 LCD) FONTFACE="TerminusBoldVGA" FONTSIZE="16" FONT=LatTerminusBold28x16.psf.gz SCREEN_WIDTH=100 SCREEN_HEIGHT=40 l) Autologin: /etc/slim.conf: autologin=yes & default_user=<user_name> m) Alt + SysReq + R,S,E,I,S,U,B: Raising y Elephants Is So Utterly Boring n) Yogurt: 4 c. water + 2 c. [nonfat] dry milk + c. live yogurt; 8 - 12 hours at 115F. o) Wifi management: ifconfig iwconfig ifup ifdown lspci -vv p) Console: ssh user@ip ssh -X user@ip File manager: sftp://user@ip lsusb $ startx > /dev/null 2>&1 # etune # e2label Time:%T Date:%F TimeTip:%A %x # dpkg-reconfigure tzdata (for older Debian versions - tzconfig) # date MMDDhhmmCCYY.00 && date && hwclock --systohc && date && hwclock # ntpdate q) Prefer apt-get & synaptic: apt-get -f install dpkg configure -a r) smartctl --H ;(help) smartctl s=on /dev/sda ;(turn on) s) t) VirtualBox: sudo /etc/init.d/vboxdrv setup u) dd if=/dev/zero of=/dev/sdb to zero USB then Gparted >Device >CreatePartitionTable dd if=path-to-input-file.iso of=/dev/sdb bs=4M;sync gparted resize & create live-rw v) fsarchiver to clone and restore a partition: # fsarchiver -ov savefs /RCVR/winxp1.fsa /dev/sdxN # fsarchiver -ov restfs /RCVR/winxp1.fsa id=0,dest=/dev/sdxN Cloning ntfs: Restore to sdxN, gparted to make sdxN bootable: umount, reboot sdxN w) users: adduser for new user, addgroup to add new groups. aptitude keep-all x) Print PDF: Reverse=Even Pages/Reverse ON; Anverse=Odd Pages/Reverse OFF y) qpdf --decrypt input-file.pdf output-file.pdf {remove password from pdf files} z) APN =Access Point Name: movistar.WAP wap.movistar.ve 4. Partitions: Use only 4 primaries; or 3 primaries & 1 extended with max 15 logicals (on SATA) a) Main drive with ext4 Partitions: / [20 GB]; /DATA [115 GB]; /trial [10GB]; swap [2GB] b) Keep /home on the / partition, create separate a /data partition and automount it. c) My computers and partitions:
Computer CANTV, ECS mod. H61H2-CM, DualCore G620, 2GB RAM; WDC_WD5000AAKX, 500GB New Core2 Duo, 2 GB RAM; SATA, SAMSUNG HD 160.0GB; SATA, WD1600JS-00 HD 160GB P4 Clone, 1 GB RAM; IDE, HD 40 GB; AA1: AOA150 (ZG5), 1 GB RAM; DualCore Atom N270, 1.6Ghz; Hitachi HD 160 GB; EeePC 1005 HA, 1 GB RAM; DualCore Atom N270, 1.6Ghz; WDC_WD1600BEVT, 160 GB d1p1 sda1 /SAL1 41G sdb3 /SAL 20 G sda1 /sos 10 G sda1 /WIN 35 G sda1 /win 25 G d1p2 sda2 /SAL2 39G sdb4 /DATA 117 G sda2 /data 27 G sda2 /sos 20 G sda2 /PE 5G d1p3 sda3 /DATL 285G Extend ed d1p4 Extended d1p5 sda5 /DATN 75G sda1 /WIN 30 G d1p6 sda6 /X1 10G sda2 /DATF 59 G d1p7 sda7 /X2 10G sda3 /DATL 49 G d1p8 sda8 swap 4G sda4 /LIN 10 G

X1, X2, X3
Extended Extended

sda3 /swap 1G sda3 /data 80 G sda3 /data 97 G

sda5 /swap 2G sda5 /sos 10 G

sda6 /xtra ?G sda6 /xtra 8G

sda7 /xtra ?G sda7 swap 2G

--sda8 /ddl 3G

5. Reinstall grub 2 using grub-doctor from SAL2 live boot or installation of SAL2. 6. How to chroot: # mount --bind /proc /mnt/sda1/proc # mount --bind /dev /mnt/sda1/dev # mount --bind /sys /mnt/sda1/sys # chroot /mnt/sda1 && update-grub // Do your changes; then when finished, # umount /mnt/sda1/sys && umount /mnt/sda1/ && umount /mnt/sda1/proc
Lat 10.2N, Long 71.3W: /home/richard/Dropbox/3-OurStuff/Distro-docs-db/sal1-inst-rh.odt 2013-03-09-15:42:27

Extended

Das könnte Ihnen auch gefallen