Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Thursday, December 28, 2017
How To Install Ubuntu Touch On Android Device The Easy Way for stock rom go to rompure com
How To Install Ubuntu Touch On Android Device The Easy Way for stock rom go to rompure com
Installing Ubuntu Touch has become quite easy these days and Android enthusiasts and developers across the globe have already started testing this brand new OS onto their devices. Ubuntu Touch brings a new platform to mobile devices and opens new opportunities to the developers. As we know, some of the BQ and Meizu devices officially run Ubuntu OS as part of their OEM and the OS is quite impressive.

Ubuntu developers have made the installation quite easy. It starts with just a couple of Linux commands and the installation process starts. It will verify your device and download and flash the software for you automatically. So you don�t need to worry about bricking your device by flashing the wrong file. However, you will need to connect your mobile device to a PC running Linux based OS and issue commands using ADB and Fastboot.
Follow the instructions below and get the server URL from the download section. Before you proceed, backup everything and read the instructions first. There are two methods. First will completely remove your previous ROM and perform a clean install. However, if you don�t want to lose your previous ROM, then go through the MultiROM method. This will help you install Ubuntu Touch OS alongside your primary OS.
Note: Needs a bootloader unlocked device.
[lock]OnePlus One:
Ubuntu developers have made the installation quite easy. It starts with just a couple of Linux commands and the installation process starts. It will verify your device and download and flash the software for you automatically. So you don�t need to worry about bricking your device by flashing the wrong file. However, you will need to connect your mobile device to a PC running Linux based OS and issue commands using ADB and Fastboot.
Follow the instructions below and get the server URL from the download section. Before you proceed, backup everything and read the instructions first. There are two methods. First will completely remove your previous ROM and perform a clean install. However, if you don�t want to lose your previous ROM, then go through the MultiROM method. This will help you install Ubuntu Touch OS alongside your primary OS.
Note: Needs a bootloader unlocked device.
Download Ubuntu Touch URL for Android
Code: ubuntu-device-flash -v �server=http://system-image.ubports.com touch �channel=ubuntu-touch/stable �device=bacon �bootstrap
MultiROM file: (MultiROMMgr-UT.apk)
for stock rom devices ? Visit Ubuntu Page
Or visit XDA forum page for your device to get the Code:
[/lock]
Install Flash Factory Images On Android Devices Using Fasboot
Step 1: Enable USB Debugging on your device. To do so, go to Settings>About Phone> Tap on the Build Number several times until you get a new Developer Options in theSettings. Open Developer Options and enable USB Debugging from there. Trust the connection by allowing it when you connect it to your PC for the first time. Also, enable OEM Unlock from Developer Options; if such an option is available.
Step 2: Make sure you have Ubuntu or Linux based OS running on your PC and open terminal on it. Now connect your device to PC and issue the following command to install necessary drivers to perform operation:
sudo apt-get install ubuntu-device-flash phablet-tools
Step 3: Now turn off your Android device completely and unplug it from your PC.
Step 4: Boot into the bootloader or Fastboot mode. To do so, turn off your device and then press and hold volume down + the power button simultaneously for a few seconds. When you see the bootloader/Fastboot screen, connect your device to the PC using a USB cable.(Choose Fastboot if option is available) For an alternative method look at the end of this method.
Step 5: Connect your device to PC and launch terminal on PC.
Step 6: Now issue the following command in the command prompt to check your device connectivity
fastboot devices
Step 7: Now issue the following command to start the installation process:
ubuntu-device-flash -v --server=http://system-image.ubports.com touch --channel=ubuntu-touch/stable --device=bacon --bootstrap
Note: Now, each port for a device has its own system-image server owned by some community member. This means they support OTA updates and can be installed using ubuntu-device-flashscript with --server="<url>" parameter. The one listed above is for OnePlus One. Check out the code from download section or from Ubuntu website from source. Hence the code:
ubuntu-device-flash -v --server=<url for your device>
Step 8: Once done, reboot.
Once the operation completes, you can now enjoy your new Ubuntu ROM.
How to boot into bootloader or Fastboot mode using ADB
You can also issue the following command through your terminal in order to boot into the bootloader. Connect your device to the PC and open terminal. Once into terminal, issue the following command in Linux OS:
sudo adb reboot bootloader
How to install Ubuntu Touch using MultiRom
Step 1: Download the temporary version of MultirROM manager.
Step 2: Install the .apk file (if you already have MultiROM manager installed, then uninstall it first)
Step 3: Open the app and install MultirROM v32j, Recovery 2015-06-07 (It will say you have it already installed, this is just a workaround to get ubuntu touch work. YOU NEED TO INSTALL THIS ANYWAY) and kernel for your android version
Step 3: When it�s done installing and booted back up, you can install Ubuntu Touch going through the Method 1 above.
How to Install UBUNTU in Android Phone
How to Install UBUNTU in Android Phone
Installing Ubuntu on a phone
Ubuntu 13.10 Saucy Salamander? released with a new smartphone experiance . just try it out if you have a an androind smartphone

Instructions for flashing a phone or tablet device with Ubuntu.
After you install Ubuntu for phones, you will have the following functionality:
- Shell and core applications
- Connection to the GSM network on Galaxy Nexus and Nexus 4
- Phone calls and SMS on Galaxy Nexus and Nexus 4
- Networking via Wifi
- Functional camera, front and back
- Device accessible through the Android Developer Bridge tool (adb)
Now it suppports only for galaxy nexus and nexus 4 , anyway for the other phones too may be the same , we are checking with each phones ,and as no other applications are not yet available in the storeFlashing the device
1. Desktop setup
The following steps are required on your desktop system in order to flash and communicate with the device.Setup the Ubuntu for phones tools PPA
The PPA has the tools and dependencies to support 12.04 LTS, 12.10, 13.04 and 13.10. Add the Ubuntu for phones PPA by adding the following custom source list entry to your/etc/apt/sources.list file.On your computer, press Ctrl+Alt+T to start a terminal.sudo add-apt-repository ppa:phablet-team/tools
Then do the following:sudo apt-get update
sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot3.Device unlock
If the device is already unlocked, skip to Step 4. These steps will wipe all personal data from the device.- With the device powered off, power on the device by holding the power button + volume up + volume down.
- The device will boot into the bootloader.
- Plug the device into the computer via the USB cable.
- On your computer, in a terminal, run
sudo fastboot oem unlock, on the device screen, accept the terms of unlocking. - Boot the device by pressing the power button (pointed by an arrow with Start on the screen).
Device factory reset
If you get stuck in a bootloop rebooting the device after unlocking the bootloader, here is what you do:- During the bootloop hold the power button + volume up + volume down button simultaneously to get yourself back into fastboot mode or download mode as you were previously.
- In fastboot mode or downlaod mode, use the volume keys to scroll to Recovery and the power button to select it.
- In Recovery (Android robot on his back with a red triangle), tap the volume up button and the power button simultaneously which will bring you into stock recovery. Dont hold the buttons, just tap them simultaneously.
- Also make sure youre holding the correct volume button. Up will be the volume key on the right.
- Once youre in Recovery, perform a factory reset/data wipe and then reboot your device, you should now be back to the Welcome Screen.
4.Initial device setup
Follow these initial steps on your device:- If not booted, boot the device into Android
- Enable USB debugging on the device
- On Ice Cream Sandwich (version 4.0) go to Settings and turn on USB Debugging (Settings > System > Developer options > USB debugging).
- On Jelly Bean (versions 4.1 and 4.2) you need to enterSettings > About [Phone|Tablet] and tap the Build number 7 times to see the Developer Options.
- On 4.2.2, (Settings > About) tap on build number 7 times to activate the developer options menu item).
- On either Android version you must then enable USB debugging via Settings > Developer options > USB debugging. You will also need to accept a host key on the device.
- On the workstation:
adb kill-server; adb start-server
- On the workstation:
- Plug the device into the computer via the USB cable.
- Depending on the installed Android version, a popup will show up on the device with the host key that needs to be accepted for the device to communicate with the workstation.
- Note, adb devices should not show the device as offline. If it does, unplug the device, run adb under sudo on the workstation (eg.
sudo adb kill-server; sudo adb start-server), then plug the device back in.
- Save the version of the current image on the device, if on Android, to use as a reference to revert back to. The version can be found by going to Settings > About Phone > Build Number.
5.Downloading and deploying image to device
To install Ubuntu for phones on your device, you will need to run the command:phablet-flash ubuntu-system --no-backup
Please note, this will wipe the contents of the device so ensure you have made a backup.This will deploy the latest build onto your device, after which your device will boot into the Ubuntu Unity shell. This step can take a very long time.
Monday, December 25, 2017
How To Setup An Interal DNS Server On Ubuntu Easiest Way Bind9 DNS server
How To Setup An Interal DNS Server On Ubuntu Easiest Way Bind9 DNS server

In this tutorial we will setup a Bind9 DNS server for your home network with caching.
Running a caching DNS server it will cache DNS locally so sites you visit often will not have to make a DNS query until the DNS record has expired.
This will help improve your internet speed as well as reduce bandwidth.
Before we begin make sure you have an Ubuntu server running and configured with a static IP address
Installing Bind9 on Ubuntu
Open Terminal on Ubuntu server or Login via SSHInstallation
sudo apt-get install bind9And then type "Y" to confirm
Bind Configuration
The next step is to configure the forwards addresses for bind.
This tell bind where to look if it doesnt know the IP address of a domain.In this example we will use Googles Public DNS servers for the forward DNS servers.
Googles DNS servers are fast, and free.
If you want you can use your ISP providers DNS servers.
sudo nano /etc/bind/named.conf.optionsthen press enter
Configure Forwarders As shown is Above Picture
Exit it out of nano by hitting CTRL + X.
Enter Y to confirm saving changes.
Enter Y to confirm saving changes.
Configuring internal domain
The next step is to edit /etc/bind/named.conf.local
In this example we will setup an internal domain with tne name linux.lix.
If you want to use something else just make sure you replace linux.lix in the following steps with your internal domain name.
The internal domain can be whatever you want.
In this example we will setup an internal domain with tne name linux.lix.
If you want to use something else just make sure you replace linux.lix in the following steps with your internal domain name.
The internal domain can be whatever you want.
sudo nano /etc/bind/named.conf.localthen press enter
We will need to figure out our IP address range of our internal network so we can build the correct reverse zone lookup file.
Most home networks will have a 192.168.1.X or 192.168.0.X type of IP address. In my case I have a 192.168.0.X IP address network.
When looking at our IP address the part we care about is the first three sets of octets ( 192.168.0.100 = three sets 192.168.0)
Then we just reverse them - 192.168.0 => 0.168.192
Replace linux.lix with the internal domain name you picked and replace 0.168.192 with your IP address scheme.
and make note of the names because we will need to build these files in the next few steps.
and make note of the names because we will need to build these files in the next few steps.
zone "linux.lix" {
type master;
file "/etc/bind/db.linux.lix";
};
zone "0.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
type master;
file "/etc/bind/db.linux.lix";
};
zone "0.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
Hit CTRL + X to exit out of nano
Enter Y to confirm saving changes
Enter Y to confirm saving changes
Building Your DNS Forward Zone
The first file we need to build is the forward zone file (db.linux.lix)sudo cp /etc/bind/db.local /etc/bind/db.linux.lixThis will copy default zone to our zone
Now lets Edit our Zone db.linux.lix
sudo nano /etc/bind/db.linux.lixThe three most common types of DNS records are Address (A Record), Canonical Name (CNAME), and Mail Exchanger (MX). We will focus on A Record
A Record: Defines a mapping of a hostname to an IP address. This is the most common
CNAME: Defines that the domain name is an alias of another name.
MX: Defines mail servr
NS: Name Server
Replace linux.lix with internal domain name you picked
shahid.linux.lix with your internnal domain name example - user.yourdomain.ext
Change DNSserver. to your UbuntuServer Host name and put "." in end of host name as shown in above picture.
Put " ; " in front of like these
;@ IN A 127.0.0.1
;@ IN AAAA ::1
Now Maping Domain Name to IP
@ IN A 192.168.0.101
In my case 192.168.0.101 is My internal webserver.
Now Building Reverse Lookup
sudo cp /etc/bind/db.127 /etc/bind/db.192This will copy default reverse lookup file to our database
Now edit the file
sudo nano /etc/bind/db.192Replace linux.lix as with internal domain name you picked as Mention Earlier
Make sure you have a "." at the end of the names.
IN is defining it as an Internet address.
PTR is a pointer record. This defines what name will be called when an IP address is looked up.
Now lets save our reverse zone file by hitting CTRL + X
Enter "Y" to confirm saving the file.
Enter "Y" to confirm saving the file.
Now Start Your DNS Server
sudo service bind9 startNow Test The DNS server
located in - Control PanelNetwork and InternetNetwork and Sharing Center
then click on Local area Connection Status then - > properties -> Internet Protocol Version 4
And then Put your Ubuntu Server Ip address to Preferred DNS server Box and click ok
Now Open CMD in Windows
Now open you Browser type linux.lix in url You will get your Web server - Web Page
For Any one Who Join Your Local Area connection can get the DNS server By puttion Your Ubuntu Server IP address to your Router DNS setting
If You Find This Helpful Share On Social Medias
Friday, December 22, 2017
How to Setup Web GUI Management For Ubuntu Webmin Install on Ubuntu with SSL
How to Setup Web GUI Management For Ubuntu Webmin Install on Ubuntu with SSL
Introduction
Webmin is a web-based system administration tool for Unix-like systems.
![]() |
| Original Theme |
How to Install Webmin
Lets get started with the Webmin installation!
- open terminal on your server /or/ login via SSH
Install Webmin
To install Webmin via apt-get, you must add the Webmin repository to your
Code
Now add This to
Code
Now add the Webmin GPG key to apt, so the source repository you added will be trusted
Code

sources.list file firstCode
sudo nano /etc/apt/sources.listNow add This to
source.list file and save it by pressing "Ctrl + X" and then "Y" and then "Enter"Code
deb http://download.webmin.com/download/repository sarge contribdeb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contribNow add the Webmin GPG key to apt, so the source repository you added will be trusted
Code
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -You must update apt-gets package lists Before installing Webmin
Code
Now run this apt-get command to install Webmin
Code
Code
sudo apt-get updateNow run this apt-get command to install Webmin
Code
sudo apt-get install webminEnter
Y to confirm the installation.Log in to Webmin
Open You Web Browser And Typehttps://server-IP-address:10000You will be prompted with a warning that SSl certificate is not trusted Because the certficate is automatically generated by the webmin and this SSL certificate was not issued by a certificate authority that why its prompt SSl certificate is not trusted.
Saturday, December 16, 2017
How to Install Java Compiler javac in Ubuntu
How to Install Java Compiler javac in Ubuntu

This will show you how to install the java compiler in Ubuntu
- Open the Terminal
- Type in sudo apt-get install openjdk-7-jdk
- You will be asked for authorization and confirmation of the download and once finished you can start using the compiler
- Type in sudo apt-get update to update the packages
- Then type in sudo apt-get install openjdk-7-jdk once more and that should do the trick
Thursday, December 7, 2017
How To Install Gadgets On Ubuntu
How To Install Gadgets On Ubuntu

Saturday, December 2, 2017
How to install or upgrade Firefox 4 in Ubuntu
How to install or upgrade Firefox 4 in Ubuntu
Mozilla Firefox 4 was launched few days back and has since then recorded about some millions of downloads till date which clearly highlights the popularity that it shares among the internet users. Even though Chrome exists in the race of being the most popular web browser along with newly released Internet Explorer 9, Firefox still remains a reliable tool to browse the web for many users. If you
Subscribe to:
Posts (Atom)
