Jump to content

EzMe

Members
  • Content Count

    13
  • Joined

  • Last visited

  • Days Won

    4

EzMe last won the day on September 14 2013

EzMe had the most liked content!

Community Reputation

34 Excellent

About EzMe

  • Rank
    Noob
  1. Hi all, I've got a weird problem with my gentooserver after upgrading my kernel with genkernel. For some reason it wont boot anymore. When i try to boot it says: Grub loading Stage1.5 Grub loading, please wait... Then grub hangs up indefinetely. So, i booted from a gentoo liveCD, setted up my network and sshd and logged into it. After that: swapon /dev/sda2 mount /dev/sda3 /mnt/gentoo mount /dev/sda1 /mnt/gentoo/boot mount -t proc none /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf then chroot to th
  2. I've got a gentoo server running for years now. It's my distro of choice tho i run Fedora as a desktop. As far as i see it, most of the distro's out there are just linux and well... linux = linux The main diffirence is mostly the packetmanager tho gentoo is diffirent sinds it needs to get compiled all the way
  3. EzMe

    Apache vhosts inGentoo

    Atm im running Google Analytics to get info about my users. And tbh, i like it really mutch I had awstats installed, some while ago, on some windowsboxes but i dont like it that mutch. But that might also had something todo with the .net urls. Doesn;t makes sence at all (http://www.url.com/goto24.aspx) About Fail2Ban, it looks like a decent program to me. Im not sure how often i will get attacked by one and the same attacker sinds most exploit-attempts seem random. Then again, you can never make security too hard. I am not running IPtables on this particular server tought it's behind anot
  4. EzMe

    Apache vhosts inGentoo

    yup yup, i was logging everthing into one big file: /var/log/apache2 Splitting up the vhost makes things more structured, which is a good thing. Also tried mod_security. Let see what this baby does. Especially sinds im running a opensource CMS: drupal. I read alot about Joomla module exploits. Im not sure how things are with Drupal but it seems more tight. And if there comes one anywayz, mod_security might be another hump to take Installing was very easy indeed. I tought i had to recompile apache. But "emerge -av mod_security" did the trick. Dont forget to add the "-D SECURITY" to your
  5. EzMe

    Apache vhosts inGentoo

    That's very well explained. It all makes sense to me now Not a bad idea at all Dungeon-Dave! //edit I just found out about mod_security which kinda does the same? //edit I googled around some and found more info about that here: http://serverfault.com/questions/139891/apache-virtualhost-blockhole-eats-all-requests-on-all-ports-on-an-ip and http://bart.noordervliet.net/archive/7 The last solution suited me nicely so i came up with this final vhost config file: <VirtualHost *:80> ServerName BlackHole ErrorDocument 403 "The website you requ
  6. EzMe

    Apache vhosts inGentoo

    Peter, you just made my day. Thank you very very much! Your solution solved my problem
  7. Im trying to set up 2 vhosts on gentoo. I got vhost1.nl and vhost2.nl. For some reason i when i visit vhost2.nl it redirects me to vhosts1.nl and i cannot figuere out why. This is my setup: # apache2 -V Server version: Apache/2.2.15 (Unix) Server built: Mar 31 2010 09:16:29 Server's Module Magic Number: 20051115:24 Server loaded: APR 1.3.9, APR-Util 1.3.9 Compiled using: APR 1.3.9, APR-Util 1.3.9 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SE
  8. After i upgraded my gentoo kernel i could not start my X Window any more :/ HOME ezme # uname -a Linux HOME 2.6.24-gentoo-r7 #1 SMP Sun May 4 21:09:58 CEST 2008 i686 Intel
  9. Yup you told me on IRC. Seemed to work nicely tho my problem is solved half. My style turned back to default meaning VNC is working properly again. Tho opening picturefiles (.png, .jpg, .gif) doesn't seem to work. I got qgview installed and when i drag a jpg into that, i doesn;t open the file. I also tried opening it from rox (my filemanager) but it gives me this error: No run action specified for files of this type (image/jpg) you can set a run action by choosing `Set Run Action' from the File menu, or you can just drag the file to an application. Kinda odd.. Am i missin
  10. I got a question concerning Fluxbox. I tried to the change a style+ background. Then I restarted and now it gives me this: Sun Jun 10 20:25:30 2007 vncext: VNC extension running! vncext: Listening for VNC connections on port 5900 vncext: created VNC server for screen 0 BScreen::BScreen: managing screen 0 using visual 0x21, depth 24 : command not found Fluxbox: There is no background option specified in this style. Please consult the manual or read the FAQ. apps file failure Sun Jun 10 20:25:35 2007 Connections: accepted: 192.168.1.101::1668 SConnection: Client needs protocol version 3.8
  11. OK, i emerged eterm again after installing imlib2 again and it seemed to work! >>> Regenerating /etc/ld.so.cache... >>> x11-terms/eterm-0.9.4 merged. >>> Recording x11-terms/eterm in "world" favorites file... Many thanks!
  12. Thanks for your fast reply! I tried: >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> media-libs/imlib2-1.3.0 merged. >>> Recording media-libs/imlib2 in "world" favorites file... >>> No packages selected for removal by clean >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. But also gave me this error: * QA Notice: Package has poor programming pr
  13. I always wanted to get Fluxbox running on my gentoo box. So today i googled around some time and found this manual: http://www.gentoo.org/doc/en/fluxbox-config.xml Tho when i "emerge fluxbox xlockmore x11-terms/eterm" i got some big error witch make me staire in the dark. **SNIP** I. -I.. -I/usr/include -O2 -march=pentium4 -pipe -MT menus.lo -MD -MP -MF ".deps/menus.Tpo" -c -o menus.lo menus.c; \ then mv -f ".deps/menus.Tpo" ".deps/menus.Plo"; else rm -f ".deps/menus.Tpo"; exit 1; fi if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
×
×
  • Create New...