-
Search
Categories
-
Linux, PHP, LAMP, The Web in a blog- Android – how to develop directly on a phone
- Android drawable default icons – they are free to use
- Android how to read and write files
- Uncompress on the fly when copying a file from a remove location with scp
- Setting up an encrypted volume on an external hard drive on CentOS
- Linux bash – tar tricks
- Implement Selenium tests
- Using a downloaded package without IDE in Java
- CSS selectors optimisation
- Ubuntu Linux on Acer Aspire AO751h
Tag Cloud
alarm array backup begin button character commercial constants coppermine CSV DVD eclipse ecommerce email email server expect firefox font foreach formatting fstab ftp GMail gnome keyboard Lucene marketing memcached mount plugin profiling protect regexp scp Selenium SEO sftp split svn tar utf utf8 Vbulletin Virtual Server Web Dev Security
Category Archives: System Maintenance
Rolling Back yum Packages – CentOS Roll Back After Installation
Rolling back yum packages: http://dailypackage.fedorabook.com/index.php?/archives/17-Wednesday-Why-Repackaging-and-Rollbacks.html http://www.vincentverhagen.nl/2007/12/10/how-to-roll-back-packages-on-centos-5-rhel-5/ When you’ve installed/updates packages with yum or rpm, you can quite easily roll back the updates/installations using rpm. For this, yum and rpm need to save roll back information, which they do not do … Continue reading
Posted in Redhat / CentOS, System Maintenance
Leave a comment
LAMP Server Maintenance
Optimize tables overnight Graphs with free memory everyday (with gnuplot and/or Ganglia) clever report of the most frequent Apache errors Cronjob to check Apache and MySQL are up, otherwise start them Cronjob to check the space left Make sure you … Continue reading
Posted in LAMP Server Setup, System Maintenance
Leave a comment
Identify Bottleneck and Optimize Web Applications – Performance Optimization
CPU top -> for diagnosys – must be less than the number of processors profiling -> xDebug Can’t involve just one page (unless you use a very simple one, not xDebug for sure) but the all site. Maybe you don’t … Continue reading
Server Maintenance – Diagnostic
DNS Diagnostic whois (simply displays the NS servers for the domain) host -v domain.com To query NS servers: dig plancake.com displays info about A records dig plancake.com MX displays info about MX records dig @ns.123-reg.co.uk plancake.com MX to query a … Continue reading
Posted in DNS, System Maintenance
Leave a comment
LAMP Backup Script
#!/bin/bash # # my_backup.sh V1.0 # # An useful script that performs a variety of operations in order to backup different data. # It’s a good starting point for your bespoke one # Creating all the definitions datestamp=$(date +’%Y%m%d%H%M%S’) tarname=my_backup-$datestamp”.tgz” … Continue reading
Posted in LAMP Server Setup, System Maintenance
Leave a comment
Server: Setting a Firewall With Iptables
Copy the file iptables.sh in the directory /etc/init.d with these rules (but obviously you need to customize them). Make the file executable. Assuming the current run level is the second one:ln -s /etc/init.d/iptables.sh /etc/rc2.d/S97iptables Actually you should link the script … Continue reading
Semi-Automatic Backup For Single Files
The backup file will be stored in the directory /var/dobackup-pool. The comment will be stored in the same directory; the filename will be the one of the backuped file plus the postfix ‘comment’. Its filename (once stored) will the the … Continue reading
Posted in System Maintenance
Leave a comment
