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

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:
- Vertical size of text edit box:
- 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)
Related topics
NewTopic