Recent Notes
Displaying keyword search results 1 - 6
Created by mee2 on November 20, 2011 21:00:58
Last update: November 20, 2011 21:10:22
Alfresco community-4.0.b has only 64-bit installer for Linux. These are the steps to manually install it on 32-bit Ubuntu Linux. Download alfresco-community-4.0.b.zip from http://wiki.alfresco.com/wiki/Download_and_Install_Alfresco . Install dependencies:
$ sudo apt-get install imagemagick swftools postgr... Note: swftools was not available as a package for Ubuntu 11.10, I installed it with source . Create alfresco database: $ sudo bash [sudo] password for alfresco: ... Copy everything from the Alfresco web-server folder to Tomcat: $ cp -R alfresco-community-4.0.b/web-server/* apac... Edit $TOMCAT_HOME/conf/catalina.properties , change shared.loader to: shared.loader=${catalina.base}/shared/classes,${ca... Edit Tomcat conf file conf/server.xml , add URIEncoding="UTF-8" : <Connector port="8080" protocol="HTTP/1.1" ... Customize alfresco-global.properties : $ mv shared/classes/alfresco-global.properties.sam... Edit shared/classes/alfresco-global.properties : ############################### ## Common A... Copy keystore files from alfresco.war : expand alfresco.war , grab the whole keystore directory from...
Created by magnum on May 06, 2011 12:28:06
Last update: May 06, 2011 12:28:06
These Xterm escape sequences change the window and icon titles: ESC]0;stringBEL : Set icon and window title to string . ESC]1;stringBEL : Set icon title to string . ESC]2;stringBEL : Set window title to string . where ESC is the escape character ( \033 ), and BEL is the bell character ( \007 ). Examples:
# Change window title to 'Title' echo -e '\033]... Or, use PROMPT_COMMAND (for bash ) to set it up automatically: export PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007... Setting PROMPT_COMMAND may be the only way to change the title since it may have already been set when the shell started (in .bashrc for example). Doing echo will not help you in that case because PROMPT_COMMAND sets the title right back after you tried to change
Created by magnum on March 25, 2011 11:42:49
Last update: March 25, 2011 12:27:14
On Linux, you can mount floppy or CDROM iso images with the help of Loop Device . A loop device is a pseudo-device that makes a file accessible as a block device.
To mount a CDROM iso image:
$ sudo mount -o loop /tmp/mstrip.iso /mnt/cdrom
...
To mount a floppy image:
sudo mount -t msdos -o loop -o umask=000 ./floppy....
Created by voodoo on March 10, 2011 11:08:45
Last update: March 10, 2011 11:09:18
Looks like for Linux fdisk , cylinders as display units was deprecated, using sectors is the new way.
# fdisk -v
fdisk (util-linux-ng 2.18)
# ...
Notice that cylinder numbers actually overlap for the last 2 partitions.
Created by magnum on December 03, 2010 08:53:18
Last update: December 03, 2010 08:54:23
You can use the ntfsresize utility on Linux to shrink or expand an NTFS partition (boot, for example, with the DRBL live cd).
To shrink an NTFS partition:
shrink NTFS (the file system) with ntfsresize.
re-create a smaller partition to hold the shrinked file system with FDisk.
To expand an NTFS partition:
Recreate a partition that's bigger than the previous one.
expand NTFS to the full size of the new partition.
The following are from excerpts from ntfsresize FAQ (Frequently Asked Questions) :
ntfsresize help:
[tinker:root]:(~)# ntfsresize -h
ntfsresize v1....
ntfsresize example session:
[tinker:root]:(~)# ntfsresize -s11000M /dev/hd...
Fdisk example session:
[tinker:root]:(~)# fdisk /dev/hdc
...
Created by Dr. Xi on August 21, 2007 03:11:20
Last update: August 21, 2007 03:45:18
I was experiencing extreme slow DNS lookup on my wireless network when using Firefox on my FC4 installation. I found some discussions on the Apple discussion group and the Fedora forum but I wasn't able to find much help for my situation. I then looked at the DNS entries configured by the DHCP service and it was listing the IP addresses of my wireless router and DSL modem. I disabled automatic DNS setup and manually entered the name servers in /etc/resolv.conf . It's now much faster. I booted my laptop to Windows, the DHCP assigned DNS entries remained the same (wireless router and DSL modem). But I didn't have any problems with either Firefox or IE. This seems to be a Linux (maybe FC4?) only