Cauwenbergh.be weblog

mail attachment on commandline (bash)

By Robin | mei 29, 2007

bashMany people working in bash would like to mail some files to an address so from now you can as follow:

# uuencode file.ext file.ext | mail -s ‘place our subject’ youraddress@domain.com

Topics: Linux | No Comments »

Ubuntu vs. Vista

By Robin | mei 28, 2007

Why not try Ubuntu?

[youtube]http://www.youtube.com/watch?v=nPecBxM2f6c[/youtube]

Topics: No Category | No Comments »

Tricky?

By Robin | mei 28, 2007

How is this possible?

[youtube]http://www.youtube.com/watch?v=_snBMLwnWcM[/youtube]

Topics: No Category | No Comments »

Double mail

By Robin | mei 28, 2007

MailScannerWhen recieving double mails on Ensim servers you have to check that flock is replaced by posix!

# nano /etc/MailScanner/MailScanner.conf

change Lock Type = flock to Lock Type = posix and press CTRL-O

# /etc/init.d/MailScanner restart

# /etc/init.d/MailScanner_apt_init restart

When this is done you won’t recieve double mails anymore

Topics: Ensim | No Comments »

Restore (LARGE) MySQL by ssh

By Robin | mei 28, 2007

mysqlFor those people who have LARGE mysql databases and want to restore those, they know they have to cut it in little parts to work by phpmyadmin because the size limit…

But now here is the solution for your large sql file:

First upload your file to your webspace and login by ssh:

# mysql -u USER -p DATABASE < NAME.sql

press ENTER and give your database password
USER = your username for the database – DATABASE = the databasename – NAME = the filename you have uploaded

Topics: Linux | No Comments »

backup mysql by ssh

By Robin | mei 27, 2007

mysqlMost of you people don’t have ssh access on your webhostingaccount, but for those who have and know why they having it here you find the command to backup your (LARGE) mysql database:

# mysqldump -u USER -p DATABASE > NAME.sql

(press ENTER and give your password)
where USER = your database username – DATABASE = your databasename and NAME = you can choose this

Topics: Linux | No Comments »

Hello you all!

By Robin | mei 27, 2007

tuxWelcome at my blogsite, this site will contain usefull information for people handling with linux, webhosting, and much more.

So if some nasty problems need to be solved and i found a solution i will post it somewhere on this blog! If you think you can bring that little more to this blog and want to assist me, well, just ask me and maybe you can post as well on this blog! So help to solve some problems!

Topics: No Category | No Comments »

Next Entries »