- 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
$NCBI
is set - link
lib/*.mk
to 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
ValNodeUnique
inseqhound/include/intrez_misc.h
andseqhound/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
boot
Version 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/lsusb
lshw
route -n
shows 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.x
To pipe wget download content:
wget -q url -O - | cat > abc.txt
For 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.list
to your satisfaction. - Configure Medibuntu source: https://help.ubuntu.com/community/Medibuntu
Addition:
- Basic:
vim
- Desktop:
xserver-xorg
gnome-core
gdm
gnome-themes-selected
humanity-icon-theme
gcalctool
(the calculator)chromium-browser
gnome-screensaver
flashplugin-installer
language-support-??
- *
network-manager
- *
network-manager-openconnect
(for Cisco AnyConnect VPN) *wine
- Security:
vlock
g++
openjdk-6-jre
qt4-dev-tools
*dia
*mysql-server
*mysql-admin
*python-mysqldb
vinagre
(the client)vino
(the server)
vlc
mozilla-plugin-vlc
libdvdcss2
ubuntu-restricted-extras
system-config-printer-gnome
cups
*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/grub
update-grub
- MySQL
/etc/mysql/my.cnf
- to reset root password:
sudo dpkg-reconfigure mysql-server-5.1
Subscribe to:
Posts (Atom)