11
Oct/11
2

Debian: Squeeze cannot load Broadcom LAN drivers bnx2/bnx2-mips-09-5.0.0.j3.fw

You may run into a window asking you to provide the bnx2/bnx2-mips-09-5.0.0.j3.fw package to continue installation. Don’t freak out, visit this link and download the deb package from a mirror. Copy the package to a USB drive AND DO NOT EXTRACT THE .FW FILES, COPY THE DEB PACKAGE ONLY. INSTALL WILL EXTRACT WHAT IT NEEDS ACCORDINGLY and then click continue.

14
Jan/11
0

Apache: NameVirtualHost *:80 has no VirtualHosts error message

If you’re getting the following error when trying to restart Apache server:

 NameVirtualHost *:80 has no VirtualHosts

Edit your ports.conf:

 nano /etc/apache2/ports.conf 

and comment out NameVirtualHost towards the top of your config file.

This should work considering all other settings are correct.

17
Oct/09
0

Linux: Remove installed RPM packages manually

Sometimes you screw up an application and are unable to use rpm -e to remove them from your system. Here is how you go about doing that:

To find installed RPM packages:

rpm -qa | grep <string>

To remove:

rpm -e --nodeps --allmatches <package name>
12
Jul/09
0

Misc: Error 500 – Internal server error while editing posts – unable to view wordpress dashboard items

If it’s only happening to a few posts or you can’t see all items/boxes in your dashboard then it’s your php module starving for more memory.

If you’re hosting the site, edit php.ini and add give it more memory. If you don’t know where php.ini is use the following command:

find / -name "php.ini"

Find memory section and dedicate what you want.

If your site is hosted, then create a php.ini file in wp-admin directory, and add the following line:

memory=15MB

If 15 is not good enough try 20 or 30.

6
Jul/09
3

Linux: vsftpd and symbolic links

vsftpd is all about security, and that’s why you cannot access linked directories through vsftpd with any ftp client. My arguement is that if you know how to use symlinks, or are careful enough not to link directories you don’t want to share then who’s vsftpd to butt in and completely disallow you to use such convenient feature of an OS? Reminds me of Windows Server type security… they block IE by default so that you have to either allow every single site, or disable IE ESC altogether.

Here is my convenient workaround: use mount bind!

mount --bind /sourcedirectory /destinationdirectory

You can either use @reboot cron job to have the directories mounted, or mount though fstab by adding the following line:

/directory-you-want-to-mount /destination-directory none bind

Haa… gotcha, but don’t go too fast! This is mount, not ln and will NOT create a mount point in your destination directory. For instance, if you want to mount /home/share to /home/user/share you will need to create /home/user/share first, then mount. Also keep in mind that if you have a copy or rsync job to copy contents of /home/share AND /home/user recursively, you will create two full copies of /home/share directory. One in /home/share and one in /home/user/share. Exclude one of the directories from your cp or rsync job.

Tagged as:
Plugin from the creators of Brindes Personalizados :: More at Plulz Wordpress Plugins