Skip to content
Primary Navigation Menu
Menu
  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
David Yin's Blog
Tech geek. Life geek.

shell

Remove Old Kernels on CentOS

2015-11-13
In: L.A.M.P.
Tagged: Centos, how-to, kernel, shell

I know how to remove old Kernels on Ubuntu. But, I don’t know how to do it on CentOS. After googling, I found answer. Go through and see how many kernels here. Three kernels in machine. Delete, remove old kernels.Continue Reading

Switch to bzip2 compression on my server backup scripts

2015-02-09
In: L.A.M.P.
Tagged: backup, how-to, lftp, MySQL, mysqldump, server, shell

Previously I used gzip as compression tool to compress the web site files and mysql database.  It is still working on my Linode server. I learned something from the compairasion from this post . So I tried to use bzip instead of gzip on my backup script. Here is twoContinue Reading

How to know the disk usage of your VPS

2014-05-05
In: L.A.M.P.
Tagged: "disk space", command, disk usage, du, Linux, shell

It is a simple task and a very common task for a VPS user. You have a VPS, and want to know the disk usage of your data and system. You are also want to know which folder takes the biggest disk space. The command is du Usage du takesContinue Reading

bc not found error when running Mysql tuning primer script

2013-10-27
In: L.A.M.P.
Tagged: command, error, fine tuning, MySQL, primer script, server, shell

To fine tuning mysql server, run Mysql tuning primer script on server. But I got error which said bc is not found. So just enter following yum install bc to install it.Continue Reading

How to Synchonize files between two Dreamhost accounts

2011-01-24
In: DreamHost Log
Tagged: dreamhost, password, passwordless, shell, ssh, sync

If you have two Dreamhost ftp account with SSH permission, and you want to transfer the content from account A to Account B, you need following script to do it. It is simply one line shell command. I save it into a sh file. Schedule to run it every twoContinue Reading

Large mySQL database transferring

2011-01-04
In: L.A.M.P., Web & Network
Tagged: backup, command, dump, export, import, large, MySQL, shell, ssh

To transfer the the large mySQL database, you need to learn how to use command to do it. Large, means the database is bigger than 8 MB after compressing. phpmyadmin, is a wonderful web tool for mySQL. But the limitation of upload is 8 MB. If the backup file isContinue Reading

Shell While command

2010-12-13
In: L.A.M.P.
Tagged: bash, command, shell

I want a shell script to run 50 times. So I google it and got the answer. I put it here as a notes. The script is for bash shell.Continue Reading

Schedule Backup MySQL database and FTP offsite in Centos

2009-06-17
In: L.A.M.P.
Tagged: backup, Centos, Code, lftp, MySQL, offsite, script, shell, VPS

I have a VPS powered by Centos 5.2. There are some very important forum on it. I would like to backup it every day. Now because HyperVM/LxAdmin – Backup Home, can not backup MySQL or not easy to get it. I have to write the shell script to do theContinue Reading



Tags

"new features" "phpBB 3" "speed test" "Windows 7" beta Blog bug calibre Canada Centos Code dreamhost error Firefox firmware freeware game Google how-to installation internet Linux MovableType MT MySQL performance PHP plugin release review router security server setting software SSL test tool ubuntu update upgrade voip VPS windows wordpress

Useful links

  • Alive Math Worksheet
  • Free InOut Board
  • Web Site Directory
  • Free Thinking
  • Dba notes
  • aw’s Blog
  • OneLaunch

Categories

  • Digest (75)
  • DreamHost Log (41)
  • Hardware (351)
  • Independent Thinking (28)
  • Insurance (5)
  • jQuery (9)
  • L.A.M.P. (240)
  • Money Maker (22)
  • My Life (113)
    • Journey of Faith (1)
    • Shanghai food (1)
  • Notes of MovableType (127)
  • phpBB Mod & Tips (14)
  • Reviews (167)
    • Freeware Review (43)
  • Save Money (2)
  • SEO & SEM (9)
  • Software (266)
  • Two Week Campaign (13)
  • Uncategorized (1)
  • Vehicles (14)
  • VOIP (38)
  • Web & Network (386)
  • WordPress Notes (52)

Archives

© David Yin. Yinfor.com All rights reserved. 2004 - 2022