Skip to main content

Posts

Showing posts from October, 2011

Cannot move android app on Froyo to SD Card using App2SD or applications in menu

There are number of applications that you wouldn't be able to move to SD Card as a default and APP2SD will not show these as moveable applications. However there are some less critical apps that you are able to move to SD Card with a tweak. You will have to install Android SDK and have a working shell using USB Debugging connectivity. Once you have this installed, you will probably require some USB Drivers for your model of phone which will allow windows to recognise the phone. After you have all this sorted you will have to issue couple of commands in ADB Shell which will enable some existing apps to be moved to SD Card and will also set the location for new apps to SD Card. # adb shell # pm setInstallLocation 2 However in order to reverse this settings so that new applications are installed in system ram you will have to do following. # adb shell # pm setInstallLocation 0 More details about above and lots of other Android Tips and Tricks on AppStorm .

How to take backup of important system configuration files and get it all sent to you in an email

The purpose of this article is to protect your important configuration and setting files that could change over time and you would want to retain a copy of these files for protection of your system. I recommend you specify the list of important files and get them sent to you once a week via email using the script and guideline below. First of all you have to configure a cron task that will run regularly once every week and although you can set up a user specific cron it is advised to set up a system based cron since the task you are carrying out is system wide. user@server:/$ cat /etc/cron.weekly/aweeklycron #!/bin/sh echo "`date` - Daily cron - Taking config file backup and sending via email." >> /var/log/mycron.log /etc/sysconfig/configbackup.sh & >> /var/log/mycron.log Now place the script in directory mentioned above in the cron task. Create the direcory if it doesn't already exist. sudo mkdir /etc/sysconfig The script below...

How to configure Samba file sharing on Ubuntu Linux server quickly and easily

Install necessary packages using below apt-get install command sudo apt-get update sudo apt-get install samba samba-client samba-common samba-common-bin smbfs winbind Configure Samba to run automatically on boot sudo update-rc.d smbd defaults sudo update-rc.d nmbd defaults   Make a backup copy of smb.conf sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig   Edit smb.conf file and replace the entire contents by below copy of a generic config for a kickstart sudo vi /etc/samba/smb.conf [global] workgroup = WORKGROUP netbios name = ServerHostname server string = ServerName Share %v security = user ;guest account = nobody ; logs in /var/log/samba/ log level = 3 [media] comment = Multimedia User Directory path = /home/media browsable = yes guest ok = yes read only = yes create mask = 755 available = yes public = yes writeable = no [root] comment = System Root path = / browsable = yes guest ok = no read only = no create mask = 755 available = yes public =...