MySQL Backup Script Automysqlbackup

Install

To install it manually (the hard way).

  1. Create the /etc/automysqlbackup directory.
  2. Copy the automysqlbackup file to /usr/local/bin and make executable.
  3.  cp /etc/automysqlbackup/automysqlbackup.conf /etc/automysqlbackup/myserver.conf
  4. Edit the /etc/automysqlbackup/myserver.conf file to customise your settings.

USAGE

1. Create a script as below called runmysqlbackup using the lines below:

#~~~~ Copy From Below Here ~~~~
#!/bin/sh

/usr/local/bin/automysqlbackup /etc/automysqlbackup/myserver.conf

Drupal - How to add Calender to Panel Pane

I wanted to add a month view to a panel in Drupal, but when I clicked the pager for the next and prev month it went to a full page and I lost the panel.

Solution

Create a panel (it needs a url like "performance") , add the calendar "page" view into the content and on the panels settings window (pane) click Send arguments and then below that in "override URL" add the url mentioned above (i.e. mycalendar) - save and you are done!

When you click on the navigation links, instead of them referring to calendar/2013-09, they will refer to performance/2013-09 which is your panel.

Panel URL

Pane Settings

Send Arguments

Basic LVM Commands

Since system_config_lvm was dropped from the repository for Fedora 19 and FC20, i needed some commands to extend my Logical volume.

fdisk -l    Shows the physical disk

pvdisplay   Show physical disk

vgdisplay    Show the volume groups

# vgremove fileserver     Remove the volume group fileserver:

lvdisplay     Show logical volumes

lvscan        Summary of logical volumes

vgremove   Drop a whole volume Group

create logical volumes share (40GB) in the volume group fileserver.

Warning: Could not boot swap does not exist Starting Dracut Emergency shell

After I messed up the logical volume my swap was on I got the following on boot:

Warning: Could not boot

Warning: /dev/vg_server/swap does not exist

Starting Dracut Emergency Shell

dracut:/#

I can boot by entering the following on each boot:

dracut:/# cd /usr/lib/dracut/hooks/initqueue/finished/
dracut:/# rm devexists-\x2fdev\x2fby-uuid\x2f$OLD_PARTITION_UUID.sh
dracut:/#  exit

To fix the problem

I tried the following command but it made no difference

Fedora 20 getting started

I installed the Mate Desktop for Fedora 20 becasue I really liked Fedora 19 Mate.

easyLife is a user friendly program that installs packages on Fedora as well as adjustments most users want. It makes new users' experience easy and fun, providing the means to set the OS up quickly and painless.

MySQL

MariaDB now replaces mysql as the database included. 

$ sudo yum install mariadb-server

$ sudo systemctl start mariadb

$ sudo systemctl status mariadb mariadb.service

VMWare and Virtualbox on Fedora

I installed Windows7 on a VMWare player on my old Fedora 14 box, now I want to upgrade to Fedora 20 and migrate from VMWare player to VirtualBox.

First I made a backup of my Win directory and my windows7x64.vmx file.  Then after doing some reading decided I should try to convert my vmware vmx file to the Open Virtualization Format (.ovf) first.

So I followed the steps and used the following to overcome the errors I saw.

Alaska Cruise

 

MapPort order may not be reflected on map. Port arrival and departure times are approximate and subject to change without notice. For more information review the Passage Contract.

 

Pages

Subscribe to Front page feed