You are not logged in.

#1 2011-02-10 09:08:07

ancleessen4
Member
From: luxembourg
Registered: 2010-10-08
Posts: 199

Post install configuration

My personal 20 step post install config-hope this helps smile

I have just completed an SSD install.
(I love SSDs-fast and quiet-looking forward to them getting a bit cheaper!
I still use a 1GB HDD for storage-called 'big pig' see conky below wink )

Anyway, for my future reference and maybe to help people with post install ideas, I have posted my what I install/configure after a fresh ArchBang install.
In no particular order;
1.nvidia driver
remove ati-dri,intel-dri,mach64-dri,mga-dri,r128-dri,savage-dri,sis-dri,tdfx-dri
remove libgl
install nvidia
nvidia-xconfig

2.lm-sensors
https://wiki.archlinux.org/index.php/Lm_sensors

3.Firefox 4 beta (minefield)
http://nightly.mozilla.org/

4.tintwizard
http://aur.archlinux.org/packages.php?ID=29766
24 hour clock

5. vlc
http://www.videolan.org/vlc/

6. 'gb' keyboard /etc/X11/xorg.conf.d/10-evdev.conf: ;
https://wiki.archlinux.org/index.php/Be … S_keyboard

7. xfce4-power-manager
http://goodies.xfce.org/projects/applic … er-manager

8. urxvt configuration based on this one;
https://bitbucket.org/jasonwryan/eeepc/ … .Xdefaults
more info;
https://wiki.archlinux.org/index.php/Xdefaults

9. xscreensaver
https://wiki.archlinux.org/index.php/Xscreensaver

10. Speed up boot;
https://wiki.archlinux.org/index.php/Im … erformance
/etc/inittab implemented
/boot/grub/menu.lst implemented
/etc/rc.conf implemented

11. Zenity logout script;
http://bbs.archbang.org/viewtopic.php?id=279
.sudoers file updated;
ALL ALL=NOPASSWD: /sbin/shutdown

12. HAL stopped;
!hal in /etc/rc.conf.

13. htop installed;
http://www.archlinux.org/packages/extra/i686/htop/

14.openntpd installed;
https://wiki.archlinux.org/index.php/Ne … l#OpenNTPD

15.libreoffice installed;
http://www.archlinux.org/packages/extra … breoffice/

16.Install unzip;
pacman -S unzip

17. Install deadbeef;
https://bbs.archlinux.org/viewtopic.php?id=96968

18. CONKY Mod;

background yes
use_xft yes
xftfont Terminal:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 280 280
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color 000000
default_outline_color d9d7d6
alignment tr
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
#  Output
##############################################
TEXT
Host:$alignr$nodename
Kernel:$alignr$sysname $kernel on $machine
Uptime:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap usage:$alignr$swap/$swapmax

File Systems:
${color #5b6dad}/ ${color #7f8ed3}${fs_used /}/${fs_size /} ${color #7f8ed3}${fs_bar /}${color }
${color #5b6dad}home ${color #7f8ed3}${fs_used /home}/${fs_size /home} ${color #7f8ed3}${fs_bar /home}${color }
${color #5b6dad}big pig ${color #7f8ed3}${fs_used /media/58541afb-5fd5-40e1-abd0-6337d95ece0c/}/${fs_size /media/58541afb-5fd5-40e1-abd0-6337d95ece0c/} ${color #7f8ed3}${fs_bar /media/58541afb-5fd5-40e1-abd0-6337d95ece0c/}${color }
 

CPU usage:$alignr${cpu cpu0}%

Top cpu:
${top name 1}${alignr}${top_mem cpu 1}
${top name 2}${alignr}${top cpu 2}
${top name 3}${alignr}${top cpu 3}

cpu0 temp ${alignr}${execi 5 sensors | grep "Core 0" | cut -d "+" -f2 | cut -c1-2}C${color }
cpu1 temp${alignr}${execi 5 sensors | grep "Core 1" | cut -d "+" -f2 | cut -c1-2}C${color }
#${color #c0c0c0}${cpubar cpu0 3,238}
#${color #c0c0c0}${cpubar cpu1 3,238}
#cpu fan (scythe ninja fanless!)${alignr}${execi 5 sensors | grep "fan2" | cut -d "+" -f2 | cut -c10-16}rpm${color }
#sys fan${alignr}${execi 5 sensors | grep "fan1" | cut -d "+" -f2 | cut -c10-16}rpm${color }
#Battery:$alignr$battery
#${color 1793d0}${font Bitstream Vera:size=8:Bold:underline}Press [Super+x] for keybindings.${font}${color}

network 
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 15,140 333333 ff0000} ${alignr}${upspeedgraph eth0 
15,140 333333 00ff00}$color

Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}

SHORTCUT KEYS ${hr 2}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Dynamic Menu
Super+space$alignr Main Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+q$alignr Force Quit
Super+g$alignr Gimp
Super+l$alignr Logout
Super+u$alignr System Upgrade
Super+x$alignr Tiling Keybinds

19. Edit autostart.sh to delay conky start (file system detection)
(sleep 2s && conky -q) &

20. Install virtualbox (oracle)
CTKArch virtualbox install...

Job Done! (??)

21. Install yapan;
https://bitbucket.org/otsug/yapan/wiki/Home

Last edited by ancleessen4 (2011-02-17 09:38:16)

Offline

#2 2011-02-10 21:00:44

lrcaballero
Member
From: /Home/San Diego, California
Registered: 2010-11-20
Posts: 261
Website

Re: Post install configuration

@ancleessen4

Congrats!!! and thanks for sharing...


Live, Enjoy and Share

Offline

#3 2011-02-11 03:54:45

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,615
Website

Re: Post install configuration

great! Posts like this should be made sticky!!


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#4 2011-02-12 15:23:48

ancleessen4
Member
From: luxembourg
Registered: 2010-10-08
Posts: 199

Re: Post install configuration

@lrcaballero, @pablokal,
Hey Guys, thanks for the feedback...ArchBang is certainly coming along well.
A great community is developing here.
This is truly a fantastic Arch distro (let).

Greetings big_smile

ancleessen4,Luxembourg

Offline

#5 2011-02-14 03:34:21

amayatheworld
Member
Registered: 2010-11-25
Posts: 81

Re: Post install configuration

Nice 1 ancleesen4! The conky 1 sure helped!

Offline

#6 2012-04-08 10:12:24

Conker1r
AB Artist
From: GlobeVille
Registered: 2010-10-07
Posts: 147

Re: Post install configuration

For myself this is how it goes. Install AB

chromium, Miro, HandBrake, Gimp, Inkscape, MyPaint, MyPaint Brush packs, flac, faac, twolame, file-roller, p7zip, unrar, zip, libreoffice-writer, thunderbird, cups. whew!


It's only chaos to those not interested.

"Power aint nothing if you don't use it."
"I call it a sin Not to rule the world, if you've been blessed, with the strength!"

Offline

#7 2012-12-12 00:22:34

saim786
Member
Registered: 2012-12-12
Posts: 1

Re: Post install configuration

hello admin nice forum . i am a new user and i will be actively participating .. cool


SAIM..:)

Offline

#8 2014-09-10 23:19:41

basecase
Member
Registered: 2014-07-19
Posts: 12

Re: Post install configuration

Here  is my post install script.

 
#****
##	Name: Ryan Morris
##	Distro: Archbang
##	Description: This script will uncomment mirrors for US users,
##		 Edit pacman.conf for x86_64 and install an nice range of programs
##		plus Packer & the proprietary ATI driver.
##
##	Entry/Arguments: 
##			Input the username as the first argument.
##		ex: sudo sh archSTART.sh USERNAME
##
##

# #uncomment United states Mirrors for pacman
 sed -i '/Server = http:\/\/mirrors.acm.wpi.edu/,/^## Uz/s/#//1' /etc/pacman.d/mirrorlist

#################################################
#						#
#	Add [Multilib] -> /etc/pacman.conf	#
#						#
#################################################

sed -i 's/#.multilib]/[multilib]/' /etc/pacman.conf
 sed -i '/.multilib]/a Include = /etc/pacman.d/mirrorlist' /etc/pacman.conf

pacman -Syy

##############################
#										#
#	Edit Concky script to display temperature	#
#										#
##############################
#CPU Temp: $alignr${exec sensors | grep 'high' | cut -c16-19}C
#
 #High: ${exec sensors | grep 'high' | cut -c34-37}C $alignr Crit: ${exec sensors | grep 'crit' | cut -c33-37}C 


#########################################################
#
# 	Prepare Pacman keys for use and add Master Keys        #
#  		Next two lines not needed with archbang-light iso  #
#  		if arch-keys is run                                #
## Text borrowed from the mentioned script              #
##########################################################

echo "This script will do set up pacman keys.  Read more at https://wiki.archlinux.org/index.php/Pacman-key"
echo "Starting haveged... this collects the entropy needed to generate the keys"
systemctl start haveged
echo "Set up pacman keys"
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys
systemctl stop haveged
#################################
#				#
##Remove unneeded video drivers #
#				#
#################################

pacman -R xf86-video-ast \
        xf86-video-ati \
        xf86-video-cirrus \
        xf86-video-dummy \
        xf86-video-fbdev \
        xf86-video-glint \
        xf86-video-i128 \
        xf86-video-intel \
        xf86-video-mach64 \
        xf86-video-mga \
        xf86-video-modesetting \
        xf86-video-neomagic \
        xf86-video-nouveau \
        xf86-video-nv \
        xf86-video-openchrome \
        xf86-video-r128 \
        xf86-video-savage \
        xf86-video-siliconmotion \
        xf86-video-sis \
        xf86-video-tdfx \
        xf86-video-trident \
        xf86-video-v4l \
        xf86-video-vesa \
        xf86-video-voodoo \

#Additional Statement to remove Graphics drivers before Catalyst Install

pacman -R ati-dri \
        nouveau-dri \
        intel-dri \

###################
#		  #
# Core programs   #
#		  #
###################

pacman -S  --needed --noconfirm linux-headers \
        gksu \
        flashplugin \
        libreoffice-writer \
        libreoffice-impress \
        libreoffice-draw \
        libreoffice-calc \
        unetbootin \
        wireshark-gtk \
        guake \
        nmap \
        thunderbird \
        transmission-qt \
        vlc \
        pragha \
        codeblocks \
        libdvdcss \
        libdc1394 \
        smbclient \
        libmtp \
        gst-plugins-good gst-plugins-bad gst-plugins-ugly \
        gvfs \
        git \
        jshon \
        expac \
        wget \
        binutils \
        pkg-config \
        steam \
        polkit-gnome \
        xterm \
        gstreamer0.10-base-plugins \
        libcanberra \
        alsa-plugins \
        projectm \
        libgoom2 \
        gvfs-afc \
        gvfs-smb \
        gvfs-gphoto2 \
        dblatex \
        base-devel \
        qt4 \
        acpid \
        lib32-libxext \
        lib32-libdrm \
        gstreamer0.10-python \
        lm_sensors \
        hunspell-en \
        libreoffice-math \
        libreoffice-en-US \
        virtualbox  \
	perl-file-mimeinfo \
	gnome-icon-theme \
	lxappearance-obconf \
	wine \
	kdegraphics-okular \
	ebook-tools \
	

##################################################################	
## Install Packer and Compilation Tools				 #
##pacman -Syyu  packer base-devel --needed ## this doesnot work  #
#								 #
##################################################################

wget https://aur.archlinux.org/packages/pa/packer/packer.tar.gz  
gunzip packer.tar.gz
tar -xvf packer.tar 
cd packer 
makepkg -i --asroot --noconfirm

packer -S --noconfirm foxitreader \
	customizepkg \
	cmake \
	cclive \
	makemkv \
	grub-customizer \
	flex \
	bison \
	vala-012 \
	avant-window-navigator-bzr \
	libreoffice-extension-languagetool \
	python2-rsvg \
	overlook-fing \
	awn-extras-applets \
	satanic-gnome-icons \
	connman \ 
	cmst \
	juffed \
	juffed-plugins \
	libdesktop-agnostic \
	mdf2iso \
	mountiso \
	obmenu-generator \

#note Awn may not install correctly because of this line while compiling
##  " GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas"
##   SOLUTION:      Set theme to Some  icon set

#################################
#				#
#	Mountiso Initial Setup	#
#				#
#################################

mountiso --setup


#########################################
#					#
#	Networking (connman) setup	#
#					#
#########################################

systemctl enable connman.service
systemctl start connman.service

#########################################
#					#
#	Network Time Sysytemd daemons	#
#					#
#########################################

systemctl enable systemd-networkd 
systemctl enable systemd-timsyncd

#################################
#				#
#  Catalyst setup		#
#				#
#################################
 
sed -i '/#.testing]/a [catalyst]' /etc/pacman.conf
# sed -i '/.catalyst./a Server = http://catalyst.wirephire.com/repo/catalyst/$arch' /etc/pacman.conf
 sed -i '/.catalyst./a Server = http://70.239.162.206/catalyst-mirror/repo/catalyst/$arch' /etc/pacman.conf
 sed -i '/.catalyst./a Server = http://mirror.rts-informatique.fr/archlinux-catalyst/repo/catalyst/$arch' /etc/pacman.conf

sed -i '/#.testing]/a [xorg115]' /etc/pacman.conf 
sed -i '/.xorg115]/a Server = http://mirror.rts-informatique.fr/archlinux-catalyst/repo/catalyst/$arch' /etc/pacman.conf
sed -i '/.xorg115]/a Server = http://catalyst.wirephire.com/repo/xorg115/$arch' /etc/pacman.conf


 pacman-key --keyserver pgp.mit.edu --recv-keys 0xabed422d653c3094
pacman-key --lsign-key 0xabed422d653c3094

pacman -Syyuu
pacman -S catalyst-hook \
	  catalyst-utils \
	  catalyst-libgl \
	  opencl-catalyst \
	  lib32-catalyst-utils \
	  lib32-catalyst-libgl \
	  lib32-opencl-catalyst \

pacman -S lib32-catalyst-utils 

####################################
#
#	Blacklist opensource Driver(radeon)
#
####################################
echo 'blacklist radeon' >> /etc/modprobe.d/modprobe.conf 


#build  
catalyst_build_module all

aticonfig --initial
 
systemctl enable atieventsd
systemctl start atieventssd

systemctl enable catalyst-hook
systemctl start catalyst-hook
 
systemctl enable temp-links-catalyst
systemctl start temp-links-catalyst
 
##Configue Program setting
#Auto Start
echo 'guake &' >> /home/$1/.config/openbox/autostart
echo 'avant-window-navigator --startup &' >> /home/$1/.config/openbox/autostart

#################################################
#						#
#	Simlink Steam library on other disk to 	#
#		Filesystem location		#
#	#****      Test these lines before use	#
#################################################
#cd /home/$1/.local/share/Steam
#ls 


#  sudo cp -r * /mnt/devNULL/\[SteamLibrary-LiNUX\]/
#  sudo rm -r *
#
#ln -s /mnt/devNULL/\[SteamLibrary-LiNUX\]/
#steam steam://open/games


#########################################################
#							#
#	Add Clonezilla to grub				#		
#   ( future: get latest clonezilla from 		#
#	ftp server or web-set iso location to [DIR] -	#
#	link location with variable 			#
#							#	
#########################################################
echo "menuentry "CLONEZILLA x64"{ 
	insmod ntfs 
	set root=(hd1,2)
	set isofile="/clonezilla-live-2.2.1-25-amd64.iso"
	loopback loop $isofile
	linux (loop)/live/vmlinuz boot=live live-config noswap nolocales edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" keyboard-layouts=\"\" ocs_live_batch=\"no\" locales=\"\" vga=788 ip=frommedia nosplash toram=filesystem.squashfs findiso=$isofile
	initrd (loop)/live/initrd.img
} " >> /etc/grub.d/40_custom

#Update the Grub COnfig File with added entries
grub-mkconfig -o /boot/grub/grub.cfg

#** To Change the default sound device **#
#** BASED ON CARD 1 BEING THE DESIRED DEVICE **# 

echo "Now, to test the SOUND"
soundChoice="NULL"
until [ $soundChoice = "y" ]; do
	echo "You should hear sound, PRESS CTRL-C to exit prematurely"
	speaker-test -t sine -c2 -l1 -f70

	echo "Did you hear anything?"
	echo "Y for yes, N for no"
		read soundChoice
	if [ "$soundChoice" = "y" ] || [ "$soundChoice" = "Y" ]
	then	
		echo 'Sound should be working.'
	echo "Now Writing to File"
		rm /etc/asound.conf
		echo 'pcm.!default {' |   cat >> /etc/asound.conf
		echo "     type hw" |   cat >> /etc/asound.conf
		echo "     card" $cardNumber |   cat >> /etc/asound.conf	 
		echo "	   }" |   cat >> /etc/asound.conf
		echo "ctl!default { " |   cat >> /etc/asound.conf	
		echo '     type hw' |   cat >> /etc/asound.conf
		echo "     card" $cardNumber |   cat >> /etc/asound.conf	 
		echo "	   }" |   cat >> /etc/asound.conf
	exit
	else 
		aplay -l
		echo "Look at the card #, Try to pick the approprite sound device"
		echo "Enter the card number now"
		read cardNumber
	echo 'pcm.!default {' |   cat >> /etc/asound.conf
		echo "     type hw" |   cat >> /etc/asound.conf
		echo "     card" $cardNumber |   cat >> /etc/asound.conf	 
		echo "	   }" |   cat >> /etc/asound.conf
		echo "ctl!default { " |   cat >> /etc/asound.conf	
		echo '     type hw' |   cat >> /etc/asound.conf
		echo "     card" $cardNumber |   cat >> /etc/asound.conf	 
		echo "	   }" |   cat >> /etc/asound.conf
	fi
	done

Offline

#9 2014-09-10 23:52:06

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,800

Re: Post install configuration

@basecase might be worth uploading script somewhere possibly github to make it easier for users to view or download.

Thanks for sharing, it is something we really want to add to ArchBang


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#10 2014-09-11 02:36:51

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,615
Website

Re: Post install configuration

Description: This script will uncomment mirrors for US users,
##         Edit pacman.conf for x86_64 and install an nice range of programs
##        plus Packer & the proprietary ATI driver

A pity is so specific...especially the ati drivers make it useful for  a limited user group...


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

Board footer

Powered by FluxBB