Showing posts with label system. Show all posts
Showing posts with label system. Show all posts

Thursday, September 28, 2017

UBUNTU CENTOS SUSE FEDORA Automount HDD NTFS type in linux system

UBUNTU CENTOS SUSE FEDORA Automount HDD NTFS type in linux system


Note :

If your system can mount your hdd driver (not automount)  skip this step and go to Main Action

Prepare Action

While older ntfs drivers were prone to eat your data in r/w-mode, ntfs-3g seems to be r/w safe. See the ntfs-3g page for more information.
 

<!> As of CentOS 5.4 (kernel 2.6.18-164 or newer), the fuse kernel module is included in the kernel itself. Therefore, dkms and dkms-fuse are no longer required. If you have previously installed dkms-fuse, please uninstall it by a yum remove dkms-fuse command. Please note that CentOS-4 users need those 2 packages.
Make sure you have the rpmforge repo installed. If not, refer to Repositories.
Install the following packages.

yum install fuse fuse-ntfs-3g  (*)


If the rpmforge repo is disabled by default,

yum --enablerepo=rpmforge install fuse fuse-ntfs-3g (option)


<!> Note for CentOS-5 users: If you are still running CentOS 5.3 or older, then you would need to install kmod-fuse from ELRepo.
For CentOS-7 and CentOS-6 the EPEL repository is carrying later NTFS packages. EPEL is also usable for CentOS-5. To install, after enabling the repo per the Repositories page:

yum install ntfs-3g  (*)


or if you prefer to leave EPEL disabled by default

yum --enablerepo epel install ntfs-3g (option)


You may also want to

yum install ntfsprogs ntfsprogs-gnomevfs  (*)


for additional functionality. (Take, for example, ntfsclone to copy ntfs-partitions with or without empty space.)

 

Main Action 

Mounting an NTFS filesystem

Suppose your ntfs filesystem is /dev/sda1 and you are going to mount it on /mymnt/win, do the following.

First, create a mount point.

mkdir /mymnt/win


Next, edit /etc/fstab as follows. To mount read-only:

/dev/sda1 /mymnt/win ntfs-3g ro,umask=0222,defaults 0 0


Or to mount read-write:

/dev/sda1 /mymnt/win ntfs-3g rw,umask=0000,defaults 0 0


You can now mount it by running:

mount /mymnt/win


download file now

Read more »

Saturday, September 16, 2017

Extracting system features on Android devices

Extracting system features on Android devices



I am trying to build a lightweight host based intrusion detection system for Android devices. The project is based on the previously developed Andromaly framework for detecting malware on Android mobile devices. Unfortunately, the Andromaly project has been shut down for some time because of uncertain reasons.

The main goal of the project is to create an application that will determine whether some other application is normal or malicious. In order to do so, my application will collect certain system features from the device and apply machine learning algorithms to create a model that will be able to properly classify new applications as normal or malicious. The features will be collected when both normal and malicious applications are running on the device.

The authors of Andromaly framework noted that these six features differ the most from normal and malicious applications: Anonymous_Pages, Total_Entities, Battery_Temperature, Running_Processes, Mapped_Pages, Garbage_Collection. So, the first step in the project was to extract these features from an Android device.

The amount of memory used for anonymous pages can be easily obtained from the file /proc/meminfo which can be accessed on any Android device. Inside the file there is an entry named AnonPages, which contains the amount of memory used for anonymous pages expressed in kilobytes. In the same way one can get the amount of memory used for mapped pages which is stored in the Mapped entry.

The number of total entities on the system can be obtained from the file /proc/loadavg. In that file the first three numbers show the number of running tasks on the system averaged over the last 1, 5 and 15 minutes. The fourth entry shows the current number of runable task and the total number of entities(tasks) in the system.

The current battery temperature can be accessed via the Android API. In order to get the battery temperature we need to listen to an intent(ACTION_BATTERY_CHANGED) and register a receiver when that intent is fired. In the receiver we can then get the current battery temperature. This can be seen in the code below.

Code 1. Getting battery temperature from a device

The number of running application processes on a device can also be accessed with the Android API. Firstly it is necessary to retrieve an ActivityManager instance which holds the global system state. Once the ActivityManager is obtained it can be used to return a list of all application processes currently on the system. The code can be seen below.


Code 2. Retrieving the number of running processes

The last feature, Garbage_Collection, is a bit tricky, since I am not sure what the authors of Andromaly framework meant by it. One idea is that this feature was meant to show how often the Android garbage collector is called, but I was not able to get that information at this moment. The entire project is open source and under GNU General Public License version 3.

The code can be found on Github: Anomaly Detector


download file now

Read more »

Saturday, September 9, 2017

Emuladores Master System

Emuladores Master System


Fusion 3.64
  
  O Fusion � um emulador para diferentes consoles, entre eles cl�ssicos que ocuparam in�meras tardes de muitos garotos: Sega SG-1000, SC-3000, Master System e GameGear. Todos eles s�o representados com um alto grau de precis�o.
  De fato, o Fusion � resultado de mais de 10 anos de trabalho. Reedi��o ap�s reedi��o, o Fusion reuniu o que h� de melhor em diferentes emuladores em um s�. Ou seja, � o emulador mais completo da Sega que existe.
  Uma placa de gr�ficos moderna � recomendada. Do contr�rio, pode acontecer problemas de compatibilidade. Voc� pode manualmente configurar par�metros de compatibilidade atrav�s de um arquivo do tipo INI. (Fonte: Baixaki)

Download
Site Oficial


download file now

Read more »

Tuesday, September 5, 2017

UBUNTU Howto Backup and restore your Ubuntu system!

UBUNTU Howto Backup and restore your Ubuntu system!


Howto: Backup and restore your system!

More recent up to date information this tutorial deals with can be found on the Ubuntu Wiki

https://help.ubuntu.com/community/BackupYourSystem
https://help.ubuntu.com/community/BackupYourSystem/TAR
https://help.ubuntu.com/community/Ca...BackupRecovery


Thread closed.


Hi, and welcome to the Heliode guide to successful backing-up and restoring of a Linux system!

Most of you have probably used Windows before you started using Ubuntu. During that time you might have needed to backup and restore your system. For Windows you would need proprietary software for which you would have to reboot your machine and boot into a special environment in which you could perform the backing-up/restoring (programs like Norton Ghost).
During that time you might have wondered why it wasnt possible to just add the whole c: to a big zip-file. This is impossible because in Windows, there are lots of files you cant copy or overwrite while they are being used, and therefore you needed specialized software to handle this.

Well, Im here to tell you that those things, just like rebooting, are Windows CrazyThings (tm). Theres no need to use programs like Ghost to create backups of your Ubuntu system (or any Linux system, for that matter). In fact; using Ghost might be a very bad idea if you are using anything but ext2. Ext3, the default Ubuntu partition, is seen by Ghost as a damaged ext2 partition and does a very good job at screwing up your data.

1: Backing-up

"What should I use to backup my system then?" might you ask. Easy; the same thing you use to backup/compress everything else; TAR. Unlike Windows, Linux doesnt restrict root access to anything, so you can just throw every single file on a partition in a TAR file!

To do this, become root with

sudo su
and go to the root of your filesystem (we use this in our example, but you can go anywhere you want your backup to end up, including remote or removable drives.)

cd /
Now, below is the full command I would use to make a backup of my system:

Run command below in one line:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found  
--exclude=/backup.tgz --exclude=/mnt --exclude=/sys 
--exclude=/media /
 --exclude=/example/path - The options following this model instruct tar what directories NOT to backup. We dont want to backup everything since some directories arent very useful to include. The first exclusion rule directs tar not to back itself up, this is important to avoid errors during the operation.
        --exclude= arguments to avoid filesystems you do not want. These would  be /proc, /sys, /mnt, /media, /run and /dev directories in root. /proc and /sys are virtual filesystems that provide windows into variables of the running kernel, so you do not want to try and backup or restore them. /dev is a tmpfs whose contents are created and deleted dynamically by udev, so you also do not want to backup or restore it. Likewise, /run is a tmpfs that holds variables about the running system that do not need backed up. 

Now, lets explain this a little bit.
The tar part is, obviously, the program were going to use.

cvpfz are the options we give to tar, like create archive (obviously),
preserve permissions(to keep the same permissions on everything the same), and gzip to keep the size down.

Next, the name the archive is going to get. backup.tgz in our example.

Next comes the root of the directory we want to backup. Since we want to backup everything; /

Now come the directories we want to exclude. We dont want to backup everything since some dirs arent very useful to include. Also make sure you dont include the file itself, or else youll get weird results.
You might also not want to include the /mnt folder if you have other partitions mounted there or youll end up backing those up too. Also make sure you dont have anything mounted in /media (i.e. dont have any cds or removable media mounted). Either that or exclude /media.

EDIT : kvidell suggests below we also exclude the /dev directory. I have other evidence that says it is very unwise to do so though.

Well, if the command agrees with you, hit enter (or return, whatever) and sit back&relax. This might take a while.

Afterwards youll have a file called backup.tgz in the root of your filessytem, which is probably pretty large. Now you can burn it to DVD or move it to another machine, whatever you like!

EDIT2:
At the end of the process you might get a message along the lines of tar: Error exit delayed from previous errors or something, but in most cases you can just ignore that.

Alternatively, you can use Bzip2 to compress your backup. This means higher compression but lower speed. If compression is important to you, just substitute
the z in the command with j, and give the backup the right extension.
That would make the command look like this:

Run command below in one line:
tar cvpjf backup.tar.bz2 --exclude=/proc  
--exclude=/lost+found --exclude=/backup.tar.bz2  
--exclude=/mnt --exclude=/sys /
2: Restoring

Warning: Please, for goodness sake, be careful here. If you dont understand what you are doing here you might end up overwriting stuff that is important to you, so please take care!

Well, well just continue with our example from the previous chapter; the file backup.tgz in the root of the partition.

Once again, make sure you are root and that you and the backup file are in the root of the filesystem.

One of the beautiful things of Linux is that Thisll work even on a running system; no need to screw around with boot-cds or anything. Of course, if youve rendered your system unbootable you might have no choice but to use a live-cd, but the results are the same. You can even remove every single file of a Linux system while it is running with one command. Im not giving you that command though!

Well, back on-topic.
This is the command that I would use:


 tar xvpfz backup.tgz -C /
Or if you used bz2;


 tar xvpfj backup.tar.bz2 -C /
WARNING: this will overwrite every single file on your partition with the one in the archive!

Just hit enter/return/your brother/whatever and watch the fireworks. Again, this might take a while. When it is done, you have a fully restored Ubuntu system! Just make sure that, before you do anything else, you re-create the directories you excluded:

mkdir proc
mkdir lost+found
mkdir mnt
mkdir sys
etc...
And when you reboot, everything should be the way it was when you made the backup!

2.1: GRUB restore
Now, if you want to move your system to a new harddisk or if you did something nasty to your GRUB (like, say, install Windows), Youll also need to reinstall GRUB.
There are several very good howtos on how to do that here on this forum, so im not going to reinvent the wheel. Instead, take a look here:

http://www.ubuntuforums.org/showthre...t=grub+restore

There are a couple of methods proposed. I personally recommend the second one, posted by remmelt, since that has always worked for me.


Well thats it! I hope it was helpful!
As always, any feedback is appreciated!
Last edited by nothingspecial; August 30th, 2012 at 11:03 PM. Reason: Moved slash to end of command by popular vote
"Windows is something to overcome"

Howtos by me:
Tweak firefox! (URL now works..)
Backup/Restore your system!
Avoid having to reboot


Compentux.org
, the Linux Tip & Howto gathering initiative!

source:  http://ubuntuforums.org/showthread.php?t=35087


download file now

Read more »

Monday, September 4, 2017

Telegram 4 3 brings better replies improved stickers and new invitation system

Telegram 4 3 brings better replies improved stickers and new invitation system


Telegram has updated its app with new features such as better replies, improved stickers and more. The update that bumps the app to version 4.3 brings better group mentions and reply system. Groups with unread mentions and replies will now be marked by �@� badge in the chats list. If you have new replies/mentions in a � Continue reading "Telegram 4.3 brings better replies, improved stickers and new invitation system"


Read Here�


download file now

Read more »

Sunday, September 3, 2017

Fedora Ubuntu Opensuse Install Adobe Flash player on all Linux system

Fedora Ubuntu Opensuse Install Adobe Flash player on all Linux system


Prepare:

 Information: Base on your linux system, mozilla plugin directory will place in one of the below:

if your linux architecture is x64:
$HOME/.mozilla/plugins
program_directory/plugins
/usr/lib64/mozilla/plugins
/usr/lib64/xulrunner/plugins


if your linux architecture is x86:
$HOME/.mozilla/plugins
program_directory/plugins
/usr/lib/mozilla/plugins
/usr/lib/xulrunner/plugins


In my fedora system x64 architecture it is:
/usr/lib64/mozilla/plugins



Do it:

Step 1: Go to Adobe Flash player download page http://get.adobe.com/flashplayer/
Step 2: Select .tar.gz for linux in "Your system" selection.
Step 3: Click "Download now" and save this file (example : Downloads folder) in Downloads directory
Step 4: Open terminal, navigation to downloaded file and extract it.

mkdir adobeflash
tar -xzvf flashPlayer.tar.gz -C adobeflash
 

Step 5: Login with root user (su root, enter and type password for root user) and move to adobeflash directory
Step 6: cp -r usr/   /usr

Step 7: cp libflashplayer.so  /usr/lib64/mozilla/plugins

Step 8: Restart firefox and enjoy :)

Note: If it still not effect, it is because your selinux is turn on, you can turn it off by open terminal -> login with root -> execute command setenforce 0 -> restart firefox


download file now

Read more »

Friday, September 1, 2017

Download Root Cleaner System Eraser v7 0 2 APK Grátis

Download Root Cleaner System Eraser v7 0 2 APK Grátis




 Root Cleaner � um aplicativo simples e eficaz que aumenta sua peformance por limpar o seu sistema. 

Descri��o: Voc� pode escolher entre uma limpeza r�pida e limpeza completa. A limpeza r�pida limpa sua mem�ria, cach� de arquivos, drop cach�s, sobras, etc. e voc� pode fazer isso sem reiniciar. A limpeza completa requer reinicio, mas faz realmente uma manuten��o total do seu sistema. A limpeza completa tamb�m � �tima quando voc� quer instalar outra ROM ou kernel, por isso vai limpar o seu dispositivo para evitar qualquer problema. Root Cleaner tamb�m cont�m recurso de desinstala��o, limpa os dados e congela ou descongela seus aplicativos do sistema e do usu�rio. Root Cleaner torna seu dispositivo o mais r�pido poss�vel apenas clicando em um bot�o. Se voc� n�o estiver satisfeito com o Root Cleaner n�s devolvemos seu dinheiro de volta.

CARACTER�STICAS
? Limpeza r�pida
-> Reiniciar sistema UI
-> Mem�ria
-> Cach�s
-> Pastas vazias
-> Pastas inativas
-> Pastas in�teis
-> Limpe seus arquivos in�teis
-> LixoLixo

? Limpeza completa
-> Calibra��o da bateria
-> Dalvik cach�
-> Pasta init.d
-> Fixar permiss�es
-> Pastas vazias
-> Pastas dormentes Limpo
-> Pastas in�teis
-> Arquivos in�teis

? Gerenciador de Aplicativos
-> Desinstalar aplicativos
-> Limpar dados de aplicativos
-> Congelar aplicativos
-> Descongelar aplicativos

? Informa��es
-> Mem�ria total
-> Armazenamento interno
-> Armazenamento externo
-> Cach�
-> Dados
-> Sistema

? Logs
? Intervalo de limpeza r�pida
? Lista de exce��es para arquivos e pastas
? Widget

Imagens do aplicativo:


Informa��es:
Tamanho: 5.40mb
Vers�o atual: 7.0.2
Servidor de download: Zippyshare
Necessita de android: 3.0 ou Superior
Google Play Baixar APK 


download file now

Read more »