r22 - 17 Oct 2006 - 14:01:30 - HiramGibbardYou are here: TWiki >  Main Web > TWikiUsers > HiramGibbard
Hiram Gibbard Picture
Email: gibbard@scs.fsu.edu
Telephone: (850)644-0188
FAX: (850)644-0098
Department: SCS
Personal URL: http://www.scs.fsu.edu/~gibbard
Office Hours: MWTF: 8:15 - 11:45
Room: 432
Group: System Administration

Documentation

Mysql

Database Backup
      mysqldump  -u  -p  --opt database > backup-file.sql

      You can read this back into MySQL with:

      mysql  -u  -p database < backup-file.sql
      

Remote connections

Mysql Remote connections need to be configured in the mysql configuration file.

This may be done by editing /etc/mysql/my.cnf file

Comment out the line that states bind 127.0.0.1

Restart mysql: $/etc/init.d/mysql restar

Reconfigure Mysql

debian: dpkg-reconfigure mysql-server-*.* (-*.* is running version of mysql)


TWIKI

Creating TWiki Web

If you have privliges go to: https://www.scs.fsu.edu/twiki/bin/view/TWiki/AdminTools

Under "Managing" click on "Webs"

  • Type name of Web in textbox
  • Fill in the following fields as desired
  • Click "Create new web"

Under Groups create a group with the same name as the newly created web plus the word "Group" concatinated on the end

  • Click on "Groups"
  • Type Group name in textbox provided
  • Add your registered user names to the group like so * Set GROUP = UserName?, AnotherUser?

Under Web Prefrences

Restricting TWiki Registration by domain

Edit the .htaccess file located in twiki/bin/

Add the following at the bottom:

 
      <Files "register">
         order deny,allow          
         deny from all             
         allow from < Domain or ip address here > ex. .fsu.edu    
      </Files>

Comment out the following:

     #<Files "*">
     #      allow from all
     #</Files>

In the same file add the following entry near the top (I placed it underneath the ErrorDocument 401 entry)
ErrorDocument 403 https://Domain Path/twiki/bin/oops/Main/TWikiRegistration?template=oopsdomainrestrict

Create a file called oopsdomainrestrict.tmpl in the templates directory locate in twiki/templates/

Paste & save the following content in the file oopsdomainrestrict.tmpl:

%TMPL:INCLUDE{"twiki"}%
%TMPL:DEF{"titleaction"}%(oops) %TMPL:END%
%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
%TMPL:DEF{"heading"}%Restricted Registration%TMPL:END%
%TMPL:DEF{"message"}%
Registration can only be completed within the Yada Yada Domain.

%TMPL:END%
%TMPL:DEF{"topicaction"}% %TMPL:END%
%TMPL:P{"oops"}%

I also added another HELP at the top of the registration page stating that you can only register within the FSU domain.

This was the best solution I could com up with. If there is a proper was of doing this please send me an email letting me know how.


DHCP

Restarting

To restart the service on dns1, just run /usr/local/sbin/dhcpd.


Special Machines

ssh to Sun2, cd to /etc dir and then edit authorized_users.MACHINENAME file

ADD USER NAME TO THE LIST OF CURRENT USERS


Debian

apt-get install packagename

dpkg --install filename.deb


Windows

if printers is not working for windows but is for unix, try restarting samba, not the print server


Location of Files and why they are needed

On odin /var/www/tsg-schema is how the tables should be created

Mac

Flashing Globe during startup

This denotes that network startup has been enabled. Go system prefrences and under startup select your disk.

Adding Aliases

SSh smtp servers and edit the /etc/aliases file add the email name (i.e. education) followed by a colon, and then the usernames of users that need to be aliases seperated by comma. More information can be found on the man 5 aliases

Restarting cybercalendar

login to thor

execute: /etc/init.d/cybersched start

Personal Preferences (details in TWikiVariables)

  • Show tool-tip topic info on mouse-over of WikiWord links, on or off: (see details in TWikiPreferences)
    • Set LINKTOOLTIPINFO = off
  • Horizontal size of text edit box:
    • Set EDITBOXWIDTH = 70
  • Vertical size of text edit box:
    • Set EDITBOXHEIGHT = 22
  • Style of text edit box. width: 99% for full window width (default), width: auto to disable.
    • Set EDITBOXSTYLE = width: 99%
  • Optionally write protect your home page: (set it to your WikiName)
    • Set ALLOWTOPICCHANGE =

Related topics

NewTopic

Show attachmentsHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
pdfpdf hg-resume.pdf manage 39.3 K 17 Oct 2006 - 14:16 HiramGibbard  
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r22 < r21 < r20 < r19 < r18 | More topic actions
 
SCS TWiki

This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback