- Compile NCBI
- make sure link the actual makefile in
platform/to the root level - make sure the paths in the linked makefile are modified to your environment
- make sure link the actual makefile in
- Compile SLRI
- make sure
$NCBIis set - link
lib/*.mkto root level cd lib && make lib
- make sure
- Compile bzip2
- Compile libiodbc (as ODBC dependency)
- Set environment var
$NCBI,$SLRI,$ODBC, and$BZDIR - Comment out
ValNodeUniqueinseqhound/include/intrez_misc.handseqhound/src/intrez_misc.c cd seqhound && ./makeallsh odbc all
2010-12-23
Notes on Compiling SeqHound
2010-12-17
Secure GRUB
Version 1 (aka 0.98)
Reference cyberciti.biz
Sample config file:
Version 2 (aka 1.98)
Reference ubuntuforums.org
Reference cyberciti.biz
#grub-md5-crypt
Password:
Retype password:
$1$NYoR71$Sgv6pxQ6LG4GXpfihIJyL0# vi /boot/grub/menu.lst(Red Hat/boot/grub/grub.conf)
Edit file and add a password line as follows:password --md5 $1$NYoR71$Sgv6pxQ6LG4GXpfihIJyL0
Sample config file:
default 0
timeout 5
password --md5 $1$NYoR71$Sgv6pxQ6LG4GXpfihIJyL0
title Debian GNU/Linux, kernel 2.6.13.4-cust-en-smp
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda3 ro
savedefault
bootVersion 2 (aka 1.98)
Reference ubuntuforums.org
Linux notes
skill -STOP -u username Pause somebody.skill -KILL -u username Kick out somebody.skill -KILL -v /dev/pts/* Kick all out.last show successful loginslastb show bad loginslastlog show latest logins of all/any users./var/log/btmp bad logins/var/log/wtmp successful logins/var/run/utmp current loginsSet date and time
# date -s "2 OCT 2006 18:00:00"# date --set="2 OCT 2006 18:00:00"# date +%Y%m%d -s "20081128"# date +%T -s "10:13:13"Get hardware info
/sbin/lspci/sbin/lsusblshwroute -nshows the routing table, the gateway will be flagged with a 'G'
If DNS is not properly configured, go to
/etc/resolv.conf, check or add line nameserver x.x.x.xTo pipe wget download content:
wget -q url -O - | cat > abc.txtFor ubuntu 10.10
Edit
/etc/default/grub & run update-grub to set the booting preferences
2010-12-16
Ubuntu Server 10.10 (As desktop use)
Hate OpenOffice? Dislike the integrated IM software? Feel sick about GNOME games? This solution might help to build the desktop from scratch that avoids most unnecessary components.
Installation:
Addition:Development: Remote access: Media: Printing:
Configuration:
Installation:
- Get a ubuntu server iso, and install it the debian way.
- Modify
/etc/apt/sources.listto your satisfaction. - Configure Medibuntu source: https://help.ubuntu.com/community/Medibuntu
Addition:
- Basic:
vim
- Desktop:
xserver-xorggnome-coregdmgnome-themes-selectedhumanity-icon-themegcalctool(the calculator)chromium-browsergnome-screensaverflashplugin-installerlanguage-support-??- *
network-manager - *
network-manager-openconnect(for Cisco AnyConnect VPN) *wine
- Security:
vlock
g++openjdk-6-jreqt4-dev-tools*dia*mysql-server*mysql-admin*python-mysqldb
vinagre(the client)vino(the server)
vlcmozilla-plugin-vlclibdvdcss2ubuntu-restricted-extras
system-config-printer-gnomecups*smbclient(for Windows shared printing)*hplip(HP printer drivers)
Configuration:
- Clear screen when logout:
~/.bash_logout- insert single command
clear
- Disable Ctrl-Alt-Del:
/etc/init/control-alt-delete.conf- comment out the actual command line
- Secure login/out logs:
sudo chmod 640 `sudo find /var -name ?tmp`
- Stop GDM from auto starting:
/etc/init/gdm.conf- comment out all "start on" stuff
- Configure GRUB:
/etc/default/grubupdate-grub
- MySQL
/etc/mysql/my.cnf- to reset root password:
sudo dpkg-reconfigure mysql-server-5.1
Subscribe to:
Comments (Atom)