Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th January 2013, 02:01 PM
Haggis Offline
Registered User
 
Join Date: Mar 2005
Posts: 77
windows_xp_2003chrome
System Setup Script

I started to put together a little script that i can run when i do a fresh install of fedora

I am not at my computer just now and on a windows machine so this is from memory so far lol as to the applications i want and dont want

this is what i have so far

Code:
# This is a script setting up Fedora the way I like it
 
# Remove software that I don't want
yum remove brasero evolution rhythmbox firefox 
 
# Update fedora
yum update
 
# Install repos
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
wget https://dl-ssl.google.com/linux/linux_signing_key.pub
rpm --import linux_signing_key.pub
echo "[google]
name=Google Chrome 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64" >> /etc/yum.repos.d/google.repo'


# Install Google Chrome
yum install google-chrome-stable

 
# Install office and design applications
yum install kate gimp nautilus-image-converter nautilus-sound-converter 

# Install administration tools
yum install gparted gnome-tweak-tool

# Install media apps
yum install vlc

# Install desktop customisation tools and eyecandy
yum install cairo-dock cairo-dock-plug-ins

 
# Install Flash
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
yum -y install flash-plugin
Reply With Quote
  #2  
Old 17th January 2013, 03:50 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
windows_xp_2003chrome
Re: System Setup Script

I've done this for the last several releases. Just scripts for my personal use. Most of them work well. Then I decided to make one huge script by combing all of them. That worked well too (tested in VM's 100's of times) but it sure takes a long time to complete.

Most of the scripts just do automatically whatever I always do manually. They save time for the most part and they were a good exercise in bash scripting.

Some of the things my scripts do:
Custom bashrc for me and root
Install rpmfusion
Install 3rd party repositories
Install a lot of packages that I always use that aren't part of the generic release
Install media codecs
Create NFS mount points and edit ftsab accordingly
First run of rkhunter (installed with above group)
Install MoinMoin, including creating necessary files, setting permissions, handling SeLinux wrt MoinMoin, lots of other MoinMoin stuff
Custom boot menu

The list goes on. Here are my scripts:
PHP Code:
fedora_abcde.sh
fedora_conky_master_dual_core
.sh
fedora_conky_master_quad_core
.sh
fedora_conky_master_single_core
.sh
fedora_exclude
.sh
fedora_fast_mirror
.sh
fedora_flash_install
.sh
fedora_folding
.sh
fedora_gnome3_weather_extension
.sh
fedora_grub2_custom
.sh
fedora_grub_customizer
.sh
fedora_hosts
.sh
fedora_includes
.sh
fedora_infinality
.sh
fedora_install_gallery3
.sh
fedora_install_mediawiki
.sh
fedora_install_moin
.sh
fedora_ipv6
.sh
fedora_local_repo
.sh
fedora_media
.sh
fedora_mkmounts
.sh
fedora_nvidia
.sh
fedora_pianobar
.sh
fedora_root_rc
.sh
fedora_rpmfusion
.sh
fedora_static_network
.sh
fedora_stop_services
.sh
fedora_sudo
.sh
fedora_system_update
.sh
fedora_user_rc
.sh
fedora_yum_booster
.sh
fedora_yum_repos
.sh 
Some of these are really no longer used or needed.

I had a lot if fun figuring out how to write the scripts and make them work reliably. Got a lot of help from the fine folks here too!
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 17th January 2013, 05:40 PM
Haggis Offline
Registered User
 
Join Date: Mar 2005
Posts: 77
linuxsafari
Re: System Setup Script

what did they all do ?

yeah it's just to make it easier for me to setup a fresh install
Reply With Quote
  #4  
Old 17th January 2013, 05:52 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: System Setup Script

I need to make me a fedora-strip-out-all-the-crap.sh since Fedora 18 puts all kinds of extra stuff out there and no package customization in the install any more.
Reply With Quote
  #5  
Old 17th January 2013, 07:41 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
windows_xp_2003chrome
Re: System Setup Script

Quote:
Originally Posted by Haggis View Post
what did they all do ?

yeah it's just to make it easier for me to setup a fresh install
fedora_abcde.sh <-- Install and configure (to my liking) abcde
fedora_conky_master_dual_core.sh <-- Install conky on my dual core machine(s)
fedora_conky_master_quad_core.sh <-- Ditto for quad core machine
fedora_conky_master_single_core.sh <-- Ditto for single core machine(s)
fedora_exclude.sh <-- Edit /etc/yum.conf. Add an exclude= line
fedora_fast_mirror.sh <-- Playing around with yum-fastestmirror
fedora_flash_install.sh <-- Playing around with flash
fedora_folding.sh <-- Install and configure folding@home
fedora_gnome3_weather_extension.sh <-- Install the gnome3 weather extension
fedora_grub2_custom.sh <-- Customize boot menu
fedora_grub_customizer.sh <-- Ditto
fedora_hosts.sh <-- Add common host names and ip addresses for my local network
fedora_includes.sh <-- Pertains to "include" files I've made for my bash scripts
fedora_infinality.sh <-- Install the infinality repo and packages
fedora_install_gallery3.sh <-- Install and configure Gallery3
fedora_install_mediawiki.sh <-- Ditti MediaWiki
fedora_install_moin.sh <-- Ditto MoinMoin
fedora_ipv6.sh <-- Disable ipv6, I think
fedora_local_repo.sh <-- Install the "yum local" repository
fedora_media.sh < -- Install media codecs, media players, etc.
fedora_mkmounts.sh <-- Create commonly used NFS mount points and edit /etc/fstab accordingly
fedora_nvidia.sh <-- Install the nvidia drivers and akmods
fedora_pianobar.sh <-- Install/configure pianobar
fedora_root_rc.sh <-- Custom root bashrc
fedora_rpmfusion.sh <-- Install the rpmfusion repos
fedora_static_network.sh <-- Setup static networking
fedora_stop_services.sh <-- Stop and disable selected services
fedora_sudo.sh <-- Add myself to the sudoers list
fedora_system_update.sh <-- Major, first time system update with additional packages
fedora_user_rc.sh <-- Custom user bashrc
fedora_yum_booster.sh <-- Experimenting with speeding up yum
fedora_yum_repos.sh <-- Add additional yum repositories

Some of these are useless, now, or even before they were finished. A lot of them are still relevant in my opinion. Most shouldn't be run on anyone else's computer without first examining the code. Free for the asking.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #6  
Old 18th January 2013, 05:44 PM
Haggis Offline
Registered User
 
Join Date: Mar 2005
Posts: 77
windows_xp_2003chrome
Re: System Setup Script

Cool, if i ever get fedora 18 to install in virtual box without it taking over 1 hour to get to 30% then i will test my script
Reply With Quote
Reply

Tags
script, setup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux System Information Script Haggis Using Fedora 44 12th January 2013 06:30 AM
Which setup script is recommended? Forkjulle Installation and Live Media 1 15th November 2011 12:38 AM
[SOLVED] Help! Setup pppd on startup with init.d script for vpn lmcogs Servers & Networking 3 9th April 2011 11:38 AM
Where is adsl-setup script my frnds?? Bolia.Kukur Using Fedora 9 14th February 2008 10:01 AM
Setup Servers with an Easy to use script - Please Test paul_mat Servers & Networking 0 13th April 2006 09:18 AM


Current GMT-time: 11:40 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat