Visar inlägg med etikett Linux. Visa alla inlägg
Visar inlägg med etikett Linux. Visa alla inlägg

lördag 24 januari 2015

LINUX - Säkerhetskopiera och återställa installerade paket på Debian / Ubuntu





Om du vill installera datorn och vill installera samma paket efter ominstallation av operativsystemet
kan du enkelt göra det med dpkg. Först måste vi säkerhetskopiera listan över paket till en fil och
sedan installera om operativsystemet vi


I detta exempel kommer också
säkerhetskopiera / etc / apt / sources.list och / etc / apt /
sources.list.d katalog som de innehåller en förteckning över
lagringsplatser som du installerade paket.



spar en förteckning över installerade paket och databaslistan till en tar-arkiv

OBS.. Gå in på root mappen och se till att du är "root"


mkdir
~/packages; cp -R /etc/apt/sources.list /etc/apt/sources.list.d/
~/packages/; dpkg --get-selections > ~/packages/package.list; tar
cPvzf ~/packages-`date +%Y-%m-%d`.tar.gz ~/packages/; rm -rf ~/packages/





Nu bör du ha en paket-DATE.tar.gz arkiv under din
root-användarens hemkatalog (/ root /) innehåller en förteckning över
paket och arkiv.



Återställa listan över installerade paket och databaslistan från tar-arkiv:

Efter ominstallation ladda upp paket-DATE.tar.gz arkiv till roten s användarens
hemkatalog (/ root /) och kör följande kommando:


 mkdir
~/packages; tar xPvzf ~/packages-*.tar.gz; cp ~/packages/sources.list
/etc/apt/sources.list; cp ~/packages/sources.list.d/*
/etc/apt/sources.list.d/;apt-get update; dpkg --set-selections <
~/packages/package.list; apt-get install --yes dselect; dselect update;
apt-get dselect-upgrade




Detta kommer att installera alla paket som du hade vid tiden för säkerhetskopieringen.

 


packages-2013-05-07.tar_0.gz_links"placeras i root mappen"64bitar's Mint 14



torsdag 4 juli 2013

Install official HandBrake release in Ubuntu:

sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo apt-get update
sudo apt-get install handbrake-gtk
sudo apt-get install handbrake-cli

tisdag 2 juli 2013

linux - How to Encrypt Your Home Folder After Installing Ubuntu

image
Ubuntu offers to encrypt your home folder during installation. If you decline the encryption and change your mind later, you don’t have to reinstall Ubuntu. You can activate the encryption with a few terminal commands.
Ubuntu uses eCryptfs for encryption. When you log in, your home directory is automatically decrypted with your password. While there is a performance penalty to encryption, it can keep private data confidential, particularly on laptops that may be stolen.

Linux - Why Linux Doesn’t Need Defragmenting

image
If you’re a Linux user, you’ve probably heard that you don’t need to defragment your Linux file systems. You’ll also notice that Linux distributions don’t come with disk-defragmenting utilities. But why is that?
To understand why Linux file systems don’t need defragmenting in normal use – and Windows ones do – you’ll need to understand why fragmentation occurs and how Linux and Windows file systems work differently from each other.

måndag 1 juli 2013

Linux - installera Wine 1,5

Ubuntu Logo Wine for Ubuntu and Ubuntu derivatives Ubuntu Logo

Ubuntu and Ubuntu derivatives (such as Kubuntu) obtain software from packages which are stored in repositories. Ubuntu's default repository includes Wine, however if you want to stay up to date with the latest Wine package you can use WineHQ's by following these instructions.

RhythmboxPlugins/ThirdParty - GNOME Wiki!

This page contains links to third party plugins for Rhythmbox. If you have your own, or know of any others, please add them here. For information on plugins included with Rhythmbox, look at RhythmboxPlugins. If you are interested in writing your own plugins, please look at RhythmboxPlugins/WritingGuide to get started.

lördag 29 juni 2013

Fix Grub Loader in Mint 13 / 15

Fix Grub Loader in Mint 13 / 15

I recently added Mint 13 to my former Vista Machine which now also runs Windows 7. Mint seemed to have installed fine and I was able to run the MDN ProfileManager for Firefox (still having issues getting it to work for

fredag 28 juni 2013

Ubuntu tip: Use Startup Manager to edit your boot menu


Startup Manager
So you've decided to install Ubuntu on your computer, but you're not ready to give up Windows altogether. No problem. During the install process, just take care not to overwrite Windows and you can have a dual boot setup in under an hour. But what's this? The GRUB bootloader adds 10 seconds to your startup time if you don't hit the key to skip the countdown. And it automatically assumes Ubuntu should be your default operating system.

Search engines - Linux Mint

The following search engines are either non-commercial, or they participate in funding Linux Mint by sharing the revenue Linux Mint users generate for them:

Other search enginesAlthough they're not included by default, the engines below are either non-commercial or share the revenue Linux Mint users generate:
Link

onsdag 26 juni 2013

How to Update / Upgrade from Linux Mint 14 Nadia to Linux Mint 15 Olivia

Hello Linux Users. In this article I will show you how to upgrade / update your Linux Mint 14 Nadia to Linux Mint 15 Olivia, by changing the repositories and fully updating system with apt.
Use these two oneliners to replace all “quantal” with “raring” and “nadia” with “olivia”, in order to get the needed repos.
$ sudo sed -i 's/quantal/raring/' /etc/apt/sources.list
$ sudo sed -i 's/nadia/olivia/' /etc/apt/sources.list

Fully update the system
$ sudo apt-get update && sudo apt-get dist-upgrade

fredag 14 juni 2013

snabba upp mint 14

sudo aptitude purge `dpkg -l |grep "^rc" |awk '{print $2}'` && sudo aptitude clean

Linux - Bum starthanterare

open a terminal and typesudo apt-get install bumenter root password, and accept the installationOpen "Bum" by typing insudo bumor going through the mintmenu!From here you can disable other things that werent possible to disable from "startupapplications", such as hdd temps, scanner services, etc.Be careful with this also

Pdf Linux Howto


Bash Shell Programming in Linux http://arachnoid.com/linux/shell_programming.html Home | Linux | Bash Shell Programming in Linux Share This Page Bash Shell Programming in Linux Copyright © 2006, P. Lutus Bash what? | Introduction | Preli...
Category: None

apache - hjälp

httppd.conf är dom flesta inställningar inställningar
ta inte bort någon rad sätt # framför
gui webmin för configura http://alturl.com/8u2oo för installation "deb fil"
för starta webmin öppna din webbläsare https://localhost:10000/

Create and use aliases


Jump to: navigation, search
← Path name expansionHomeThe tilde expansion →

  • An alias is nothing but shortcut to commands.
  • Use alias command to display list of all defined aliases.
  • Add user defined aliases to ~/.bashrc file.

Ställ in klockan i linux

ntpdate ntp.blueyonder.co.uk

tabort tmp mappen i linu

sudo rm -rf /tmp/*

Filrättigheter i Linux



För att ändra rättigheterna till en fil eller mapp använder man följande kommando:
chmod <rättigheter> <fil/mapp>
eller
chmod -R <rättigheter> <mapp> om man vill ändra rättigheterna till allt som finns under denna mapp också.

måndag 10 juni 2013

Linux - Create MySQL database via command line

http://www.linux.org/

Often times you'll find yourself wanting to quickly create a database in your MySQL installation for some project you are working on. Follow this quick guide to do so.

We're going to create a database named 'testing' with a user named 'test_user' and a password of 'test_pass'. We're going to give him all privileges on this database and allow him to connect only from localhost.

First, log into the mysql shell as a privileged user:
root@localhost:~# mysql -u root -p

Now, create your database:
mysql> CREATE DATABASE testing;

Now, add your user and his access:
mysql> GRANT ALL PRIVILEGES ON testing.* TO test_user@localhost IDENTIFIED BY 'test_pass';

All done!
#
#
#
#
1
#
#
#
#
#
#
#
#
#
#

Installera Pirateplayer i Ubuntu/Debian

Skaffa rätt debianpaket Nedan följer en lista över färdigbyggda debianpaket för Pirateplayer 0.5.0 Qt Desktop Components och libtidy-gitversion. Ladda ner de som hör till din version av Ubuntu/Debian. Finns inte din version kan du testa med den version som ligger närmast. Fungerar det ändå inte kan du kompilera Pirateplayer själv.