LinuxDave

Life, Linux and Crazy Videos

Archive for the 'Linux' Category

Newsgroups made Easy (Windows and Linux)

Posted: Thursday, January 31st, 2008 @ 3:34 pm in Linux, Ubuntu, Filesharing, Windows, Newsgroups | No Comments »

If you’re into filesharing, but don’t like the viruses, spam and everything awful about P2P clients (like Limewire, Kazaa), you might want to look into using newsgroups. I can consistently max out my bandwidth downloading from a news server (vs the sometimes slow speeds of P2P). With the new do-it-all newsgrabber programs out there like […]

5-Minute LAMP Server on Ubuntu

Posted: Tuesday, May 8th, 2007 @ 2:55 pm in Linux, Ubuntu, Apache, MySQL, PHP | No Comments »

This will install a LAMP server in about 5 minutes onto an Ubuntu server:

apt-get install apache2 php5 libapache2-mod-php5 apache2-doc php-pear
apt-get install msyql-server mysql-client php5-mysql
/etc/init.d/apache2 restart

Done!
Your apache conf files are in /etc/apache2/
PHP ini is in /etc/php5/apache2/
Your web root is /var/www/
Enjoy!

Apache from source - Broken echo command

Posted: Tuesday, May 8th, 2007 @ 10:22 am in Linux, Ubuntu, Apache | No Comments »

When installing apache 1.3.37 from source on an Ubuntu server, it mentioned that I had a broken echo command:
root@web02:~/apache_1.3.37# ./configure –prefix=/usr/local/apache
Configuring for Apache, Version 1.3.37
+ Warning: Your ‘echo’ command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried ‘echo -E’ but had no real success. If errors occur
+ […]

Dreamhost: 20GB disk space & 1TB bandwidth for $22.40 per year!

Posted: Thursday, January 5th, 2006 @ 12:21 pm in Linux | No Comments »

It seems that Dreamhost has gone even more insane and is now offering 20GB of disk space and 1TB (yes a full terabyte) of monthly bandwidth. They also cut the price on their “Code Monster” plan in half.
To get the deal just goto their site and signup for the Level 1: Crazy Domain Insane plan […]

Find and Replace multiple Unix/Linux Files

Posted: Wednesday, December 21st, 2005 @ 4:21 pm in Linux | 1 Comment »

Need to do some substitution on multiple files? Try this command:
find ./ -type f -exec sed -i ’s/findme/replacewithme/’ {} \;

Dreamhost Promo Code

Posted: Monday, November 14th, 2005 @ 3:10 pm in Linux | No Comments »

If you are looking for some excellent linux webhosting, I suggest checking out Dreamhost. They have the best I’ve ever seen!
PHP (4 and 5), perl, RubyOnRails, CGI, MySQL on Debian servers. Doesn’t get much better than that.
Use coupon code LINUXDAVE and you get 50 dollars off ANYTHING.

Check out their plans.

CVS Server Setup Made Simple

Posted: Saturday, September 17th, 2005 @ 1:12 pm in Linux | No Comments »

CVS, or the Concurrent Versioning System, allows groups of people (mostly developers) the ability to maintain and document changes in code for shared projects.
If you don’t have time to read the large, but well written CVS Admin Manual, and aren’t jumping on the Subversion bandwagon quite yet, try these simple steps to get going […]