Is there any good CHM reader out there which can support the following:
Highlighting of text
easy navigation
works on windows, linux and mac
The default one in windows does not support highlighting text.
Hi All
What is the efficient way to match the two different hard disk partition tables?
I have save the partition tables using dd command in linux.
The partition tables are from Windows system.
Regards,
hi all
I use the fsarchiver in order to make restore as the following
link: http://www.icewalkers.com/Linux/Software/535640/fsarchiver.html
command:
fsarchiver restfs /tmp/backup/c0d0p2.fsa id=0,dest=/dev/cciss/c0d0p2
its fail on:
[errno=22, Invalid argument]: oper_restore.c#213,extractar_restore_attr_xattr(): xattr:lsetxattr(/racoon,security.selinux) failed Statistics for filesystem 0
please help what is it: errno=22 ???
I have recently found an argument against disabling a root user login in Linux at http://archives.neohapsis.com/archives/openbsd/2005-03/2878.html
I assume that, if everybody uses a public key authentication, there's no risk at losing the root password.
Is it always better to disable the root login via ssh?
I'm about to install "leiningen" which is a bash script for the clojure programming language with a lot of usefulness... ...but I'm not sure where it is appropriate to -put- a executable script in the linux system so that it's permanently and stable-ly available.
I don't think that anywhere in /home makes sense, but I don't know which directory/directories are supposed to be used for that.
/usr/share?
Hi Guys,
How do you generally proceed for your package installations on Linux, for packages that are not part of your distrib's repos?
On my side I am used to install in /opt. But since, I saw this doc on the Internet: http://www.pathname.com/fhs/. Now I am confused: apparently /usr/local would be also a possibility.
What is the difference between both? Any best practices to share?
Thanks
SirFabel
I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC.
My work has changed it so I now need to SSH twice before I can access my PC.
So I need to:
ssh [email protected]
password: xxxxx
I then need to do it again.
ssh computer_name
password: xxxxx
I've tried accessing directly via my computers IP but to of no avail.
Is there a way I can use pscp or file zilla to ssh twice so I can transfer files?
OK I'll be more specific - I have uploaded a bunch of folders via ftp. These now all have the the owner name of the account which I logged into FTP using.
How do I change the owner to be the server name?
and
How do I find out what name the server is using?
I'm pretty new to server permissions and the like, so please be gentle :) BTW, I'm using a linux server.
Fn + F6 - backlight turns off immediately, image stays (visible if shine something at the display)
xset dpms force {off,suspend,standby} - backlight turns off slowly, image cleared.
How to programmatically just turn off backlight on Acer Extensa 5220 laptop in Linux? It should work fast and should not touch image (unlike xset method).
Ideally if I could rapidly switching backlight off and on emulate lower_than_minimum brightness level (ideally - to be hardly visible (but visible) at night).
Is there any application in linux-land that can encode files into the Creative's own .cmv?
I tried their C.Centrale, but it doesn't seem to work well through Wine.
I need one that will work with Zen MX, which doesn't accept the original xvids / wmvs.
How can I disable the symlink feature of ext3 file system mount point ?
My server is being attacked by some sort of symbolic link hacking methods for reading other user's home directory.
There is such an option "nosymfollow" on BSD series, but I didn't find the equivalent for Linux.
This would be for under Linux particularly.
Is there a tool out there, or a script that I could use to monitor IP connections--with name resolution--and, see which process they're connected to?
Right now I'm using this:
watch -d netstat -peeW --numeric-hosts --inet
But that doesn't give me host resolution. I was thinking of writing up a script with sed or something, but that seemed like more work than it needed to be.
What's the difference between the www & public_html folder on the same server on my shared linux hosting. I've seen data is same on both of these folders. Is one of them just a redirect or is the data getting replicated. What is the purpose of 2 folders or even a redirect folder?
Thanks in advance! :)
I am doing some benchmarking on EXT4 performance on Compact Flash media.
I have created an ext4 fs with block size of 65536. however I can not
mount it on ubuntu-10.10-netbook-i386. (it is already mounting ext4 fs with 4096 bytes of block sizes)
According to my readings on ext4 it should allow such big block sized
fs. I want to hear your comments.
root@ubuntu:~# mkfs.ext4 -b 65536 /dev/sda3
Warning: blocksize 65536 not usable on most systems.
mke2fs 1.41.12 (17-May-2010)
mkfs.ext4: 65536-byte blocks too big for system (max 4096)
Proceed anyway? (y,n) y
Warning: 65536-byte blocks too big for system (max 4096), forced to continue
Filesystem label=
OS type: Linux
Block size=65536 (log=6)
Fragment size=65536 (log=6)
Stride=0 blocks, Stripe width=0 blocks
19968 inodes, 19830 blocks
991 blocks (5.00%) reserved for the super user
First data block=0
1 block group
65528 blocks per group, 65528 fragments per group
19968 inodes per group
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@ubuntu:~# tune2fs -l /dev/sda3
tune2fs 1.41.12 (17-May-2010)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: 4cf3f507-e7b4-463c-be11-5b408097099b
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index
filetype extent flex_bg sparse_super large_file huge_file uninit_bg
dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 19968
Block count: 19830
Reserved block count: 991
Free blocks: 18720
Free inodes: 19957
First block: 0
Block size: 65536
Fragment size: 65536
Blocks per group: 65528
Fragments per group: 65528
Inodes per group: 19968
Inode blocks per group: 78
Flex block group size: 16
Filesystem created: Sat Feb 5 14:39:55 2011
Last mount time: n/a
Last write time: Sat Feb 5 14:40:02 2011
Mount count: 0
Maximum mount count: 37
Last checked: Sat Feb 5 14:39:55 2011
Check interval: 15552000 (6 months)
Next check after: Thu Aug 4 14:39:55 2011
Lifetime writes: 70 MB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: afb5b570-9d47-4786-bad2-4aacb3b73516
Journal backup: inode blocks
root@ubuntu:~# mount -t ext4 /dev/sda3 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I am going to have an opportunity (from the role of Linux Sysadmin) to work on optimizing a corporate server network that has a lot of different application servers from LAMP stacks to JBOSS to IIS based ASP/.NET systems of all sorts. I am interested to hear how you would approach evaluating and consolidating a network in a situation like this where you are walking in cold? What are some of your go-to techniques?
I have windows xp on my dell but I lost the drivers disk so I want to install linux Fedora 13 instead and wipe the windows xp.
I burned the iso to a dvd and loaded up the live session user and used "Install to harddrive" but when I get to the partitioning window there is no harddrives to install to so I cant overwrite the windows drive (/C:)..
Help?
I would like to create a small script that installs a few truetype fonts on the user's system. On my Ubuntu machine the truetype fonts are located at /usr/share/fonts/truetype. However, I'm not sure if this location is the same on all machines. Is there a way to find out where truetypes fonts are stored on any Linux system?
I've got an Acer Aspire One running Linux. When I connect to my building's wifi, everything seems fine for a short period of time (I can google a few things or start downloading an Apt package), but then other devices on the network lose their IP addresses. Shortly after that, my computer also gets disconected. My computer is set to use DHCP.
What causes this, and do you know how it could be fixed? Am I causing a broadcast storm?
Hello,
Im using Red Hat Enterprise Linux 3. I installed openmotif-2.2.2-16.src.rpm by running the bellow command
rpm -ivh openmotif-2.2.2-16.src.rpm
I got a 100% complete message.But,when i run rpm -q openmotif, i get the message "package openmotif is not installed"
Please Help
Thank You
I have about 1000 text files and I need to view each, and move it to a folder if it's the correct one. I can only do basic sorting by length/size, and I can't grep because the text is random. How can I do this besides manually openiing + saving each in gedit. I'm on Ubuntu Linux. Thanks
I've installed the development version of Crunchbang, a linux distro based off Debian. I got Ruby and Rubygems installed, but I can't get the gems I've installed to load. Here is a command-line session:
$ ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i486-linux]
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.9.1 (2010-01-10 patchlevel 378) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby1.9.1/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby1.9.1/gems/1.9.1
- /home/corey/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
$ echo $PATH
/home/corey/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/corey/.gem/ruby/1.9.1:/usr/lib/ruby1.9.1/gems/1.9.1
$ gem list -d nokogiri
`*** LOCAL GEMS ***`
nokogiri (1.4.1)
Authors: Aaron Patterson, Mike Dalessio
Rubyforge: http://rubyforge.org/projects/nokogiri
Homepage: http://nokogiri.org
Installed at: /usr/lib/ruby1.9.1/gems/1.9.1
Nokogiri (?) is an HTML, XML, SAX, and Reader parser
$ ruby -r rubygems -e "require 'nokogiri'"
-e:1:in `require': no such file to load -- nokogiri (LoadError)
from -e:1:in `'
I've encountered similar problems on Ubuntu before, but they were easy to fix. I can't figure out what's wrong in this particular case, and Google didn't seem to know either. Any help would be greatly appreciated!
By the way... this is my first submission to stackoverflow. I hope this question is relevant. :)
Hello,
I'm starting in Java Web development, then i want to ask, what is the best server, like Apache Tomcat, Resin and others. Remember that i use Linux Ubuntu. Thanks!