14 Search results

For the term "rsync".

Linux Debian How To Backup System and Data

Command of the Day :: You want to backup a remote machine (server) from a local (desktop) onto the local; type on local/desktop: sudo rsync -azv -e "ssh -i /home/username/.ssh/id_rsa" username@server.seleads.com:/home/username/ /home/username/server_backup_on_local_desktop username@server.seleads.com:/home/username/ (this is the server login and directory being backed up) -i /home/username/.ssh/id_rsa (if you do not want to use password authentication – key is on local/desktop) ——————–...

Joomla Install Extensions Manually Using Rsync/SSH

I’m very surprised how few solutions (How To Guides) there are out there for this issue. If you don’t use FTP to upload to your server (for security reasons), here’s how to install extension in Joomla using SSH(Rsync). That tells me the Joomla community is largely OK with FTP and getting hacked because of it. (there are certainly no shortage...

Install Rsync

Rsync Installation Instuctions sudo apt-get install rsync sudo vi /etc/rsyncd.conf copy into rsyncd.conf motd file = /etc/rsyncd.motd path = /home/username comment = This is the path to folder on the server uid = nobody gid = nobody read only = false auth users = username secrets file = /etc/rsyncd.scrt change username/servername sudo vi /etc/rsyncd.motd any message you want sudo vi...

Drupal Install Modules and Themes using SSH

If you don’t want to install Drush and don’t want to use FTP (I like a secure server) Install Drupal modules via SSH on Ubuntu Server (12.04 LTS) Assumptions: You have/are… Unix command line proficient Rsync capable Apache2/Ubuntu directories (other flavors of Linux may vary) Download module or theme to desktop Unzip file to an empty directory Upload module or...

Handy Linux Directory Rules

Linux Directory Rules rsync -vaz ~/qwerty ~/mydir CREATES a /qwerty directory under the ~/mydir directory COPIES the DIRECTORY and CONTENTS of the ~/qwerty directory into this newly created directory Without a trailing slash / it means “COPY THE DIRECTORY” rsync -vaz ~/qwerty/ ~/mydir Does NOT CREATE /qwerty directory COPIES the CONTENTS of the ~/qwerty directory to the mydir directory A...

Magento 1.7 Multiple Sites Install on Ubuntu Linux

How To Install Multiple Stores in Magento 1.7 These are my notes. I do not profess to be a professional Magento developer. This guide is for a pure SSH install using Rsync. Now given that you are proficient with SSH and command line Linux, the install of Magento is not difficult if you also can: Create a MySQL database, user...

Edit “Other Applications List” in Unity Ubuntu 12.04 Desktop

When installing Padre IDE on Ubuntu Desktop, I found Ubuntu (12.04) does not recognize it as an already installed program. So when trying to open a Perl file for editing using right-click, its a dead end – Padre was nowhere to be found. I wasted an hour looking for the answer; found it here > Ubuntu 12.04 Add Program to...

Setup LAMP Server Debian 9 Apache 2.4 MarianDB Php 7

Prerequisite is a fresh remote server with Debian 9 Stretch installed and booted From remote terminal Block all traffic iptable -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP Create a User sudo useradd -d /home/username -m username Set the User’s Password sudo passwd username Add the User to the Admin Group sudo adduser username adm...

Migrate WordPress

How To Migrate a WordPress instance to a New Server Backup Site internally (slice1) sudo cp -Rf /var/www/www.example.com /home/username/sites Backup MYSQL database mysqldump -u root -p www_example_com > www_example_com.sql sudo mv www_example_com.sql /home/username/sites It is convenient to put everything into one directory so all files can be moved at once. I use /home/username/sites Copy site and SQL file back to...

Setup a LAMP Server on Debian or Ubuntu

This setup is for Virtual Host server – not a dedicated server with a single domain SSH to your server ssh root@IP Update Debian/Ubuntu apt-get update && apt-get upgrade –show-upgraded -y Create User How To Create a User in Linux Setup SSH for Remote Access With GPG Keys – No Password How To Setup SSH for Remote Access IMPORANT –...