pyth0n3 Posted December 12, 2011 Report Posted December 12, 2011 (edited) Note:Am adunat mai jos intrun script bash cateva optiuni after install pentru fedora 16 Poate fi rulat intrun sistem de 32 biti Multe optiuni sunt comentate doarece sunt optional , decideti voi care vreti sa le rulati si care nu Screenshot fedora 16 after fresh install , custom wallpaper (NOT default)Gnome3 ShellScreenshot1Click for large version Screenshot2Click for large version #!/bin/bash############################################## ### ### Fedora 16 i686 after install script ###### ### ##############################################Get rootsu - ###First updateyum update yum upgrade###Enable Fusion Repository yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm\http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm###Get the Fash Playerrpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpmrpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux###Get Microsoft fontwget http://dl.dropbox.com/u/964512/lffl_fedora/msttcore-fonts-2.0-3.noarch.rpmrpm -ivh msttcore-fonts-2.0-3.noarch.rpm###Get Gnome Tweakyum -y install gnome-tweak-tool###Codec Audio&Videoyum -y install totem-xine totem-nautilus totem-mozplugin totem-pl-parser totem-youtube\xine-lib-extras xine-lib-extras-freeworld gstreamer-ffmpeg ffmpeg ffmpeg-libs\gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly compat-libstdc++-33\compat-libstdc++-296 libdvdread libdvdnav lsdvd libdvbpsi###DVD/Videoyum -y install libdvdread libdvdnav###########################################################################Some additional options can be added by uncommenting the examples ##############################################################################Get VLC-media player#yum -y install vlc####Enable sudo on USERNAME (change USERNAME with your LOGNAME )#echo 'USERNAME ALL=(ALL)ALL' >> /etc/sudoers###Get the GCC compiller#yum install gcc###Set vi cmd-line editing mode#echo 'set -o vi' >> $HOME/.bashrc ###Fix wifi error with ath5k driver "SIOCSIFFLAGS: Operation not possible due to Rf-kill"###Should work also with other drivers #yum -y install rfkill #rmmod ath5k#rfkill unlock all#modprobe ath5k#ifconfig wlan0 up###Change GDM default image (change FILE.JPG with your image name)#`dbus-launch | sed "s/^/export /"`#GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/FILE.JPG"###Install nmap#yum -y install nmap##################### Optional ######################Get Korn shell#yum -y install ksh###Get scrot - screen capture too#yum -y install scrot###Disable all firewall default rules #/sbin/iptables -F && /sbin/service iptables save ###Disable selinux#su -c 'sed s/^SELINUX=.*$/SELINUX=disabled/ -i /etc/sysconfig/selinux'wget http://sprunge.us/NXZK-O afterinstall.sh Some other shit:Disable -nolisten tcp (in cazul in care chiar este nevoie ca Xserver sa ruleze pe un port tcp)Note: De obicei nu este nevoie, doar in unele cazuriN.B Se poate totusi face forwarding prin ssh folosind optiunea -X Dar in unele situatii va trebui totusi setat xserver sa ruleze pe un port tcp Trebuie doar trecut de cateva restrictii in GDMSe editeaza /usr/share/gdm/gdm.schemasSe cauta urmatorul block de cod<schema><key>security/DisallowTCP</key><signature>b</signature><default>true</default></schema>Se modifica directiva true in falseSe face un restart la GDM sau un simplu logout care comporta un restart pentru serviciul GDMProxy policyMajoritatea companiilor folosesc un proxy pentru internet , iar pt a putea folosi yum se vor face cateva modificari va trebui editat fisierul /etc/yum.conf si se vor adauga urmatoarele linii de cod proxy=http://proxy.server.com:port proxy_username=user proxy_password=password Note:In cazul in care proxy-ul nu cere un user sau pass ultimele 2 linii nu sunt obligatorii Pentru a termina se va exporta urmatoarea variabilaexport http_proxy='http://proxy.server.com:port'Optional:Nu in ultimul rand un tool care poate fi de folosyum -y install lshwman lshw pentru mai multe informatii Edited December 12, 2011 by pyth0n3 1 Quote