Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 159 online users. » 0 Member(s) | 157 Guest(s) Bing, Yandex
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 514
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 89,329
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 42,650
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,924
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,417
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,538
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 118,643
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 56,417
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 46,344
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 42,190
|
|
|
Setting up a simple NFS server |
Posted by: xDamox - 2005-09-06, 05:25 PM - Forum: Samba and NFS
- Replies (1)
|
 |
In this guide I will show you how to setup a simple NFS server using Fedora, but I will show how to set it up via command line so you should be able to configure it on more than one distribution.
The first step is to make sure you have the NFS server software installed you can check this
by issuing the following command:
if you don't have this package installed, you can use the YUM packages management tool to install the package, to do this issue the following command:
Code: yum install nfs-utils
Once you have installed the package you can begin to configure the NFS server, you should have
a file in the /etc directory called: "exports". This file determines what directory's will be exported, who
is allowed to access them and what permissions they have.
In this tutorial I will be exporting my /home directory and allowing only the IP of 192.168.0.13 to
access this exported directory. So the first step is to edit the exports file and added the following:
Code: /home 192.168.0.13(rw,nohide)
The above exports the /home directory with the read and write permissions the attributes
inside the brackets can be read using the man command along with other attributes that can go in the brackets:
Once you have setup your export you should start the portmap daemon. The portmap daemon MUST always be running when running a NFS server.
Code: service portmap start
Once your portmap has been started you can start your NFS server:
Once the service has started you can check everything is running by issue the following
command:
You will get output similar to:
Code: program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32833 nlockmgr
100021 3 udp 32833 nlockmgr
100021 4 udp 32833 nlockmgr
100021 1 tcp 32774 nlockmgr
100021 3 tcp 32774 nlockmgr
100021 4 tcp 32774 nlockmgr
100011 1 udp 704 rquotad
100011 2 udp 704 rquotad
100011 1 tcp 707 rquotad
100011 2 tcp 707 rquotad
100005 1 udp 706 mountd
100005 1 tcp 709 mountd
100005 2 udp 706 mountd
100005 2 tcp 709 mountd
100005 3 udp 706 mountd
100005 3 tcp 709 mountd
Once everything is checked out and the services are running you can connect form 192.168.0.13 and mount the /home directory.
Code: mount 192.168.0.2:/home /mnt/home
Replace 192.168.0.2 with your NFS servers IP and the /mnt/home mount point to one that
suites you.
if you make any changes to the export file you will need to reexport it instead of restarting the
services issue the following:
well you can now setup a simple NFS server and store your files on the server :)
|
|
|
site uptime, kernel uptime reset itself. |
Posted by: anyweb - 2005-09-06, 02:27 PM - Forum: Site News
- Replies (7)
|
 |
hi guys
according to
Quote:[root@www root]# w 16:21:03 up 21:10, 3 users, load average: 0.04, 0.04, 0.00
the site is up only a few hours, which to me is rather annoying....
I didn't reboot it, further examination revealed that all logs are OK and not one of them mentions a reboot or crash, indeed not only that but ifconfig shows data throughput that just 'doesnt happen' on linux-noob.com in 21 hours....
Quote:[root@www root]# ifconfig eth0eth0 Link encap:Ethernet HWaddr 00:B0:D0:88:FF:78
inet addr:100.0.0.3 Bcast:100.0.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:176864105 errors:55592 dropped:0 overruns:11 frame:103017
TX packets:232565472 errors:0 dropped:0 overruns:0 carrier:181978122
collisions:988797 txqueuelen:1000
RX bytes:2689469193 (2564.8 Mb) TX bytes:1705211768 (1626.2 Mb)
Interrupt:10 Base address:0xfc00
ok then, so what is happening here ?
well according to this site the uptime changed after a certain number of days/hours
[/url]http://en.uptime-project.net/page.php?page...ofile&uid=60313
Quote:1. 26.04.2004 14:42 GMT 05.09.2005 16:21 GMT 1y 132d 01h 38m 07s Linux 2.4.22-1.2188.nptl
and we all know that there are 365 days or so in the year, and 365+132 =497 days....
well guess what. the above linux kernel (fedora) was unpatched for a uptime overflow after 497 days, so the server did NOT reboot, but the uptime WAS RESET by a bug in the kernel.
[url=https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97373]https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97373
if only i knew before it 'reset' itself.
dam annoying and i'd like to announce this post so that others may be aware in the future.
cheers
anyweb
|
|
|
Having trouble with Konstruct in Mandriva 10.2 |
Posted by: adamsorkin - 2005-09-03, 04:12 AM - Forum: Mandriva
- Replies (3)
|
 |
I've been having installing KDE 3.4 in Mandrake 10.2...output follows below, but at the end, the install seems to fail with a compiler error...Forgive me, I'm a total linux noob. Can anybody help?
[root@127 kde]# make install
[===== NOW BUILDING: kde-1 =====]
[fetch] complete for kde.
[checksum] complete for kde.
[extract] complete for kde.
[patch] complete for kde.
==> Building kde/kdebase as a dependency
make[1]: Entering directory `/home/adamsorkin/konstruct/kde/kdebase'
[===== NOW BUILDING: kdebase-3.4.2 =====]
[fetch] complete for kdebase.
[checksum] complete for kdebase.
[extract] complete for kdebase.
[patch] complete for kdebase.
==> Building kde/kdelibs as a dependency
make[2]: Entering directory `/home/adamsorkin/konstruct/kde/kdelibs'
[===== NOW BUILDING: kdelibs-3.4.2 =====]
[fetch] complete for kdelibs.
[checksum] complete for kdelibs.
[extract] complete for kdelibs.
[patch] complete for kdelibs.
==> Building libs/arts as a dependency
make[3]: Entering directory `/home/adamsorkin/konstruct/libs/arts'
[===== NOW BUILDING: arts-1.4.2 =====]
[fetch] complete for arts.
[checksum] complete for arts.
[extract] complete for arts.
[patch] complete for arts.
==> Building libs/glib as a dependency
make[4]: Entering directory `/home/adamsorkin/konstruct/libs/glib'
[===== NOW BUILDING: glib-2.8.0 =====]
[fetch] complete for glib.
[checksum] complete for glib.
[extract] complete for glib.
[patch] complete for glib.
==> Building misc/pkgconfig as a dependency
make[5]: Entering directory `/home/adamsorkin/konstruct/misc/pkgconfig'
[===== NOW BUILDING: pkg-config-0.19 =====]
[fetch] complete for pkg-config.
[checksum] complete for pkg-config.
[extract] complete for pkg-config.
[patch] complete for pkg-config.
==> Running configure in work/pkg-config-0.19
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[5]: *** [configure-work/pkg-config-0.19/configure] Error 77
make[5]: Leaving directory `/home/adamsorkin/konstruct/misc/pkgconfig'
make[4]: *** [dep-../../misc/pkgconfig] Error 2
make[4]: Leaving directory `/home/adamsorkin/konstruct/libs/glib'
make[3]: *** [dep-../../libs/glib] Error 2
make[3]: Leaving directory `/home/adamsorkin/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/home/adamsorkin/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/adamsorkin/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2
|
|
|
Install file .bz2 |
Posted by: newbie linux - 2005-09-01, 01:50 PM - Forum: Compiling
- Replies (3)
|
 |
iiiiii,anyone can help me to teach me how to install for file .bz2,it is source code for Suse, i can't use ./configure in terminal.thanks
|
|
|
vpn |
Posted by: freagel - 2005-09-01, 12:05 PM - Forum: Network Problems
- No Replies
|
 |
I have a D-link router connected to a LAN where we need to use vpn.
I have two computers (debian and windows XP) connected to the router, both are able to set up a vpn-tunnel. The problem is when I set up one vpn connection from my debian machine, and another vpn connection from windows XP, that everything works but very slowly (400B/s wher a "normal connection should deliver 800kB/s) in the beginning and stops working after 2-3 minutes.
What did I do wrong?
Do I need to let my router making the vpn connection?
Is this possible?
Thx in advance
|
|
|
resolv.conf is overwritten on reboot |
Posted by: znx - 2005-08-31, 09:19 PM - Forum: Network Problems
- Replies (2)
|
 |
Just a quick tip:
For those using DHCP clients, you will proably find that on reboots that your resolv.conf is overwritten. To stop this from happening you can:
For dhcpcd its easy, add the option -R to your command line:
You will need to find the configuration file to edit and add this option to (differs per distro).
For dhcp-client there is a couple of options, the best, imho is to create a file "/etc/dhcp-enter-hooks":
Code: # /etc/dhclient-enter-hooks
make_resolv_conf() {
echo "doing nothing to resolv.conf"
}
Thats it... have fun,..
|
|
|
MRTG |
Posted by: Nasa - 2005-08-31, 08:20 PM - Forum: How Do I?
- No Replies
|
 |
I am traing to install mrtg and I got a problem :(
After I install all the aplications for it in the install man is saing howto create the mrth.cfg si I do exactli ho it is tolen and i ghet the folowing error :
Quote:at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 627SNMPWALK Problem for 1.3.6.1.2.1.1 on root@Nasax.dyn.ro::::::v4only
at /usr/local/mrtg-2/bin/cfgmaker line 796
WARNING: Skipping root@Nasax.dyn.ro: as no info could be retrieved
can you help ? :)
And you can post the entire installation proces and the cfg to so the all nkow howto do this in the future ! [img]<___base_url___>/uploads/emoticons/default_rolleyes.gif[/img]
|
|
|
Cannot turn sound volume up.... |
Posted by: JSuperKitten - 2005-08-31, 01:32 PM - Forum: Audio and Video
- Replies (3)
|
 |
Hi,
i have recently installed RedHat 9.0 (kernel 2.4.20-8) on my PC. So far, everything works great only i could not say that much when it comes to playing cd's.
I have a Sound Blaster Live card, which the system could still not detect. Still i am able to play cd's
Only i cannot seem to find where i may turn the sound volume up. I mean turning the volume up in KSCD is fine, however i have to turn up the volume of my speakers to almost the maximum in order to hear cd's.
Thus i have been searching every possible sound configuration program within KDE and failed to succeed in restoring volume to a proper level.
Isn't there some type of equivalent to the Windows>Control Panel>Sound Configuration in KDE?
or else a command that could possibly interact with the system's sound controls?
thank you,
JSK
|
|
|
|