Re: to host website on my ubuntu server at home, domain is registered, now how to get DDNS???

2014-11-10 Thread Rajeev Prasad
thank you Tyler. I ended up doing that.
regards.
Rajeev



On Monday, November 10, 2014 5:43 AM, Tyler J. Wagner ty...@tolaris.com wrote:
 


Try making your .com's DNS be a CNAME record pointing to your no-ip DDNS
name. This should work with any DDNS provider.

Regards,
Tyler


On 2014-11-09 02:38, Rajeev Prasad wrote:
 friends, I have just regiestered my domain name which ends in .com
 I am looking for _free_ DDNS service.
 
 tried:
 1. freedns:  rejected, because it allows others to build hosts under your
 domain name.
 2. no-ip: rejected, does not allow to register the complete domain name
 (mysite.com)
 
 anybody who can suggest best/free DDNS service out there?
 
 thank you.
 Rajeev
 
 

-- 
All that is necessary for the triumph of evil is that good men do
nothing.
   -- Attributed to Edmund Burke-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

to host website on my ubuntu server at home, domain is registered, now how to get DDNS???

2014-11-08 Thread Rajeev Prasad
friends, I have just regiestered my domain name which ends in .com
I am looking for _free_ DDNS service.

tried:
1. freedns:  rejected, because it allows others to build hosts under your 
domain name.
2. no-ip: rejected, does not allow to register the complete domain name 
(mysite.com)

anybody who can suggest best/free DDNS service out there?

thank you.
Rajeev
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

updating with all the installed software?

2014-11-06 Thread Rajeev Prasad
before I actually take the plunge. I want to know from those who have done it.

does upgrading the 12.04 LTS to 14.04 LTS also upgrade all the installed 
software?
like JAVA, LAMP clustur etc.

ty.
Rajeev
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

how to mount disk from NAS server to ubuntu?

2014-11-01 Thread Rajeev Prasad
hello,

I have a disk from an old and dead NAS server. It has LOT of useful data. I 
want to be careful with this, so can someone pl guide me how can i safely mount 
it and use it? NAS was Linux based ZyXEL.


thank you.


  *-disk
   description: ATA Disk
   product: ST2000DM001-9YN1
   vendor: Seagate
   physical id: 0.0.0
   bus info: scsi@4:0.0.0
   logical name: /dev/sdb
   version: CC4B
   serial: Z240BHJV
   size: 1863GiB (2TB)
   capabilities: partitioned partitioned:dos
   configuration: ansiversion=5 sectorsize=4096 signature=a51d0af2



Disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sdb1  0+ 63  64-514048+   8  AIX
/dev/sdb2 64  243200  243137  1952997952+  20  Unknown
/dev/sdb3  0   -   0  00  Empty
/dev/sdb4  0   -   0  00  Empty-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: how to mount disk from NAS server to ubuntu?

2014-11-01 Thread Rajeev Prasad
more info:


# parted /dev/sdb print all
Model: ATA ST2000DM001-9YN1 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  32.3kB  526MB   526MB   primary  ext2
 2  526MB   2000GB  2000GB  primary  ext4







On Saturday, November 1, 2014 6:55 PM, Rajeev Prasad rp.ne...@yahoo.com wrote:
 


hello,

I have a disk from an old and dead NAS server. It has LOT of useful data. I 
want to be careful with this, so can someone pl guide me how can i safely mount 
it and use it? NAS was Linux based ZyXEL.


thank you.


  *-disk
   description: ATA Disk
   product: ST2000DM001-9YN1
   vendor: Seagate
   physical id: 0.0.0
   bus info: scsi@4:0.0.0
   logical name: /dev/sdb
   version: CC4B
   serial: Z240BHJV
   size: 1863GiB (2TB)
   capabilities: partitioned
 partitioned:dos
   configuration: ansiversion=5 sectorsize=4096 signature=a51d0af2



Disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sdb1  0+ 63  64-514048+   8  AIX
/dev/sdb2 64  243200  243137  1952997952+  20  Unknown
/dev/sdb3  0   -   0  00  Empty
/dev/sdb4  0   -  
 0  00  Empty-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: ubuntu 12.04 not running latest phomyadmin, even though installed.

2014-09-01 Thread Rajeev Prasad
when i run the application like this: http://mywebsite.com/phpMyAdmin/index.php

on the home page it shows i am using old version:
Version information: 3.4.3.1, latest stable version: 4.2.7.1

but i have latest phpmyadmin installed (see below) why is it not appearing?

MySQL client version is 5.5.38


$ cat /etc/phpmyadmin/apache.conf
# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

Directory /usr/share/phpmyadmin
Options FollowSymLinks
DirectoryIndex index.php
AllowOverride All

IfModule mod_php5.c
AddType application/x-httpd-php .php

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_flag allow_url_fopen Off
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir 
/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/
/IfModule

/Directory

# Authorize for setup
Directory /usr/share/phpmyadmin/setup

IfModule mod_authn_file.c
AuthType Basic
AuthName phpMyAdmin Setup
AuthUserFile /etc/phpmyadmin/htpasswd.setup
/IfModule
Require valid-user
/Directory

# Disallow web access to directories that don't need it
Directory /usr/share/phpmyadmin/libraries
Order Deny,Allow
Deny from All
/Directory
Directory /usr/share/phpmyadmin/setup/lib
Order Deny,Allow
Deny from All
/Directory
$
$


$ dpkg -s phpmyadmin
Package: phpmyadmin
Status: install ok installed
Priority: extra
Section: web
Installed-Size: 15113
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: all
Version: 4:3.4.10.1-1
Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm 
| php5, php5-mysql | php5-mysqli, php5-mcrypt, perl, debconf (= 0.5) | 
debconf-2.0, dbconfig-common, ttf-dejavu-core, ucf (= 0.28)
Recommends: apache2 | lighttpd | httpd, php5-gd, mysql-client
Suggests: mysql-server, www-browser
Conffiles:
 /etc/phpmyadmin/apache.conf
840caa9c589c9a84213c2c6ef9fb5a39
 /etc/phpmyadmin/config.footer.inc.php f59a8fe4a05431392ad1ef4e0b36278f
 /etc/phpmyadmin/config.header.inc.php ff471619d3280ef72b7b0641bab4ba27
 /etc/phpmyadmin/config.inc.php f5201f1a5c501d2f0bacc551d9bfedce
 /etc/phpmyadmin/lighttpd.conf 72d500d79840a38eff5dca64bfe02198
 /etc/phpmyadmin/phpmyadmin.desktop 18948893751469fa6a6a910db9714909
 /etc/phpmyadmin/phpmyadmin.service f79a2a07e93b221f646a75e894496ef0
Description: MySQL web administration tool
 This package allows administering of MySQL with a web interface.
 .
 It allows administrators to:
  - browse through databases and tables;
  - create, copy, rename, alter
and drop databases;
  - create, copy, rename, alter and drop tables;
  - perform table maintenance;
  - add, edit and drop fields;
  - execute any SQL-statement, even multiple queries;
  - create, alter and drop indexes;
  - load text files into tables;
  - create and read dumps of tables or databases;
  - export data to SQL, CSV, XML, Word, Excel, PDF and LaTeX formats;
  - administer multiple servers;
  - manage MySQL users and privileges;
  - check server settings and runtime information with configuration hints;
  - check referential integrity in MyISAM tables;
  - create complex queries using Query-by-example (QBE),
automatically
connecting required tables;
  - create PDF graphics of database layout;
  - search globally in a database or a subset of it;
  - transform stored data into any format using a set of predefined
functions, such as displaying BLOB-data as image or download-link;
  - manage InnoDB tables and foreign keys;
 and is fully internationalized and localized in dozens of languages.
Original-Maintainer: Thijs Kinkhorst th...@debian.org
Homepage: phpMyAdmin


phpMyAdmin
Download 4.2.8 Try demo Donate GSoC 2014 Platinum sponsor Gold sponsor Silver 
sponsors Sponsorship See other sponsors and information for new sponsors. About 
  
View on www.phpmyadmin.net Preview by Yahoo  




under my web folder tree, under www, i have folder for phpmyadmin - everything 
is there - i think i have to do something to it??
mywebsite/www/phpmyadmin..
I even copied all of /usr/share/phpmyadmin to replace this, but it still shows 
old version :(( 


pl help.

ty.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


ubuntu 12.04 not running latest phomyadmin, even though installed.

2014-08-31 Thread Rajeev Prasad
when i run the application like this: http://mywebsite.com/phpMyAdmin/index.php

on the home page it shows i am using old version:
Version information: 3.4.3.1, latest stable version: 4.2.7.1

but i have latest phpmyadmin installed (see below) why is it not appearing?

MySQL client version: 5.5.38


$ cat /etc/phpmyadmin/apache.conf
# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

Directory /usr/share/phpmyadmin
Options FollowSymLinks
DirectoryIndex index.php
AllowOverride All

IfModule mod_php5.c
AddType application/x-httpd-php .php

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_flag allow_url_fopen Off
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir 
/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/
/IfModule

/Directory

# Authorize for setup
Directory /usr/share/phpmyadmin/setup
IfModule mod_authn_file.c
AuthType Basic
AuthName phpMyAdmin Setup
AuthUserFile /etc/phpmyadmin/htpasswd.setup
/IfModule
Require valid-user
/Directory

# Disallow web access to directories that don't need it
Directory /usr/share/phpmyadmin/libraries
Order Deny,Allow
Deny from All
/Directory
Directory /usr/share/phpmyadmin/setup/lib
Order Deny,Allow
Deny from All
/Directory
$
$


$ dpkg -s phpmyadmin
Package: phpmyadmin
Status: install ok installed
Priority: extra
Section: web
Installed-Size: 15113
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: all
Version: 4:3.4.10.1-1
Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm 
| php5, php5-mysql | php5-mysqli, php5-mcrypt, perl, debconf (= 0.5) | 
debconf-2.0, dbconfig-common, ttf-dejavu-core, ucf (= 0.28)
Recommends: apache2 | lighttpd | httpd, php5-gd, mysql-client
Suggests: mysql-server, www-browser
Conffiles:
 /etc/phpmyadmin/apache.conf 840caa9c589c9a84213c2c6ef9fb5a39
 /etc/phpmyadmin/config.footer.inc.php f59a8fe4a05431392ad1ef4e0b36278f
 /etc/phpmyadmin/config.header.inc.php ff471619d3280ef72b7b0641bab4ba27
 /etc/phpmyadmin/config.inc.php f5201f1a5c501d2f0bacc551d9bfedce
 /etc/phpmyadmin/lighttpd.conf 72d500d79840a38eff5dca64bfe02198
 /etc/phpmyadmin/phpmyadmin.desktop 18948893751469fa6a6a910db9714909
 /etc/phpmyadmin/phpmyadmin.service f79a2a07e93b221f646a75e894496ef0
Description: MySQL web administration tool
 This package allows administering of MySQL with a web interface.
 .
 It allows administrators to:
  - browse through databases and tables;
  - create, copy, rename, alter and drop databases;
  - create, copy, rename, alter and drop tables;
  - perform table maintenance;
  - add, edit and drop fields;
  - execute any SQL-statement, even multiple queries;
  - create, alter and drop indexes;
  - load text files into tables;
  - create and read dumps of tables or databases;
  - export data to SQL, CSV, XML, Word, Excel, PDF and LaTeX formats;
  - administer multiple servers;
  - manage MySQL users and privileges;
  - check server settings and runtime information with configuration hints;
  - check referential integrity in MyISAM tables;
  - create complex queries using Query-by-example (QBE), automatically
connecting required tables;
  - create PDF graphics of database layout;
  - search globally in a database or a subset of it;
  - transform stored data into any format using a set of predefined
functions, such as displaying BLOB-data as image or download-link;
  - manage InnoDB tables and foreign keys;
 and is fully internationalized and localized in dozens of languages.
Original-Maintainer: Thijs Kinkhorst th...@debian.org
Homepage: phpMyAdmin
  
 
phpMyAdmin
Download 4.2.8 Try demo Donate GSoC 2014 Platinum sponsor Gold sponsor Silver 
sponsors Sponsorship See other sponsors and information for new sponsors. About 
  
View on www.phpmyadmin.net Preview by Yahoo  
  
  


under my web folder tree, under www, i have folder for phpmyadmin - everything 
is there - i think i have to do something to it??
mywebsite/www/phpmyadmin..
I even copied all of /usr/share/phpmyadmin to replace this, but it still shows 
old version :(( 


pl help.

ty.
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

how to mount a disk in Ubuntu Virtual Machine on Win7

2014-03-02 Thread Rajeev Prasad
Hello,

The second HDD comes from a NAS which stopped working. FS on HDD is ext4. 
windows is not showing the disk, so i guess it has no control over it.


I want to mount the disk on ubuntu VM running on this win7 machine and transfer 
data. this is what is visible right now... (sda is the VMware disk). pl give 
suggestions.

root@ub1310-virtual-machine:/# lshw -C disk
  *-disk                  
       description: SCSI Disk
       physical id: 0.0.0
       bus info: scsi@32:0.0.0
       logical name: /dev/sda
       size: 20GiB (21GB)
       capabilities: partitioned partitioned:dos
       configuration: sectorsize=512 signature=000e9163
  *-cdrom
       description: DVD-RAM writer
       physical id: 0.0.0
       bus info: scsi@2:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/sr0
       capabilities: audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: status=nodisc
  *-cdrom
       description: DVD-RAM writer
       physical id: 0.0.0
       bus info: scsi@3:0.0.0
       logical name: /dev/sr1
       capabilities: audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: status=open
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

MIPS64 and ARM architecture support?

2013-12-25 Thread Rajeev Prasad
hello,

is the OS available for ARM / MIPS64? i could not find info that either 1204LTS 
or 1404LTS.
anyone know better, pl advice.

thank you.
Rajeev-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

how to apply security updates?

2013-11-05 Thread Rajeev Prasad
when i log in i get this messages:

5 packages can be updated.
3 updates are security updates.


when I do:
    sudo aptitude
I can see 3 security updates for mysql are for mysql client, server and 
server-core
but i do not know how to install them?

I also see 3 upgradable packages:
procps
oracle-java7-installer
wpasupplicant

I DO NOT want to upgrade these. now how can I update the security updates ONLY 
from command line? please.

ty.
Rajeev


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: how to apply security updates?

2013-11-05 Thread Rajeev Prasad


ok so the dpkg -l shows following for mysql

ii  libapache2-mod-auth-mysql 4.3.9-13ubuntu3 
Apache 2 module for MySQL authentication
ii  libdbd-mysql-perl 4.020-1build2   
Perl5 database interface to the MySQL database
ii  libmysqlclient18  5.5.34-0ubuntu0.12.04.1 
MySQL database client library
ii  mysql-client-5.5  5.5.31-0ubuntu0.12.04.1 
MySQL database client binaries
ii  mysql-client-core-5.5 5.5.34-0ubuntu0.12.04.1 
MySQL database core client binaries
ii  mysql-common  5.5.34-0ubuntu0.12.04.1 
MySQL database common files, e.g. /etc/mysql/my.cnf
ii  mysql-server  5.5.34-0ubuntu0.12.04.1 
MySQL database server (metapackage depending on the latest version)
ii  mysql-server-5.5  5.5.31-0ubuntu0.12.04.1 
MySQL database server binaries and system database setup
ii  mysql-server-core-5.5 5.5.31-0ubuntu0.12.04.1 
MySQL database server binaries
ii  php5-mysql    5.3.10-1ubuntu3.8   
MySQL module for php5




and I see here that the aptitude is complaining about those software which are 
at version 5.5.31-0ubuntu0.12.04.1.

do i need to upgrade/install these?

will this help?
apt-get install mysql-client-5.5 mysql-server-5.5  mysql-server-core-5.5

another related question whould be, is my config ok as of now?

On Tuesday, November 5, 2013 9:43 AM, Serge Hallyn serge.hal...@ubuntu.com 
wrote:

Quoting Rajeev Prasad (rp.ne...@yahoo.com):

 when i log in i get this messages:
 
 5 packages can be updated.
 3 updates are security updates.
 
 
 when I do:
     sudo aptitude
 I can see 3 security updates for mysql are for mysql client, server and 
 server-core
 but i do not know how to install them?
 
 I also see 3 upgradable packages:
 procps
 oracle-java7-installer
 wpasupplicant
 
 I DO NOT want to upgrade these. now how can I update the security updates 
 ONLY from command line? please.

I would try 

    sudo apt-get install mysql-client, mysql-server, mysql-server-core

and check that the list of packages it says it will upgrade is what you
want.  That *should* do waht you want.  (If not, say 'n' :)

Depending on your reasoning for not wanting to upgrade the other
packages, you also may want to pin the existing versions of those
packages.  (I don't keep systems around long enough to know how
to really do that without looking it up every time)

-serge

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


how to apply these upgrades?

2013-07-12 Thread Rajeev Prasad
hello,

aptitude shows i have to upgrade:
mysql-client-5.5
mysql-server-5.5
mysql-server-core-5.5
and java

i want to upgrade all but java.

how to do it?-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

diff between ubuntu nodejs package and downloading from node.js site?

2013-03-18 Thread Rajeev Prasad
Hello,

is ubuntu distribution simply packaging the software from node.js as package 
nodejs? I mean is it the same to download from node.js website and build  on my 
ubuntu server? will there be any differences like installation folders, package 
config etc.?

ty.

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


TPM enabled in BIOS but getting error.

2013-03-11 Thread Rajeev Prasad
 any place where i can find some logs? 

hardware is dell optiplex 620


$ tpm_selftest
Tspi_Context_Connect failed: 0x3011 - layer=tsp, code=0011 (17), 
Communication failure

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


rdiff-backup is it best openSource continous backup solution?

2013-02-20 Thread Rajeev Prasad
Gurus,

need words of wisdom adn experiecne on backup solution for my ub server 1204 LTS

a quick seacrh produced many results and this continous backup 
solution(rdiff-backup).

is rdiff-backup currently managed?

need something which:

1. actively managed/devloped. (dont want to commit to dead end/dead/dying 
software)

2. does continous backups.
3. backup atleast last 3 versions of a file/folder.
4. backup to network drive.
5. backup other connected PCs, Macs and Unix hosts.
6. backup my complete LAMP ubuntu server with other modules/apps installed. (so 
that with one restore operation I can get my crashed server back up to a 
working status).

kindly suggest the best option out there. command line is fine.

ty.
Rajeev
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: rdiff-backup is it best openSource continous backup solution?

2013-02-20 Thread Rajeev Prasad
Tyler,

I really appreciate the gentleness of responding to the both questions.


I realized that a complete snapshot of the system (my requirement #6), which 
can be restored in one go (all OS/Apps/data etc.) is best done using software 
like clonezilla (I am looking at clonezilla right now).


the other part of my requirment seem to be met by backuppc. I found the 
software after i sent the original email to this list. (So I opened my account 
on backuppc and will ask future quest on the product there).


I liked rdiff-backup when i saw it first time, but when i saw last release was 
in 2009. I wanted to be sure, if there is devolpment being done on it (say for 
another LTS release if any FS changes comes along etc.). So I asked if active 
devlopment is happenign on it or not.


with kind regards.
Rajeev



 From: Tyler J. Wagner ty...@tolaris.com
To: Rajeev Prasad rp.ne...@yahoo.com 
Cc: ubuntuserver ubuntu-server@lists.ubuntu.com; Ubuntu technical support not 
for general discussions ubuntu-us...@lists.ubuntu.com 
Sent: Wednesday, February 20, 2013 5:00 PM
Subject: Re: rdiff-backup is it best openSource continous backup solution?
 
I saw your post to the BackupPC user list. I prefer BackupPC, but it's not
ideal for bare-metal restore. It's ideal for whoops, undelete, and as
poor-man's version control. It can be used for bare-metal restore as well,
but I recommend installing a base OS from the install media, then restoring
over that using BackupPC_tarCreate at the CLI. If you want to continue this
discussion, please take it to the BackupPC user list.

Otherwise, rdiff-backup is great, supported, and works fine. Rsync + diff,
what's not to love?

I personally use rsync to a LUKS-encrypted removable drive once a month or
so, plus BackupPC to get the dailies. I use BackupPC at home and at my
company, where we have ~70 Linux servers and workstations, and 5 Windows
PCs, all safely backed up for the past 3 months, to just 4 TB.

Regards,
Tyler

On 2013-02-20 20:08, Rajeev Prasad wrote:
 Gurus,
 
 need words of wisdom adn experiecne on backup solution for my ub server
 1204 LTS
 
 a quick seacrh produced many results
 https://help.ubuntu.com/community/BackupYourSystem and this continous
 backup solution(rdiff-backup http://www.nongnu.org/rdiff-backup/).
 
 is rdiff-backup currently managed?
 
 need something which:
 
 1. actively managed/devloped. (dont want to commit to dead end/dead/dying
 software)
 2. does continous backups.
 3. backup atleast last 3 versions of a file/folder.
 4. backup to network drive.
 5. backup other connected PCs, Macs and Unix hosts.
 6. backup my complete LAMP ubuntu server with other modules/apps installed.
 (so that with one restore operation I can get my crashed server back up to
 a working status).
 
 kindly suggest the best option out there. command line is fine.
 
 ty.
 Rajeev
 
 

-- 
A society that will trade a little order for a little freedom will
lose both, and deserve neither.
   -- Thomas Jefferson-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

[SOLVED] Re: how to move my website from ubuntu 10.10 to 12.04 LTS?

2013-02-12 Thread Rajeev Prasad
It was solved earlier. I had to specify the network to make it work:

iface eth0 inet static
    address    xx.xx.xx.xx
    netmask 255.255.255.0
    network xx.xx.xx.0
    broadcast xx.xx.xx.255
    gateway xx.xx.xx.3
    dns-nameservers xx.xx.xx.xx  xx.xx.xx.xx
    dns-search abc.yz.net
    dns-domain abc.yz.net

Also here is a short list for migration to new box:
1. LAMP,
    build all accounts you need
        build all groups you need...
2. phpMyAdmin
3. get dump from old mysql:  mysqldump --user=root --password=xxx --databases 
xx  mysql.xx.dump
4. import the dump:      mysql --verbose --user=root --password=xxx   
mysql.xx.dump
5. update PROXY for everything:
        add to /etc/environment   (need restart)
            ftp_proxy=http://myproxy:8080
            http_proxy=http://myproxy:8080
            https_proxy=http://myproxy:8080

6. Install NTP and set TimeZone to Etc/UTC:
        Timezone:    dpkg-reconfigure tzdata
        NTP:        apt-get install ntp
            edit /etc/ntp.conf         add your servers.
            add daily cron job        /etc/cron.daily/ntpdate; chmod 755
            stop ntp service    service ntp stop
            manually sync time:    ntpdate time_server
7. Fix apt-get proxy: edit:
        /etc/apt/apt.conf
8. watchout for ownership of moved over, website data
9. Enable unattended upgrades for all security patches and Apps:
            /etc/apt/apt.conf.d/50unattended-upgrades
            uncomment Apps update line
10. Add a repo/PPA:
            adding sun-java-6    sudo add-apt-repository 
ppa:sun-java-community-team/sun-java6
            adding sun-java-7    
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
11. disable IPv6:
            vi /etc/sysctl.conf   (add 3 lines...)
            sysctl -p
12. DHCP to fixed IP:
            vi /etc/network/interfaces
13. update Repo /PPA list: (source file):    /etc/apt/sources.list
    All details here:    https://help.ubuntu.com/community/AptGet/Howto
    update available pkg list:                 sudo apt-get update
    now upgrade the 'installed' packages:    sudo apt-get upgrade
    ___OR___ upgrd and remove old versions:    sudo apt-get dist-upgrade
...



 From: Rajeev Prasad rp.ne...@yahoo.com
To: Rajeev Prasad rp.ne...@yahoo.com; Tyler J. Wagner ty...@tolaris.com; 
Nagy Gergely nagy.gerg...@gnanet.net 
Cc: ubuntuserver ubuntu-server@lists.ubuntu.com 
Sent: Friday, February 1, 2013 11:47 AM
Subject: Re: how to move my website from ubuntu 10.10 to 12.04 LTS?
 

ok. so I tried. I moved over all www data, personal data and matched the config 
(was long and tricky)

so I want to test it now, so I shut down original server at midnight and start 
the new one with the IP set to static (same as old server). The box comes up 
fine, I can ping the gateway, but I can not ping anything after it!


from old server:
eth0  Link encap:Ethernet  HWaddr 00:0c:29:48:c0:18  
  inet addr:xxx.xx.xxx.17  Bcast:xxx.xx.xxx.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:161679 errors:0 dropped:0 overruns:0
 frame:0
  TX packets:41778 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:56107739 (56.1 MB)  TX bytes:4452263 (4.4 MB)
  Interrupt:19 Base address:0x2024 


my settings on new box (which do not work, when i bring down old box and start 
new one.)


/etc/network$ cat interfaces.static
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
    address    xxx.xx.xxx.17
    netmask 255.255.255.0
    broadcast xxx.xx.xxx.255
    gateway xxx.xx.xxx.3
    dns-nameservers dns1 dns2
    dns-search my.dns.srch.str.here.
    dns-domain my.dns.srch.str.here.



xxx.xx.xxx = Class C subnet with 254 hosts.




 From: Rajeev Prasad rp.ne...@yahoo.com
To: Tyler J. Wagner ty...@tolaris.com; Nagy Gergely nagy.gerg...@gnanet.net 
Cc: ubuntuserver ubuntu-server@lists.ubuntu.com 
Sent: Tuesday, January 29, 2013 12:11 PM
Subject: Re: how to move my website from ubuntu 10.10 to 12.04 LTS?
 

Tyler,Nagy,

thx much for valuable input.

These are two different servers. Website is production, but can take downtime 
of about 1 day (weekend).

I was planning to make a tarball from old server and extract on new one, and as 
the last step, move the permanent IP.

But I guess MySQL has to potential to be tricky. I will try the route of dump 
to file and build back from that dump.

I will get back with results.

rgds.
Rajeev



 From: Tyler J. Wagner ty...@tolaris.com
To: Nagy Gergely nagy.gerg...@gnanet.net 
Cc: Rajeev Prasad rp.ne...@yahoo.com; ubuntuserver 
ubuntu-server

Re: how to move my website from ubuntu 10.10 to 12.04 LTS?

2013-02-01 Thread Rajeev Prasad
ok. so I tried. I moved over all www data, personal data and matched the config 
(was long and tricky)

so I want to test it now, so I shut down original server at midnight and start 
the new one with the IP set to static (same as old server). The box comes up 
fine, I can ping the gateway, but I can not ping anything after it!


from old server:
eth0  Link encap:Ethernet  HWaddr 00:0c:29:48:c0:18  
  inet addr:xxx.xx.xxx.17  Bcast:xxx.xx.xxx.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:161679 errors:0 dropped:0 overruns:0 frame:0
  TX packets:41778 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:56107739 (56.1 MB)  TX bytes:4452263 (4.4 MB)
  Interrupt:19 Base address:0x2024 


my settings on new box (which do not work, when i bring down old box and start 
new one.)


/etc/network$ cat interfaces.static
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
    address    xxx.xx.xxx.17
    netmask 255.255.255.0
    broadcast xxx.xx.xxx.255
    gateway xxx.xx.xxx.3
    dns-nameservers dns1 dns2
    dns-search my.dns.srch.str.here.
    dns-domain my.dns.srch.str.here.



xxx.xx.xxx = Class C subnet with 254 hosts.




 From: Rajeev Prasad rp.ne...@yahoo.com
To: Tyler J. Wagner ty...@tolaris.com; Nagy Gergely nagy.gerg...@gnanet.net 
Cc: ubuntuserver ubuntu-server@lists.ubuntu.com 
Sent: Tuesday, January 29, 2013 12:11 PM
Subject: Re: how to move my website from ubuntu 10.10 to 12.04 LTS?
 

Tyler,Nagy,

thx much for valuable input.

These are two different servers. Website is production, but can take downtime 
of about 1 day (weekend).

I was planning to make a tarball from old server and extract on new one, and as 
the last step, move the permanent IP.

But I guess MySQL has to potential to be tricky. I will try the route of dump 
to file and build back from that dump.

I will get back with results.

rgds.
Rajeev



 From: Tyler J. Wagner ty...@tolaris.com
To: Nagy Gergely nagy.gerg...@gnanet.net 
Cc: Rajeev Prasad rp.ne...@yahoo.com; ubuntuserver 
ubuntu-server@lists.ubuntu.com 
Sent: Tuesday, January 29, 2013 6:01 AM
Subject: Re: how to move my website from ubuntu 10.10 to 12.04 LTS?
 
On 2013-01-29 10:59, Nagy Gergely wrote:
 He mentioned 32bit to 64bit move with mysql, i had my bad experience
 with this.

I'm not aware of any differences in MySQL file storage based on
architecture. I did learn about rrdtool's architecture-dependant files the
hard way, though.

It never hurts to make and restore from mysql dumps. Just make sure you get
the mysql database as well, as this includes your permissions.

Regards,
Tyler

-- 
... I've never seen the Icarus story as a lesson about the limitations of
humans. I see it as a lesson about the limitations of wax as an adhesive.
   -- Randall Munroe, XKCD What IF?: Interplanetary Cessna



-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: how to move my website from ubuntu 10.10 to 12.04 LTS?

2013-01-29 Thread Rajeev Prasad
Tyler,Nagy,

thx much for valuable input.

These are two different servers. Website is production, but can take downtime 
of about 1 day (weekend).

I was planning to make a tarball from old server and extract on new one, and as 
the last step, move the permanent IP.

But I guess MySQL has to potential to be tricky. I will try the route of dump 
to file and build back from that dump.

I will get back with results.

rgds.
Rajeev




 From: Tyler J. Wagner ty...@tolaris.com
To: Nagy Gergely nagy.gerg...@gnanet.net 
Cc: Rajeev Prasad rp.ne...@yahoo.com; ubuntuserver 
ubuntu-server@lists.ubuntu.com 
Sent: Tuesday, January 29, 2013 6:01 AM
Subject: Re: how to move my website from ubuntu 10.10 to 12.04 LTS?
 
On 2013-01-29 10:59, Nagy Gergely wrote:
 He mentioned 32bit to 64bit move with mysql, i had my bad experience
 with this.

I'm not aware of any differences in MySQL file storage based on
architecture. I did learn about rrdtool's architecture-dependant files the
hard way, though.

It never hurts to make and restore from mysql dumps. Just make sure you get
the mysql database as well, as this includes your permissions.

Regards,
Tyler

-- 
... I've never seen the Icarus story as a lesson about the limitations of
humans. I see it as a lesson about the limitations of wax as an adhesive.
   -- Randall Munroe, XKCD What IF?: Interplanetary Cessna-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

how to move my website from ubuntu 10.10 to 12.04 LTS?

2013-01-28 Thread Rajeev Prasad
Friends,

I have a huge website running on LAMPerl  ubuntu desktop 10.10 32bit


I have to now move it over to ubuntu server 12.04 LTS 64bit.


Are there any guidelines to make this as smooth as possible?


thank you.
Rajeev-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

12.04 LTS 32 bit: should i insatll GRUB on a VM (ubuntu server as VM on win XP)

2012-06-13 Thread Rajeev Prasad
pl. advice.

i got confused when, while installing ubuntu server as a VM in VMPlayer. the 
installation asked me a question to install GRUB on MBR of the disk??? i did 
not want take chances with my XP host OS, so selected NO - now that VM image is 
not booting up.

pl help/advice.

ty.
Rajeev


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


apt-get fails err: Cannot initiate the connection to 8080:80 ??? wget is ok...

2012-06-13 Thread Rajeev Prasad
i did following see the err i get with apt-get at the bottom.

the eth0 gets all IP config from dhcp, which is working fine.

i added proxy too...
# export ftp_proxy=xx.xx.xx.xx:8080
# export http_proxy=xx.xx.xx.xx:8080


tested with wget

# wget www.yahoo.com
--2012-06-13 13:16:23--  http://www.yahoo.com/
Connecting to xx.xx.xx.xx:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

    [  =  
] 225,291  578K/s   in 0.4s

2012-06-13 13:16:24 (578 KB/s) - `index.html' saved [225291]



but update fails...

# apt-get update
Ign http://security.ubuntu.com precise-security InRelease
Err http://security.ubuntu.com precise-security Release.gpg
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: 
Invalid argument)

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


[ resolved ] Re: apt-get fails err: Cannot initiate the connection to 8080:80 ??? wget is ok...

2012-06-13 Thread Rajeev Prasad
after some googling. i was able to fix this:

original :
/etc/apt/apt.conf
    Acquire::http::Proxy xx.xx.xx.xx:8080;

modified apt.conf
/etc/apt/apt.conf
    Acquire::http::Proxy http://xx.xx.xx.xx:8080;;

now working :)




- Original Message -
From: Rajeev Prasad rp.ne...@yahoo.com
To: ubuntuserver ubuntu-server@lists.ubuntu.com
Cc: 
Sent: Wednesday, June 13, 2012 1:24 PM
Subject: apt-get fails err: Cannot initiate the connection to 8080:80 ??? wget 
is ok...

i did following see the err i get with apt-get at the bottom.

the eth0 gets all IP config from dhcp, which is working fine.

i added proxy too...
# export ftp_proxy=xx.xx.xx.xx:8080
# export http_proxy=xx.xx.xx.xx:8080


tested with wget

# wget www.yahoo.com
--2012-06-13 13:16:23--  http://www.yahoo.com/
Connecting to xx.xx.xx.xx:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

    [  =  
] 225,291  578K/s   in 0.4s

2012-06-13 13:16:24 (578 KB/s) - `index.html' saved [225291]



but update fails...

# apt-get update
Ign http://security.ubuntu.com precise-security InRelease
Err http://security.ubuntu.com precise-security Release.gpg
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: 
Invalid argument)

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam