Manj Inst 151020

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Manjaro: simple, elegant, rolling, fast, friendly, KISS based on ArchLinux, w/ Xfce-4.12.

How BIG? = xterm -hold -e du -chs %N


Verify md5sum = xterm -fg gold -bg black -geom 60x6 -hold -e 'md5sum -c %F'

sha1sum = xterm -fg gold -bg black -geom 60x6 -hold -e ' sha1sum -c %F'
sha256sum = xterm -fg gold -bg black -geom 60x6 -hold -e 'sha256sum -c %F'
Create symlink = ln -s %f '%n (symlink)'

O. and when when you have it as you like it, make an fsarchiver snapshot!
IV. Others
A. Yogurt: 4 c. water + 2 c. dry milk + c. live yogurt; 8 - 12 hours at 115F.
B. For Samsung phone: APN =Access Point Name: movistar.WAP wap.movistar.ve
C. DLink KVM-2K: Scroll-lock + Scroll-lock +1 or 2 / +S (scan every 10 secs) / +ESC

Computer

d1p1

d1p2

d1p3

CANTV ECS mod H61H2-CM


DualCore G620, 2GB RAM;
WDC_WD5000AAKX, 500GB

sda1
/MANJ
29 G

sda2
/MX14
30 G

sda3
/DATL
368 G

AA1: AOA150(ZG5), 1G RAM;


DualCore Atom N270,
1.6Ghz, Hitachi HD 160G

sda1
/WIN
35 G

sda2
/MX14
20 G

sda3
/DATL
80 G

AA1: model KAV60 , 1G RAM;


Atom N270 (-HT-), 1.6Ghz,
Hitachi HD 160GB =WCI-02

sda1
/WIN
35 G

sda2
/MX14
20 G

sda3
/DATL
80 G

EeePC 1005HA 1GB RAM


DualCore Atom N270 1.6G
WDC_WD1600BEVT 160GB

sda1
/WIN
35 G

sda2
/MX14
15 G

sda3
/DATA
74 G

d1p4

d1p5

d1p6

d1p7

d1p8

Extend

III.Tweaks
A. Configure desktop, wallpaper, environment, settings, users, etal...
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. (changes 5% to 2%)
D. Dual mon: xrandr --output LVDS1 --auto --output VGA1 --auto --above LVDS1
E. Belkin Router: 00:22:75:4A:AD:EF Router IP: 192.168.2.1
F. git clone https://github.com/*/*.git
G. set xterm -geom 100x25 -e htop and/or xfce4-terminal --geometry 100x25
H. Alt +SysReq +R,S,E,I,S,U,B: Raising Skinny Elephants Is So Utterly Boring
I. Wifi management: ifconfig iwconfig ifup ifdown lspci -vv
J. users: # adduser for new, # addgroup for new groups.
aptitude keep-all
K. Swapiness: set sudo sysctl vm.swappiness=50 && cat /proc/sys/vm/swappiness
Set perm, add vm.swappiness=50 to end of /etc/sysctl.conf Default: 0-60-100
L. Inxi button: xterm -fg yellow -bg black -hold -geom 140x25 -e "bash /usr/bin/inxi -Fxz"
M. MaxiMini: wmctrl -r :ACTIVE: -b toggle,maximized_veRrt,maximized_horz
button = object-flip-horizontal
N. Thunar Actions:

VI. SATA Partitions, BIOS: 4 primaries; or 3 primaries & 1 extended with max 15 logicals
Partitions, ext4: P1=30G; P2=30G; P3=data 360G; L5 BOOTR, L6swap, Ln = ca 12 -18 G each
Leave /home on the root partition, use a separate /DATL Primary partition & automount it.
sda5
/BOOT
50 M

sda6
/SWAP
2G

sda7
/MANJ
18 G

sda8
/CLDX
17 G

Extend

II. Reboot and Config:


A. Populate /var/cache/apt/archives
B. Install doublecmd-qt axel geeqie mc
mirage fsarchiver transmission dropbox
C. Install AUR google-chrome (suspender)
acroread masterpdfedit copy.com
D. For HP-P1102w & HP-3050 run hp-setup
or hp-toolbox in root console for HPLIP
E. Setup scanner Acer/Benq S2W 3300U
(semi-Linux compatible):
a. mkdir /usr/share/sane/snapscan
b. cp /data/Hardware/Acer-Benq-scanner/u176v046.bin /usr/share/sane/snapscan
c. Make these changes in /etc/sane.d/snapscan.conf
un-comment: dev/usb/scanner0 bus=usb;
add the line: firmware /usr/share/sane/snapscan/u176v046.bin
F. Distro Independent Boot Partition (after @gohlip on Manjaro forum)
1. Create 30 50 MiB ext2 partition from a running distro, mine are all on /dev/sda5
# mount /dev/sda5 /mnt ;; the distro independent boot partition
2. Install grub2 on boot partition: # grub-install --boot-directory=/mnt/boot /dev/sda
3. Create custom /boot/grub/grub.cfg as per examples in my dropbox, 7-HW,etc./0 BOOTR.
4. New distro installation: Get new boot stanzas from /boot/grub/grub.cfg of newly installed
distro. Set OS bootloader to it's own root partition, sdaN: # grub-install --force /dev/sdaN
5. Update changed UUIDs: swap, resume and distros in the custom /mnt/boot/grub/grub.cfg

V. Tips
A. App won't nstall issues:
sudo rm -f /var/lib/pacman/db.lck &&
sudo pacman-mirrors -g && sudo pacman -Syyuu && sudo pacman -Suu
B. Console: ssh user@ip ssh -X user@ip
File manager: sftp://user@ip lsusb
C. $ 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
D. NO PUBKEY displays YourErrorNumber:
gpg --keyserver pgpkeys.mit.edu --recv-key YourErrorNumber
gpg -a export ReturnedKeyNumber | sudo apt-key add E. smartctl --H ;(help) smartctl s=on /dev/sda ;(turn on)
F. VirtualBox: sudo /etc/init.d/vboxdrv setup
G. 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
H. fsarchiver as root, to clone or restore to an unmounted partition, # cd /fsa and then:
# fsarchiver -ov savefs filename.fsa /dev/sdxN
# fsarchiver -ov restfs filename.fsa id=0,dest=/dev/sdxN
I. Cloning ntfs: Restore to sdxN, gparted to make sdxN bootable: umount, reboot sdxN
J. Print PDF: Reverse=Even Pages/Reverse ON; Anverse=Odd Pages/Reverse OFF
K. Print ODF: Reverse=Even Pages/Reverse ??;
Anverse=Odd Pages/Reverse ??
L. qpdf --decrypt input-file.pdf output-file.pdf {remove password from pdf files}

sda5
/BOOT
30 M

sda6
/ swap
1.5 G

sda7
/MANO
20 G

Sda8
/???
11 G

Extend

write to USB or burn DAO/SAO slowest

sda5
/BOOT
30 M

sda6
swap
1.5 G

sda7
/MANJ
18 G

Sda8
/???
11 G

sda5
/X1
12 G

sda6
/X2
12 G

sda7
swap
1.5 G

Extend

I. Get iso http://manjaro.org/get-manjaro/

...first 20131116..201407; 20150927..

VII.# GrubDir=/mnt/sdaX; # mount /dev/sdaX -o rw $GrubDir


# mount -o bind /proc $GrubDir/proc ;; Prepare chroot
# mount -o bind /dev $GrubDir/dev
# mount -o bind /sys $GrubDir/sys
;; REAL WORK FOLLOWS
# chroot $GrubDir grub-install --force --no-floppy "$GrubLocation"
# chroot $GrubDir update-grub
# umount $GrubDir
Lat10.2 N, Long71.3 W. /home/richard/Dropbox/7-HW,SW,Sys,Fon,etc/Distro-docs/manj-inst.odt 2015-10-20-19:29:27

SUCCESS: Passion driven. Enjoy work. Be good at somthing-practice. Focus on 1 thing. Push through doubt-physically, mentally. Serve others something of value. Ideas: listen, observe, curious, question, solve, connections. Persist through failure and C.R.A.P.

You might also like