8/06/2005 12:22:00 AM|W|P|Pavan|W|P|Fedora Core 4 Linux Installation Notes
Personal Fedora Core 4 Installation Guide
Fedora Core 3 Linux Installation Notes
Personal Fedora Core 3 Installation Guide
Fedora Core 4 Tips and Tricks
Unofficial guide for Fedora Core
Fedora Multimedia Installation
Some more|W|P|112331430196842626|W|P|Some resources|W|P|paonethestar@gmail.com8/05/2005 10:13:00 PM|W|P|Pavan|W|P|We all know the normal usage of 'mount' as
command line usage:
$ mount -t /dev/hda1 /mnt/directory
in /etc/fstab file:
/dev/hda1 /mnt/directory vfat defaults 0 0
By using either of above usages, only root can have write permissions on vfat filesystems. For getting write permissions to normal users:
/dev/hda1 /mnt/directory vfat users,gid=users,umask=0002,iocharset=utf8 0 0
Add this line to /etc/fstab file. And "users" is the group in which all users will get write permissions to mounterd vfat drives. Only vfat file system has this option. For filesystems like NTFS etc, even root doesn't have write permissions. It is still in implementation.|W|P|112330570928833444|W|P|Write permissions to vfat filesystems for normal users|W|P|paonethestar@gmail.com8/05/2005 11:23:00 AM|W|P|Pavan|W|P|To configure fetchmail (I hope you know that it is used to download mails from remote server to localsystem), create file named '.fetchmailrc' in home directory and add the following line to it.
poll [server ip address] with proto [server type] user [username]
for example:
poll 192.168.36.200 with proto pop3 user pavan_sv
in case of the user 'pavan_sv' on a remote pop3 server 192.168.36.200.|W|P|112326667552740217|W|P|Fetchmail usage|W|P|paonethestar@gmail.com8/05/2005 11:19:00 AM|W|P|Pavan|W|P|Sometimes, eventhough we can browse the web, we are not able to use any chat clients/messengers like yahoo and msn. This can happen for any of the following reasons:
--> DNS Server is not working on the proxy server (service named start should fix it)
--> IPTables is restricting that port... make sure that the port is open. There should be a line like
-A POSTROUTING -o eth1 -p tcp -m tcp --dport 5050 -j MASQUERADE
in the file /etc/sysconfig/iptables in super user mode. After adding the appropriate line, restart the iptables service using 'service iptables restart' command.
--> Forwarding may not have been enabled. The file /proc/sys/net/ipv4/ip_forward should contain "1". So do a
echo "1" > /proc/sys/net/ipv4/ip_forward
*collected from net|W|P|112326618989250485|W|P|Messenger problem|W|P|paonethestar@gmail.com8/05/2005 11:11:00 AM|W|P|Pavan|W|P|'tar' is a good tool for moving files because it retains symbolic links and user/group permissions properly. A simple 'Tar Pipe' can be done to send and get files:
To send:
tar cf - myfiles | ssh remotehost " ( cd /destination/path ; tar xf - ) "
To get:
ssh remotehost "( cd /source/path; tar cf - desiredfiles ) " | tar xf -
Multiple ssh connections can be strung together to move the file across multiple machines. For that, send through:
tar cf - myfiles | ssh remotehost1 " ssh remotehost2 \" ( cd /destination/path ; tar xf - ) \" "
To get through:
ssh remotehost1 " ssh remotehost2 \"( cd /source/path; tar cf - desiredfiles ) \" " | tar xf -
Note that 'tar cf' and 'tar xf' can be replaced with 'tar czf' and 'tar xzf' for gzip compression. Or, for bzip2 compression: 'tar 'cjf' and 'tar xjf'.
Use ssh-agent and the 'ssh -A' (ForwardAgent) switch to remove the need to type passwords repeatedly.|W|P|112326583429072279|W|P|Copying Files|W|P|paonethestar@gmail.com8/05/2005 11:02:00 AM|W|P|Pavan|W|P|We know generally we use 'export' as
export DISPLAY="172.16.5.99:0.0"
Similary to export audio to another system we need to start the esd sound server on the machine we need the audio on like this:
esd -tcp -public -port xxx
then in the client system, we need to specify the server by exporting the ESPEAKER variable.
export ESPEAKER=host_running_esd:xxx
If the audio players do not support the above variable, we can use the below command to make the esd daemon simulate /dev/dsp.
esddsp -v --server=the.remote.host:xxx esd -tcp
Note: Make sure that there is no esd server running on the client machine.|W|P|112326539008349671|W|P|Using 'export' for Sound|W|P|paonethestar@gmail.com8/05/2005 10:55:00 AM|W|P|Pavan|W|P|Some times, when we try to run a cgi script, apache throws an error message "Internal Server Error".
The possible solutions are:
--> The cgi script needs the to have the permission set as 755 if mod_suexec is not enabled in httpd.
--> The cgi script contains an error which can be found by checking the logs (usually /var/log/httpd/error_log).|W|P|112326486105208881|W|P|CGI errors|W|P|paonethestar@gmail.com8/05/2005 10:27:00 AM|W|P|Pavan|W|P|You need to make these changes to your /etc/httpd/conf/http.conf file in super user mode.
You need to comment off the line:
UserDir disable
and instead put
UserDir public_html
In addition, you need to add:
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch Includes
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
TO make cgi scripts work, you need the following:
<Directory "/home/*/public_html/cgi-bin">
AllowOverride None
Options execCGI
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi
Besides, the following are the min'm permissions required for the directories' hierarcy:
711 /home/pavan
711 /home/pavan/public_html
711 /home/pavan/public_html/cgi-bin
I hope you can understand above permissions are for the user named 'pavan'.|W|P|112326318652827106|W|P|Apache configuration|W|P|paonethestar@gmail.com8/05/2005 10:22:00 AM|W|P|Pavan|W|P|Using Samba in Linux, we can do netsend like in windows to other machines. The command for this is:
smbclient -M [NETBIOS Name] -I [IP Address]
If you don't know the NETBIOS name, we can find that using following command:
nmblookup -A [IP Address]
*collected it from one blog in net.|W|P|112326278216437618|W|P|Netsend using samba|W|P|paonethestar@gmail.com8/05/2005 10:12:00 AM|W|P|Pavan|W|P|The default desktop option problem continued till FC3 in RedHat series of Linux is that even though if you change your desktop to kde, next time when you reboot it will load gnome instead of your settings. Some times this may not happens.
Solution for this is to create a file named '.dmrc' in home directory and the following content to that file.
[Desktop]
Session=kde
If you need gnome as default, change 'Session=gnome' instead of above.|W|P|112326239272899762|W|P|Default desktop problem|W|P|paonethestar@gmail.com