Jump to content
pyth0n3

Fedora 16 after install

Recommended Posts

Posted (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 Shell

Screenshot1

Click for large version

Screenshot2

Click for large version

#!/bin/bash
###########################################
### ###
### Fedora 16 i686 after install script ###
### ###
###########################################

###Get root
su -

###First update
yum 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 Player
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

###Get Microsoft font
wget http://dl.dropbox.com/u/964512/lffl_fedora/msttcore-fonts-2.0-3.noarch.rpm
rpm -ivh msttcore-fonts-2.0-3.noarch.rpm

###Get Gnome Tweak
yum -y install gnome-tweak-tool

###Codec Audio&Video
yum -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/Video
yum -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 cazuri

N.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 GDM

Se editeaza /usr/share/gdm/gdm.schemas

Se cauta urmatorul block de cod

<schema>
<key>security/DisallowTCP</key>
<signature>b</signature>
<default>true</default>
</schema>

Se modifica directiva true in false

Se face un restart la GDM sau un simplu logout care comporta un restart pentru serviciul GDM

Proxy policy

Majoritatea 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 variabila

export http_proxy='http://proxy.server.com:port'

Optional:

Nu in ultimul rand un tool care poate fi de folos

yum -y  install lshw

man lshw pentru mai multe informatii

post-21017-14519442512952_thumb.jpg

post-21017-14519442513685_thumb.jpg

Edited by pyth0n3
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...