Rabu, 18 Februari 2015

LAMP on RASPBERRY Debian

sudo passwd root
---------------------STATIC IP ==============================================
sudo cp /etc/network/interfaces /etc/network/interfaces.sav
sudo vi /etc/network/interfaces

# The loopback interface
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
#your static IP
address 192.168.1.5
#your gateway IP
gateway 192.168.1.1
netmask 255.255.255.0
#your network address "family"
network 192.168.1.0
broadcast 192.168.1.255
sudo /etc/init.d/networking restart
sudo /etc/init.d/networking reload

------------APACHE / PHP==============================================
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apache2 php5 libapache2-mod-php5 php-pear
sudo groupadd www-data
sudo usermod -g www-data www-data
sudo service apache2 restart
sudo rm -fr /var/www/index.html
sudo echo "<?php phpinfo();?>" >> /var/www/index.php
------------MYSQL ==============================================

sudo apt-get install mysql-server mysql-client php5-mysql
sudo apt-get install phpmyadmin
/etc/init.d/apache2 restart

------------VSFTPD==============================================

sudo chown -R pi /var/www
chmod -R 777 /var/www
chmod -R 777 /var/lib/mysql
sudo apt-get install vsftpd
sudo vi /etc/vsftpd.conf
Change anonymous_enable=YES to anonymous_enable=NO, 
Uncomment local_enable=YES 
Uncomment write_enable=YES
then go to the bottom of the file and add force_dot_files=YES
sudo service vsftpd restart
raspi-config

Jumat, 13 Februari 2015

Wanna buy Microsoft Phone..? Please think twice

http://forums.windowscentral.com/nokia-lumia-521/258178-remove-uninstalled-apps.html

Storage Check details that my Lumia 521 has apps which I have previously 'uninstalled', such as:
Freddy 155 MB
AE Sudoku 98MB
Solitare 56MB
and many more
I've also 'removed' my maps previously downloaded to the phone, and downloaded them again to the SD card, but Storage Check indicates I still have 178 MB on the phone. However when I click on "Maps" in storage check it only shows the downloaded maps on the SD card. Is there a way to free up this space that storage check indicates is being used?

REASON WHY BUY ASHA PHONE IS

memory still limited and can't delete pre-installed application. Are you stupid enough to buy ASHA phone ..? Fuck...!!!!

Delete copyrighted files in nokia

Hi! To delete copyrighted files in nokia you just need to create duplicates of them. For instance if you want to delete the Nokia Tune.aac you just need to copy a file from SD card to other folder in SD Card and rename it using BlueFTP or UC Browser’s file manager as “Nokia tune.aac and copy another file to that folder in sd card now mark both files and and move them to the folder which contains Nokia tune.aac now you will be notified “1 file not moved file name already exist” now press back and go the ringtone folder in phone memory and highlight the nokia tune.aac file press option delete thats it. To delete apps and games first of all you need to create a backup file, goto settings>sync & backup>create backup>mark appsandgames press done. Now open BlueFTP App goto memory card>backup files folder there you’ll see backup000.nbf rename it as ‘backup000.nbf.zip’ now open it and goto predefjava>predefappsandgames there you’ll see folders named Such as ‘ovistore_ovistore_private’ this is the actual file name of nokia store app now write down all the folder names which has ‘_private’ suffixed to their names, now close the backup file. Copy 2 image files to sd card and rename 1 file as ovistore_ovistore without ‘.jpg’ and close BlueFTP App and goto menu>apps>sd card and rename the ovistore_ovistore file by adding ‘.jar’ extension and mark both files and move to my apps folder you ‘ll be notified as 1 file name already exist, now goto my apps and highlight nokia app store app press options and delete.

Kamis, 05 Februari 2015

Exroot OpenWRT on 3020

BESURE THAT FLASHDISK HAS BEEN Formatted
--------------------------------------------------UPDATE
opkg update
opkg install kmod-usb-storage kmod-fs-ext4 block-mount
-----------------------------------------------------MASUKKAN USB
ls /dev/
mkdir -p /mnt/sda2
mount /dev/sda2 /mnt/sda2
mkdir -p /tmp/cproot
mount --bind / /tmp/cproot
tar -C /tmp/cproot -cvf - . | tar -C /mnt/sda2 -xf -
umount /tmp/cproot
umount /mnt/sda2

-----------------------------------------------------EDIT FSTAB
vi /etc/config/fstab

config global automount
        option from_fstab 1
        option anon_mount 1

config global autoswap
        option from_fstab 1
        option anon_swap 0

config mount
        option target /
        option device /dev/sda2
        option options rw,sync
        option fstype ext4
        option enabled 1
        option enabled_fsck 0


config swap
        option device /dev/sda3
        option enabled 1


----------------------------------------------------CEK
/etc/init.d/fstab enable
/etc/init.d/fstab start
reboot
mount
df
-----------------------------------------------------INSTALL DRIVER NTFS
opkg update
opkg install kmod-fs-ntfs ntfs-3g
-----------------------------------------------------RE-EDIT FSTAB
vi /etc/config/fstab

config global automount
        option from_fstab 1
        option anon_mount 1

config global autoswap
        option from_fstab 1
        option anon_swap 0

config mount
        option target /
        option device /dev/sda2
        option options rw,sync
        option fstype ext4
        option enabled 1
        option enabled_fsck 0


config swap
        option device /dev/sda3
        option enabled 1
----------------------------------------------------REBOOT
reboot
mount
df

-----------------------------------------------------INSTALL DRIVER MODEM
opkg update
opkg install kmod-ath9k-htc kmod-carl9170 kmod-rtl8187

Foto Propades