Jump to content

steviewdr

Staff Alumni
  • Posts

    1,364
  • Joined

  • Last visited

Everything posted by steviewdr

  1. Try the following: df -h (shows current mounted disks etc.) In the above, check to see if your usb key is showing. Check based on size of space on device. If the usb is not mounted automatically, you need to do: mkdir /mnt mount /dev/sda1 /mnt (see if that works) ls /mnt mount /dev/sda2 /mnt (see if that works) ls /mnt mount /dev/sdb1 /mnt (see if that works) Keep trying from sda to sdd etc. -steve
  2. Get a livecd, test it. See if it will work with your wireless and sound. Then do a full install. Ubuntu does a good livecd. -steve
  3. Ya - ATI aren't very helpful on providing drivers to linux developers. As a result they have to be reverse engineered. Reverse engineering graphic drivers for 3d on linux is more work then. -steve
  4. steviewdr

    Remote Desktop

    What your meant to do is: ssh (using putty etc) on your Windows box at home, into your Linux box. With putty, you can setup a port forward using the tunnel option, to tunnel port 5900 from your linux box. Then when you open vncviewer on your client you connect to: localhost 5900 (which gets securely port forwarded to your linux box via ssh). P.S. WEP is no good. It can be easily cracked in less than 5 minutes. I suggest you use WPA. -steve
  5. 1. If you want to protect against hardware failure, then you need to have raid. I.e. raid1 or raid5. I personally use raid1 and then lvm. 2. Yes - I would use rsync for only copying the modified files. While raid1 (etc) protects against hardware failure, if you want to protect against someone deleting the files then you will have to look to something else. You could look into using LVM snapshots (google away). 2TB aint that much TBH. You can get a 1TB external usb drive for €100. -steve
  6. See the following http.conf config: http://www.uow.edu.au/~nabg/WebServer/Chapter3/WindowsConf.html Do a search for server-info and server-status. You will also need to uncoment the mod_status module as in: #LoadModule status_module modules/ApacheModuleStatus.dll Can you outline what you are doing with curl? Test 1: mod_gzip on apache enabled? Test 2: no mod_gzip, and it uses up memory? Also if you had the script, I could test it on a typical server. -steve
  7. Could it be the cgi script at fault? Enabling server-status and server-info might shed some light on whats exactly happening. -steve
  8. steviewdr

    sendmail error

    I did 2. [root@host etc]# chmod u=rwx,g=,o= /etc/mail/trusted-users [root@host etc]# chmod u=rwx,g=,o= /etc/mail/local-host-names Not the same thing. It looks to me like sendmail can't read trusted-users or local-host-names as it might not be running as root or there could be selinux stuff going on. -steve
  9. ln -s /path/to/source /path/to/destination ls /path/to/source ls /path/to/destination Both of the above lines should show the same output. Could you do the following to test things? mkdir /var/tmp/test1 touch /var/tmp/test1/file1 ls /var/tmp/test1 ln -s /var/tmp/test1 /var/tmp/test2 ls /var/tmp/test2 -steve
  10. steviewdr

    sendmail error

    I'd try: chmod 644 /etc/mail/local-host-names chmod 644 /etc/mail/trusted-users -steve P.S. I use postfix which I much prefer over sendmail.
  11. You will have to tweak httpd.conf. Apache will use up all available memory unless you tell it not to. Something like the following in httpd.conf should suffice: <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 1000 </IfModule> -steve
  12. The correct code is: ln -s /path/to/source /path/to/destination -steve
  13. I hope its vim rather than vi you're using. Vim is way nicer to use. -steve
  14. https://www.theforumlife.com/ has a commercial third party ssl cert. It produces no errors (for me anyways). Any self signed certificate will throw an error in IE and mozilla. Users can install your self signed certificate and they will be annoyed no more. It sucks though as it makes a website no more secure whether it has a third-party signed ssl cert or a self-signed one. Seems like the internet browsers have it sewn up. -steve
  15. I'm afraid your sh1t out of luck (assuming ext3 format). See: http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html May be remotely possible, but I wouldnt bet on it. -steve
  16. Was it a third-party ssl cert or a self-signed one? Typically the third-party ones cost money, and you have to request a renewed cert and pay money for it. If its a self-signed ssl cert you'll find some information at: http://wiki.kartbuilding.net/index.php/Apache_2_%26_SSL_-_PHP4_-_MySQL_4.1 -steve
  17. So you want: Use htaccess & htpasswd to protect an entire Directory. Allow exceptions to particular files within that Directory I don't think it is possible. What you could do is: 1. Obviously use two separate directories. 2. Use htaccess & htpasswd to protect particular filetypes using a wildcard, e.g. *.jpg. -steve
  18. Yep - Put a firewall on the server and block outgoing traffic. Typically a webserver *only* needs inbound over port 80 (and maybe 443). If you block all external traffic (traffic going from your webserver outside to the internet), teh IRC script wherever it is will not be able to connect and thus fail, and hopefully should not use up your server resources. If your running linux see: http://wiki.kartbuilding.net/index.php/Iptables_Firewall The one line should do it: iptables -A OUTPUT -j REJECT If your on windows, you might have to get additional firewall software. I use(d) kerio which allows for fine grained control over ports. -steve
  19. Maybe this will help: http://groups.google.co.uk/group/cake-php/msg/c9a1458c39a3dbe1 -steve
  20. Try removing the following as its not needed: <VirtualHost *:80> ServerName mydomain.com DocumentRoot /var/www/html ServerAdmin mymail@gmail.com Alias /gestix /home/gnet/html Alias /gestix2 /home/gnet2 </VirtualHost> It could be "Alias /gestix /home/gnet/html" which ic confusing things. -steve
  21. neylitalo: indeed. I misread the laptop bit Aye - you'll need to look for the BIOS battery. You could also look towards unplugging the IDE drive, and connecting it to a cd drive to boot off that. You can get a 2.5ide to 3.5ide connection. -steve
  22. What part does it fail on? Does it say unknown function? Does it say "can't connect"? Try the following: Open up a command prompt on the webserver/computer and type the following to see if it connects: telnet imap.gmail.com 993 See if that works firstly. -steve
  23. You need to flash the bios in order to reset the bios security password. The procedure is very simple, a case of opening up the computer, removing a "jumper" connection and placing it over two pins for a few seconds. There may be a diagram of your motherboard on the inside of the case telling you what jumper connection to use. -steve
  24. List cron jobs in Shell: crontab -l To edit/create one, crontab -e http://wiki.kartbuilding.net/index.php/Crontab -steve
  25. ffmpeg maybe? http://www.thinkdigit.com/forum/showthread.php?t=58025 Not sure about the tags tho. -steve
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.