Monday, March 6, 2006, 16:45 - Desktop
I have made a script based on instruction on http://stanton-finley.net/fedora_core_4 ... notes.html but I only take several applications below to be installed and configured on my Fedora Core 4 Desktop. Those applications are:true type fonts
fedora extras (numlockx, x-screensaver)
yumex
java
flash
realplayer
adobereader
xine
totem-xine
xmms
x3270
gftp
thunderbird
mc
system-config-samba
samba
avg antivirus
smb4k
rar handling for archive manager
setting vino for remote desktop
And the codes is below:
#Script Name: ic.desktop.sh
#install and configure and also enhance Fedora Core 4 Desktop
#start creating date: 3 March 2006
#end date after testing: 6 March 2006
#it should be run as root otherwise you will get error
mkdir -p /root/fcupdate/apps
cd /root/fcupdate/apps
#installing True Type Fonts
echo "installing true type fonts..."
wget http://10.10.105.105/software/fedora/ex ... noarch.rpm
rpm -ivh msttcorefonts-1.3-4.noarch.rpm
#Install and configure Thunderbird for default email client
echo "Install and configure Thunderbird for default email client"
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
yum -y localinstall thunderbird-1.0.7-1.1.fc4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... il.desktop
cp --reply=yes redhat-email.desktop /usr/share/applications
#installing desktop utilities
#numlock on
echo "setting numlock on..."
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
rpm -ivh numlockx-1.0-4.fc4.i386.rpm
#screensaver
echo "installing screensaver..."
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
rpm -ivh xscreensaver-extras-4.21-4.i386.rpm
rpm -ivh xscreensaver-gl-extras-4.21-4.i386.rpm
#yumex graphical frontend for yum
echo "installing yumex..."
wget http://10.10.105.105/software/fedora/ex ... noarch.rpm
rpm -ivh yumex-0.44-1.0.fc4.noarch.rpm
#installing flash support
echo "installing flash support..."
wget http://10.10.105.105/software/fedora/ex ... 1.i386.rpm
rpm -ivh flash-plugin-7.0.61-1.i386.rpm
#installing utilites
echo "installing utilites..."
wget http://10.10.105.105/software/fedora/ex ... 2.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
rpm -ivh gftp-2.0.18-2.i386.rpm
rpm -ivh mc-4.6.1a-4.FC4.i386.rpm
#installing x3270
echo "installing x3270 - emulator for TN3270..."
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
rpm -ivh x3270-3.3.4-4.fc4.i386.rpm
rpm -ivh x3270-x11-3.3.4-4.fc4.i386.rpm
#installing samba server and configuration tool
echo "installing samba server and configuration tool"
wget http://10.10.105.105/software/fedora/ex ... 2.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... noarch.rpm
rpm -ivh samba-3.0.14a-2.i386.rpm
rpm -ivh system-config-samba-1.2.31-1.noarch.rpm
#installing xine and totem-xine a multimedia video player
echo "installing xine and totem-xine a multimedia video player"
mkdir xine
cd xine
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 12.tar.bz2
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... noarch.rpm
yum -y remove totem
rpm -Uvh *.rpm
tar xvfj all-20050412.tar.bz2
cd all-20050412
mkdir /usr/local/lib/codecs/
cp *.* /usr/local/lib/codecs/
chmod 755 /usr/local/lib/codecs/*
mkdir /usr/lib/win32
cp /usr/local/lib/codecs/* /usr/lib/win32
cd /root/fcupdate/apps
#installing xmms a multimedia sound player
echo "installing xmms a multimedia sound player"
mkdir xmms
cd xmms
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... a.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... noarch.rpm
wget http://10.10.105.105/software/fedora/ex ... f.i386.rpm
rpm -Uvh *.rpm
cd /root/fcupdate/apps
#installing Adobe Reader
echo "installing Adobe Reader"
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 1.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... zpluggerrc
rpm -Uvh compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
rpm -Uvh AdobeReader_enu-7.0.1-1.i386.rpm
rpm -Uvh mozplugger-1.7.1-4.i386.rpm
cp --reply=yes mozpluggerrc /etc/
cd /usr/lib/mozilla/plugins
ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so .
cd /root/fcupdate/apps
#installing realplayer
echo "installing realplayer..."
wget http://10.10.105.105/software/fedora/ex ... 10GOLD.rpm
rpm -ivh RealPlayer10GOLD.rpm
yum -y remove HelixPlayer
cp /usr/local/RealPlayer/share/realplay.desktop /usr/share/applications/
#installing java
echo "installing java..."
wget http://10.10.105.105/software/fedora/ex ... x-i586.bin
cp jre-1_5_0_06-linux-i586.bin /opt
cd /opt
chmod +x jre-1_5_0_06-linux-i586.bin
echo "please press space button then type yes followed by enter"
sleep 3
./jre-1_5_0_06-linux-i586.bin
ln -s /opt/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
cd /root/fcupdate/apps
wget http://10.10.105.105/software/fedora/extras/java.sh
cp --reply=yes java.sh /etc/profile.d
source /etc/profile.d/java.sh
/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.5.0_06/bin/java 2
echo "please press 2 then hit enter"
sleep 3
/usr/sbin/alternatives --config java
#installing avg antivirus for linux
echo "installing and configuring avg antivirus for linux"
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... 6.i386.rpm
rpm -ivh compat-libstdc++-296-2.96-132.fc4.i386.rpm
rpm -ivh avglinux-7.1-23_free_rh_avi0676.i386.rpm
chmod o+rx /opt/grisoft/avg7/bin/avgupdate
chmod o+w /opt/grisoft/avg7/data
chmod -R o+w /opt/grisoft/avg7/var/run
chmod -R o+w /opt/grisoft/avg7/var/update
#installing smb4k a samba share mounter application
echo "installing smb4k a samba share mounter application"
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
yum -y install kdelibs dmidecode kdebase lm_sensors xorg-x11-xdm
rpm -ivh smb4k-0.6.8-1.fc4.i386.rpm
chmod +s /usr/bin/smbmnt
chmod +s /usr/bin/smbumount
#updating Archive manager to handle rar files
echo "updating Archive manager to handle rar files"
wget http://10.10.105.105/software/fedora/ex ... 4.i586.rpm
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
rpm -ivh rar-3.5.1-1.2.fc4.i586.rpm
rpm -ivh unrar-3.5.4-1.2.fc4.i386.rpm
#configure remote desktop
echo "configure remote desktop"
#run this if you are ITD Technical support which need to remote FC4 desktop
# yum -y install vnc
wget http://10.10.105.105/software/fedora/ex ... %20fc4.pdf
echo "..."
echo "please run these configuration to configure remote desktop"
echo "..."
sleep 5
evince /root/fcupdate/apps/setting remote desktop fc4.pdf
echo "Installation and configuration complete!!!"
echo "Thank you"
#done
[ add comment ] | permalink |




( 3 / 15 )Thursday, March 2, 2006, 14:45 - Desktop
To specify the default save format, use the Options dialog (Tools | Options from the menu). Expand the Load/Save section and click on General.At the bottom of the dialog, there's a section titled "Standard file format." Choose a file type from the list box (for example, "Text document" or "Spreadsheet") and then, in the dropdown list, choose the file format you want to use for that type of file.
Office formats are available for text documents, spreadsheets and presentations. When you've made all the changes you want, click OK to save your changes. Warning messages will appear; see "When I save documents in Office format, I get a warning that formatting might be lost. What formatting is lost and what can I do about it?" elsewhere in this FAQ.
No matter what format you choose as default, you can always save a particular file in a different format by using File | Save As from the menu.
[ add comment ] | permalink |




( 2.9 / 16 )Thursday, March 2, 2006, 14:43 - Desktop
here's tips to ease you view current IP address (ordinary user can't use ifconfig to see it) or change your IP address (root access reqiured). note: I'm using gnome 2.10 under FC4Right-click on a vacant space on the panel (the one that have clock),
then choose "Add to Panel...",
select Network Monitor item.
Click Add button.
Right-click again on Network Monitor item that already display on panel
choose Move
and drag it next to clock
To see current IP address
Right-click again on Network Monitor item that already display on panel
click Properties
and choose Support tab.
To change current IP address
Right-click again on Network Monitor item that already display on panel
click Properties
click Configure button
enter root password if asked
[ add comment ] | permalink |




( 2.9 / 14 )Wednesday, March 1, 2006, 11:41 - Misc
A very nice Graphical Interface for telnet, ssh, rlogin to other machines which remember parameters for each machines like port, username and password. Have been using it for a while and like it much rather than typing on gnome-terminal ssh username@machines
and don't a have a lists of machines which I want to remote.
gnome-telnet is available on fedora-extra repository. Make sure file /etc/yum.repos.d/fedora-extra.repo has enabled=1 option
To install it type:
yum -y install gnome-telnet
[ add comment ] | permalink |




( 2.9 / 15 )Wednesday, March 1, 2006, 10:52 - Desktop
You can type this command as root: yum -y thunderbirdbut since I already downloaded before to my server, so this is my command
mkdir -p /root/fcupdate/apps
cd /root/fcupdate/apps
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
yum -y localinstall thunderbird-1.0.7-1.1.fc4.i386.rpm
cd
Now Login as user and follow this step to make Thunderbird as your Default email client on Gnome
"Desktop" > "Preferences" >
"More Preferences" > "Preferred Applications"
and selecting "Thunderbird Mail" in the drop-down menu under the Mail Reader tab.
Or you can edit file /usr/share/applications/redhat-email.desktop as root
and replace the line
Exec=launchmail
with
Exec=thunderbird
To simplify setting the same configuration for most PCs I have put file redhat-email.desktop to server and create a script to update user's launcmail configuration. Below is the script:
#Script name: ic.thunderbird.sh
#Install and configure Thunderbird for default email client
#date 1 March 2006
#It should be run as root otherwise you get error
mkdir -p /root/fcupdate/apps
cd /root/fcupdate/apps
wget http://10.10.105.105/software/fedora/ex ... 4.i386.rpm
yum -y localinstall thunderbird-1.0.7-1.1.fc4.i386.rpm
wget http://10.10.105.105/software/fedora/ex ... il.desktop
cp --reply=yes redhat-email.desktop /usr/share/applications
cd
#done
[ add comment ] | permalink |




( 2.9 / 15 )Next





