Gryphon - OpenSUSE 11.0
Jump to navigation
Jump to search
Gryphon - OpenSUSE 11.0 - Configuration log
General Setup
First boot
- Automatic configuration update ⇒ added NVIDIA repository + added auto update repository
- YaST ⇒ Repositories ⇒ disabled DVD repository
File system
- Mount sda5 to mnt/sda5
% su % mkdir /mnt/sda5 % chmod 777 /mnt/sda5 % ln -s /mnt/sda5/home /home % mv /srv /mnt/sda5/srv % ln -s /mnt/sda5/srv /srv
- Enable write access to user in group for NTFS mount (fmask=113,dmask=002 in /etc/fstab)
- /etc/fstab
... /dev/disk/by-id/scsi-SATA_IC35L040AVER07-_SXPTXF49264-part1 /windows/C ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 /dev/disk/by-id/scsi-SATA_ST3250620A_3QF0EC3W-part1 /windows/D ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 /dev/disk/by-id/scsi-SATA_IC35L040AVER07-_SXPTXF49264-part6 /windows/F vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/scsi-SATA_IC35L120AVV207-_VNVD02G4G4TKBG-part1 /windows/J ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 /dev/disk/by-id/scsi-SATA_IC35L120AVV207-_VNVD02G4G4TKBG-part2 /windows/K ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0 ...
Applications
Amarok
- Amarok collection stored in MySQL (host: localhost, port: 3306, DB name: amarok, user: amarok)
- To set up Amarok MySQL database (see Amarok MySQL HowTo):
% mysql -p -u root mysql> CREATE DATABASE amarok; mysql> USE amarok; mysql> GRANT ALL ON amarok.* TO amarok@localhost IDENTIFIED BY 'PASSWORD_CHANGE_ME'; mysql> FLUSH PRIVILEGES;
- Installed amarok-packman package (metapackage to install amarok from the packman repository).
- Selected Xine engine (needed for crossfading).
- → Now Amarok plays ogg in Gnome desktop too!
- Crossfading: 100ms.
Apache 2
- Configuration files in /etc/apache2.
- Can be partly configured through YaST package yast2-http-server.
- port: 80, interface: 127.0.0.1, 172.19.3.3, open port in firewall, Modules: PHP5.
- /etc/apache2/httpd.conf
... <Directory /> Options FollowSymLinks # because /srv is a symlink ... </Directory> ...
- /etc/apache2/default-server.conf
... ServerName gryphon ServerAdmin root@gryphon
- Apache user is given in /etc/apache2/uid.conf
Bash
~/.bashrc
... # 2007-07-28 - Misc. shell alias alias dua="du -sh * .*" alias dfh="df -h" alias la="ls $LS_OPTIONS -a" alias lla="la -l" ...
FireFox
- home = http://www.google.be
- iFox 3.0.1 add-on theme.
- Extensions
- Live HTTP headers 0.14
- Delicious Bookmarks 2.0.95
- Fire Gestures 1.1.3.1
- Removed/disabled extensions
- Beagle Indexer 1.1.0
- Remember password for sites + Use a Master Password
Gnome
- Gnome desktop - added new panel + config.
- Window List panel - show window from all workspace.
- gnome-terminal
- Set default terminal window size to 132x40.
- For Panel launcher (right-click properties, change gnome-terminal launcher exec line: gnome-terminal --geometry=132x40)
- Do the same for launcher in Application Menu (use Main Menu - System View).
- For application using terminal (Open GNOME Configuration Editor. Go to desktop/gnome/applications/terminal, edit value exec-args=-x --geometry=132x40. This is same as changing the settings in System → Preferred Applications → Terminal)
- Set default terminal window size to 132x40.
Gnome DO
- My reference page
- Start Gnome DO at login
- Hide window on first launch (quiet mode)
- Launch key: <alt>+space.
- Add kde3 applications to catalog: sudo ln -s /opt/kde3/share/applications/kde /usr/share/applications/kde3
- Plugins:
- Del.icio.us Tag Search - v2.0.
- Firefox v2.0.4 (don't forget about:config → browser.bookmarks.autoExportHTML = true).
- GNOME Terminal v1.0
- Google Calculator v1.0
KDE
- Wiki page on KDE.
- Installed Baghira OSX-like theme (package baghira).
- Style = Baghira
- Restored settings from previous install.
- Window Decorations = Baghira
- Border size = Normal
- Minimum Title Height = 22
- Show resize grip
- Add auto spacing
- Default Mode = Tiger
- Tiger → Border size = 1
- Buttons → custom title bar button positions = Help / Maximize / Minimize / (no spacer!) / Close (match WindowBlinds settings).
- Mouse
- Icons theme = Shere Khan X.
- Checked Double Click to open files and folders.
- Window Shadows enabled
- Active window size = Inactive window size = 6.
- Vertical offset = 80%.
- Horizontal offset = 40%.
- Shadow color = black.
- Remove shadow on move/resize.
- Desktop background = ~/.customization/Isabelle Hires Noir&Blanc crop-despeckle 936x1024.png.
- Screensaver → slideshow from slide~/.customization/screensaver< (incl. subfolders / resize photo).
- Appearance → Fonts
- Custom settings:
- General = Lucida Sans 9
- Fixed width = Lucida Console 9
- Toolbar = Lucida Sans 9
- Menu = Lucida Sans 9
- Window Title = Lucida Sans 10 (semibold)
- Taskbar = Lucida Sans 9
- Desktop = Lucida Sans 9
- Default settings:
- General = Sans Serif 10
- Fixed width = monospace 10
- Toolbar = Sans Serif 10
- Menu = Sans Serif 10
- Window Title = Sans Serif 10
- Taskbar = Sans Serif 10
- Desktop = Sans Serif 11
- Custom settings:
- Keyboard shortcuts
- Popup Launch Menu = Win + Space
- Very handy in OpenSuse when combined with the search box in launch menu. Simply type Win + Space followed by the name of the application.
Kate
KMixer
- Global keyboard shortcuts (Menu Settings → Configure Global Shortcuts or through YaST → Look & Feel):
- Increase Volume of Master Channel: Ctrl+KP_Add
- Decrease Volume of Master Channel: Ctrl+KP_Subtract
- Toggle Mute of Master Channel: Ctrl+KP_Divide
Konsole
- Settings → Font → Bitstream Vera Sans Mono, size 8.
- Settings → Size → 132x40.
- Settings → Save as Default.
- Window Menu → Advanced → Special Application Settings; → Geometry panel → Position → Remember.
Konqueror
- View → Icon Size → Tiny.
Launchy
- Installed from packman repository.
- Option: NO check for update at start up.
- Option: Hide Launchy when it loses focus.
- Shortcut: Alt+Space (Ctrl+Space is taken by Opera for home page)
- Catalog: added /opt/kde3/share/applications/kde/, extension *.desktop
- Gnome: add Launchy as new entry to startup program list (Launchy, /usr/bin/launchy, keystroke launcher).
- Firefox: bookmarks must be exported to .html to be indexed by Launchy. Type about:config in address bar, and change the settings browser.bookmarks.autoExportHTML ← true.
MediaWiki
- Version mediawiki 1.12.0.
- Requires LAMP server packages (Linux, Apache, MySQL and PHP).
- Installation
- Assume mediawiki-1.12.0.tar.gz copied at /srv/www/htdocs
- Assume apache browser user/grp: wwwrun/www
% su % cd /srv/www/htdocs/ % tar -xzvf mediawiki-1.12.0.tar.gz % mv mediawiki-1.12.0 wiki % chown -R wwwrun wiki % chgrp -R www wiki
- Browse to http://localhost/wiki/config. Settings set as follows:
- Wiki name: wiki
- Admin user: wikiadmin
- Admin pwd: ********
- database name: wikidb
- DB username: wikiuser
- DB pwd: ********
- su account: root
- su pwd: ********
- Copy configuration files:
cd /srv/www/htdocs/wiki/ cp config/LocalSettings.php . chmod 600 LocalSettings.php chown wwwrun LocalSettings.php chgrp www LocalSettings.php rm -r config
- Browse to http://localhost/wiki. Create user baddreams.
- user: baddreams
- pwd: ********
- email: baddreams@gryphon.hell
- real name: Baddreams
- File LocalSettings.inc.php:
- Enable file upload.
$wgEnableUploads = true;
- File includes/DefaultSettings.php:
- Change supported upload file types.
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf' );
- Add directory http://localhost/wiki/upload (root - chmod 755), to store big upload files.
MySQL
- Root password set (e.g. through phpMyAdmin → privileges → select root user → Change pwd)
Opera
- Use Master Password to protect saved passwords.
- Set Google as default search engine (toolbar and speed dial).
SSH
- Helper aliases in #Bash:
alias sshag="ssh-agent bash --rcfile ~/.basshrc" # launch a shell in which ssh private key passphrase is cached alias sftpn="sftp daemenj@ftp.noekeon.org" alias sshn="ssh daemenj@ftp.noekeon.org"
- sshag uses the rcfile ~/.basshrc:
# .basshrc: Bash resource file for preloading ssh keys in the ssh-agent # # Use: # --- # ssh-agent bash --rcfile ~/.basshrc #Source primary resource file source ~/.bashrc #Add all ssh keys in ~/.ssh ssh-add starts a new shell in which passphrase is cached. It uses the rcfile <tt>~/.basshrc</tt>:
TrueCrypt
- Using TrueCrypt 6.0a.
- Personal configuration directory in ~/.tc.
- Added function tc in ~/.bashrc to mount tc volume in command-line.
# 2008-07-28 - macro for TrueCrypt # To mount a volume: tc VOLUME-NAME # to unmount : tc -d tc() { if [ "$1" == "" ] then echo "usage:" echo " tc VOLUME-NAME" echo " tc -d" elif [ "$1" == "-d" ] then truecrypt -d else echo "Mounting TrueCrypt volume \"$1\" to /mnt/tc" truecrypt -k ~/.tc/tckeyfile "$1" /mnt/tc fi }
- Settings → Keyfiles → add ~/.tc/tckeyfile as default key file.
- Settings → Preferences → System Integration panel → Open Explorer window for succesfully mounted volume.
X
- Fonts installed in ~/.fonts:
- Mac fonts AppleGaramond (Bold/Italic/...)
- Mac fonts Aquabase (Bold/Italic/...)
- Mac fonts Lucida (Console/Sans/...)
- Chess Alpha 2
- chess_merida_unicode
- fences
- symbol
To Do
- [2008-08-13] @TODO - Upgrade Launchy.
- [2008-07-28] @TODO - Describe general file system setup (sda5, symlink to /home, symlink to /srv).
- [2008-07-28] @TODO - fix mbstring support (see http://localhost/phpMyAdmin).
- [2008-07-28] @TODO - MediaWiki - change pwd.
- [2008-07-28] @TODO - MediaWiki - Install some memcache sw (Turck MMCache, eAccelerator, APC or XCache).
- [2008-07-30] @TODO - Set up phpMyAdmin (can't be accessed anymore since root password was set).
- [2008-07-31] @TODO - Solve pulseaudio dependency problem during system update.
pulseaudio-utils-0.9.10-26.3.i586 requires libpulse-browse0 = 0.9.10, but this requirement cannot be provided pulseaudio-module-gconf-0.9.10-26.3.i586 requires pulseaudio = 0.9.10, but this requirement cannot be provided
- Temporary fix: disable packman repository from the list of software repositories.
- [2008-07-31] @TODO - Solve VLC no sound in Gnome.
Done
- [2008-07-31]Solve Amarok not playing OGG file in Gnome.
- → Install Amarok package from Packman repository, and select Xine engine.
Recovered from previous install
- [2008-07-28] Truecrypt directory ~/.tc.
- [2008-07-28] GNUpg directory ~/.gnupg.
Configuration Log
- [2008-07-28] Install - Package php5-mysql.
- [2008-07-28] Install - Package yast2-http-server.
- [2008-07-28] Install - Wiki mediawiki 1.12.0.
- [2008-07-28] Settings - YaST → System Services (run level) → enable mysql to run at level 2,3,5.
- [2008-07-28] Settings - Copied from previous install: ~/.gnupg.
- [2008-07-28] Install - Opera 9.51.
- [2008-07-28] Install - BitStream Vera 1.10 (copied to /usr/share/fonts).
- [2008-07-28] Install - TrueCrypt - TrueCrypt 6.0a (extract and execute; will install very quickly with YaST).
[2008-07-28] Settings - TrueCrypt - chmod u+s /usr/bin/truecrypt.- Setuid does not work on GTK+. Instead add /usr/bin/truecrypt to /etc/sudoers.
- [2008-07-28] Settings - TrueCrypt - Added to /etc/sudoers: ALL ALL = (ALL) NOPASSWD: /usr/bin/truecrypt.
- [2008-07-28] Settings - TrueCrypt - as root, mkdir /mnt/tc;
- [2008-07-28] Settings - TrueCrypt - Added macro tc in ~/.bashrc.
- [2008-07-28] Settings - Bash - Added to ~/.bashrc alias sshag, sftpn, sshn, dua, dfh, la, lla.
- [2008-07-30] Install - Package w32codec-all.
- [2008-07-30] Settings - MySql - Change root password (phpMyAdmin → privileges → select root user → Change pwd).
- [2008-07-30] Settings - Amarok - wizard setup - use MySQL.
- [2008-07-30] Settings - Gnome - Window List panel - show window from all workspace.
- [2008-07-31] Settings - MediaWiki - Enabled file upload.
- [2008-07-31] Settings - MediaWiki - Added pdf as allowed upload file type.
- [2008-07-31] Settings - MediaWiki - Added directory http://localhost/wiki/upload for big file upload.
- [2008-07-31] Settings - Scarlet box - DNS Relay → DNS Relay local database → local domain name = hell.
- [2008-07-31] Settings - YaST → Network devices → Network settings → Hostname/site = gryphon.hell (before was linux-co7e.site).
- Note: hostname can also be found in /etc/HOSTNAME - but might be set/ignored by DHCP client
- Note: domain name must only contain letter/figure/hyphen; it can't contain any underscore!
- [2008-07-31] Install - Installed codecs-gnome.ymp (http://opensuse-community.org/codecs-gnome.ymp).
- Added repositories:
- http://download.opensuse.org/distribution/11.0/repo/non-oss/suse (Main Repository (NON-OSS))
- http://download.opensuse.org/distribution/11.0/repo/oss (Main Repository (OSS))
- http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/ (VideoLan Repository)
- http://ftp.skynet.be/pub/packman/suse/11.0/ (Packman Repository)
- Package installed: ffmpeg, flash-player, gst-fluendo-mp3, java-1_5_0-sun-plugin, libdvdcss, libxine1, w32codec-all
- Added repositories:
- [2008-08-09] Settings - /etc/fstab - changed fmask=133,dmask=022 to fmask=113,dmask=002 (enable write access to users).
- [2008-07-31] Install - Installed gstreamer plugins and addons: gstreamer-0_10-ffmpeg, gstreamer-0_10-plugins-uglygstreamer (http://opensuse-community.org/codecs-gnome.ymp).
- [2008-08-10] Settings - KDE - Global keyboard shortcuts for KMixer.
- [2008-08-10] Settings - VLC - Settings → Preferences → Video → Zoom video = 2.0000 (requires Advanced options checked).
- [2008-08-10] Settings - FireFox - installed iFox 3.0.1 theme add-on.
- [2008-08-12] Settings - X - Installed (home) MAC fonts (Garamond, Lucida, Aqua base)
- [2008-08-12] Settings - X - Installed (home) fonts ChessAlpha2, chess_merida_unicode, fences, symbol
- [2008-08-12] Settings - KDE - Updated window shadows, window decorations,...
- [2008-08-13] Install - Launchy.
- [2008-08-21] Settings - Configure Desktop - Popup Launch Menu keyboard shortcut = Win + Space.
- [2008-08-21] Settings - Network settings - Do not change hostname via DHCP.