Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,235
» Latest member: pwcreator
» Forum threads: 4,030
» Forum posts: 16,405

Full Statistics

Online Users
There are currently 478 online users.
» 0 Member(s) | 474 Guest(s)
Applebot, Baidu, Bing, Google

Latest Threads
Wi-Fi works for a few min...
Forum: Network Problems
Last Post: kabifff
2025-12-15, 12:57 AM
» Replies: 0
» Views: 58
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 3,605
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 113,443
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 61,351
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 4,969
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 8,643
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 46,041
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 144,819
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 80,101
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 62,842

 
  Monitor users via VNC
Posted by: xDamox - 2005-02-27, 02:09 PM - Forum: Remote Access - No Replies


Hi,

 

I have been wondering if anyone knows how to monitor users on the network via vnc

so you can login into there screen and watch what they are doing?

 

I looked at kdenetwork3-vnc which I was able to login on a users session and watch what they

were doing, I was also able to type and control there mouse. It would be better if I could of

disabled them using the mouse and keyboard.

Print this item

  How do I install Mandrake?
Posted by: NaMu - 2005-02-26, 08:35 PM - Forum: Mandriva - Replies (3)


I have downloaded all 3 ISO's but now i dont now if i sould burn it on a bootable CD

or a Data CD

Some1 help?

Print this item

  install mmcache for php
Posted by: hijinks - 2005-02-26, 03:35 AM - Forum: LAMP - Replies (11)


Maybe you have heard about Turck MMCache, basically it caches php code into memory to help speed up dynamic content based sites. Its a great little php addon for forums and heavily used sites. This will go through how to install mmcache for your rpm based installs for apache/php on fedora/redhat systems.

 

First lets download mmcache from sourceforge



Code:
wget http://superb-west.dl.sourceforge.net/sourceforge/turck-mmcache/turck-mmcache-2.4.6.tar.gz




 

Now lets extract it and go into the mmcache source directory

 



Code:
tar zxfv turck-mmcache-2.4.6.tar.gz
cd turck-mmcache-2.4.6




 

Now we need to set a var. If you are using the standard rpms it will be in /usr so lets set that.

 



Code:
export PHP_PREFIX="/usr"




 

Now lets compile mmcache

 



Code:
$PHP_PREFIX/bin/phpize
./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install




 

Now lets copy over the compiled mmcache module into the same place where the php module is installed for apache. This is just to keep it neater. You are free to put it anywhere you want. Just make sure you make the same changes below when we edit the php.ini file

 



Code:
cp modules/mmcache.so /usr/lib/httpd/modules/




 

Now lets edit the php.ini file. It is in /etc/php.ini in the rpm installs. We want to add the following lines at the bottom of the file

 



Code:
zend_extension="/usr/lib/httpd/modules/mmcache.so"
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1"




 

Now lets make the temp directory for mmcache and then chmod it correctly

 



Code:
mkdir /tmp/mmcache
chmod 777 /tmp/mmcache




 

Now lets restart apache

 



Code:
service httpd restart




 

Now just load up a php page on your website and you should see files in the /tmp/mmcache directory. If you don't then change the zend_extension part to extension in your php.ini and then restart apache again.

 

Using mmcache should increase your php content driven sites around 1-10 times their load times and bring your load down on the server also since your server isn't always re-compiling php pages over and over again

Print this item

  screenshot !
Posted by: anyweb - 2005-02-25, 11:09 PM - Forum: Linux - Replies (2)


woot :)

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-1-1109372993.png" data-fileid="282">[img]<fileStore.core_Attachment>/post-1-1109372993.png[/img]</a>



Attached Files
.png   Screenshot_31.png (Size: 1,001.05 KB / Downloads: 0)
Print this item

  New To Mandrake
Posted by: NaMu - 2005-02-25, 09:49 PM - Forum: Mandriva - Replies (2)


Hello,

I have been using windows for 5 years now and i wasnt to start learning linux.

I installed Mandrake 10.1 and im not very firmilar with te command so do you guys

have any good tutorials or anyting that can help me get firmiliar with them.

 

-NaMu

Print this item

  Wildcard in DNS & Apache
Posted by: hijinks - 2005-02-25, 01:56 PM - Forum: DNS and DHCP - No Replies


Here is a nice idea for people that have like webhosting or just run any websites with subdomains. Also i often type a url like ww.domain.com.

 

So a wildcard will catch any not matched dns entry and point it to a IP. Say I have this simple dns zone file

 



Code:
                       NS      ns1.domain.com.
                       NS      ns2.domain.com.
                       NS      ns3.domain.com.

domain.com.               MX      5 flood.domain.com.
domain.com.               MX      20 web2.domain.com.

domain.com.               A       66.111.22.33
www                             CNAME   domain.com.




 

Now I add the following to the end of the zone file for the wildcard

 



Code:
*.domain.com.             IN      A       66.111.22.33




 

Now reload named.

 



Code:
service named reload




 

So that will take all random subdomains people may try and then send them to the IP of my webserver for example. We can easily test that

 



Code:
[root@web1 named]# host bla.domain.com
bla.domain.com has address 66.111.22.33
[root@web1 named]# host jy.rules.domain.com
jy.rules.domain.com has address 66.111.22.33
[root@web1 named]# host AHHHHHHHHH.domain.com
AHHHHHHHHH.domain.com has address 666.111.22.33




 

So now that bind is all setup we need to do the same for apache. You need to have your virtualhosting setup in apache for this to work

 

So we add the following simple section at the bottom of the httpd.conf file

 



Code:
<VirtualHost 66.111.22.33>
DocumentRoot /var/www/html
ServerAlias *.domain.com
ServerName www.domain.com
</VirtualHost>




 

That is very simplified.. so you can always add more entries if needed like the logs or such. Now just restart apache

 



Code:
service httpd restart




 

Now you should be able to enter ww.domain.com into your browser and it should take you to your website.

Print this item

  linux-noob.com rocks !
Posted by: anyweb - 2005-02-24, 09:48 PM - Forum: Site News - Replies (6)


check this out :)

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-1-1109281738.jpg" data-fileid="281">[img]<fileStore.core_Attachment>/post-1-1109281738.jpg[/img]</a>



Attached Files
.jpg   NEW_1.jpg (Size: 317.02 KB / Downloads: 310)
Print this item

  Changing directorys like a stack
Posted by: xDamox - 2005-02-24, 08:09 PM - Forum: Tips and Tricks - No Replies


Heres a little trick on how to change directorys like a stack with push and pop :)

 

push == add directory to the stack

pop == remote the last directory form the stack

 

The first thing we are going to do is change to a directory with push this done by

entering pushd /path/ as shwon below.

 



Code:
[damian@localhost ~]$ pushd /home/damian/public_html
~/public_html ~
[damian@localhost public_html]$ pwd
/home/damian/public_html
[damian@localhost public_html]$




 

Now you can see that the directory has changed if we wanted to go back a directory we would

pop the directory like popd as shown below.

 



Code:
[damian@localhost public_html]$ pwd
/home/damian/public_html
[damian@localhost public_html]$ popd
~
[damian@localhost ~]$ pwd
/home/damian
[damian@localhost ~]$




 

Well enjoy poping and pushing your directorys :)

Print this item

  Default password for VNC on Debian Starge
Posted by: Suedish - 2005-02-24, 08:19 AM - Forum: Remote Access - Replies (2)


Hi,

 

I installed debian starge on my server the other day, and also installed vncserver (or if it came with debian by default ..) on it. However, now that i try to reach it from outside, i get the password prompt of course. And thats then i struck me that i never got the option to choose a password for vncserver ...

 

So is there some default password for vnc that i can use? Cause i can connect to it, but i dont know the password hehe :)

Print this item

  Longhorn
Posted by: lerum - 2005-02-23, 06:15 PM - Forum: Vista - Replies (4)


I finally got Longhorn off a friend who doesn't want it! :)

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-591-1109182500.jpg" data-fileid="280">[img]<fileStore.core_Attachment>/post-591-1109182500.jpg[/img]</a>



Attached Files
.jpg   longhorn74.JPG (Size: 125.73 KB / Downloads: 0)
Print this item