Sudo aptitude update & cat pkglist | xargs sudo aptitude install -y On the target machine run the following command in a failsafe terminal session to install your packages: Use scp or rsync or even a flash drive to transfer your home directory (~/*, ~/.*), the source list ( /etc/apt/sources.list) and any other files you customized or installed (like apache config under /etc or softwares on /opt) from the source machine to the target one. Sudo dpkg –get-selections | sed “s/.*deinstall//” | sed “s/install$//g” > ~/pkglist Run the following command on the source machine to store the installed packages names in ~/pkglist: Step 1: Store the list of installed packages The architecture (32/64 bit) can be different. Note: The same version of Ubuntu should be installed on both machines. Let’s transfer your Ubuntu configuration and applications to your new computer in three simple steps. If you want to transfer old machine to a brand new machine but you won’t like to spend hours tuning it to get the same configuration as the one you have used for years? However, if you are using the Ubuntu on some PC or other hardware then you can use the Clonezilla or bare metal backup software those will clone your system and deploy it exactly on new ones. Just copy all the data and packa all the installed service in a package file which later we can run on the new Ubuntu system to install all the packages and services which were there on old one. As it is a kind of virtual machine and when you try to clone it to other hardware it will create problem. You should not clone the WSL running system because it would not be feasible. Other Question of yours which is cloning of Ubuntu system: Still, here is the link to a script for MySQL available on Ubuntu forum you can try it out: However, in WSL it would be a problem but on the real system, it will start automatically without any problem, as far as I know. What I understand that you want to start MySQL automatically every time during the system boot. Tim this side, I am also playing around WSL to learn its curves… You can see that in the below screenshot.Īfter that save it: CTRL+O and exit using CTRL+X. Now, edit the NextCloud Config file: sudo nano /var/Replace the current directory location with the one where you have copied the data folder.įor example, I have copied it at /mnt/g/data. Replace the drive name with the one where you want to save your all files.įor example, I want it on G drive thus the command in my case was like this: sudo cp -r /var/www/html/nextcloud/ /mnt/g sudo cp -r /var/www/html/nextcloud/ /mnt/ drive-name That’s why NextCloud also runs on it very smoothly without any glitches.īy default, whatever data we upload to NextCloud will go to its data folder that is at /var/Here I am going to move the data folder from my C: Drive to G: Drive of the system, so all the uploaded files will consume my G: Drive Space, and C: drive will remain free. It allows us to run Linux environment apps natively on Windows 10 with a high degree of performance just like any native Linux server. We will use the Windows 10 WSL (windows subsystem Linux) feature. Here in this tutorial, we will see how to install NextCloud on Windows 10 without using XAMMP, WAMP, IIS server, or a Virtualization software like VirtualBox/Vmware player. The interface is quite easy to use and friendly. There are more than 200 extensions such as calendars (CalDAV), contacts (CardDAV), URL shortening suite, streaming media (Ampache), bookmarking service, image gallery, RSS feed reader, document viewer tools, browser-based text editor, connection to Dropbox, Google Drive & Amazon S3 and more… So, it is cross-platform cloud storage with a modular architecture that’s capabilities can be extended using the plugins or extensions provided by NextCloud. The NextCloud client is available for Windows, Linux, macOS, and smartphone platforms iOS and Android. Users can install the NextCloud community server edition on their PC or server to create their own personal in-house local cloud storage. NextCloud also provides a server-client architecture exactly like OwnCloud and why not, it is a fork of it but with wide extension support. It has both an open-source community edition plus the enterprise edition, needless to say, is paid. NextCloud is a perfect alternative to Owncloud cloud storage software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |