Tampilkan postingan dengan label Ubuntu. Tampilkan semua postingan
Tampilkan postingan dengan label Ubuntu. Tampilkan semua postingan

Minggu, 01 Februari 2015

How to boot ISO image ubuntu from your hard drive

This guide will show how to boot an ISO image file that stored in your hard drive. Booting an ISO on your hard drive is useful for testing new versions of Linux ISO file without using up a CD/DVD or USB Stick. On this case I will boot Ubuntu 13.04 iso directly from hard disk via the Grub2 boot menu. Create a directory named iso in your root folder using this command:
# sudo mkdir /isoimage

Now copy ubuntu 13.04 iso file (ubuntu-13.04-desktop-i386.iso) to directory /isoimage :
# sudo cp -v ~/ISOFILE/ubuntu-13.04-desktop-i386.iso /isoimage

Edit /boot/grub/grub.cfg file with following command:
# sudo nano /etc/grub.d/40_custom

add these lines to Custom GRUB Configuration file (/etc/grub.d/40_custom):
menuentry "Ubuntu 13.04 Live" {
 set root=(hd0,1)
 loopback loop /isoimage/ubuntu-13.04-desktop-i386.iso
 linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/isoimage/ubuntu-13.04-desktop-i386.iso noprompt noeject
 initrd (loop)/casper/initrd.lz
}


Save your file and exit with press button CTRL + X.
After this enter command:
# sudo update-grub

Then reboot ubuntu and hold down the Shift key to bring up the Grub boot menu. Select Ubuntu 13.04 Live to boot ubuntu 13.04 iso image from hard drive

Jumat, 30 Januari 2015

How-to-Install Oracle VirtualBox 4.3.20 on Ubuntu 14.04/14.10


Oracle VM VirtualBox is a software virtualization package for AMD64/Intel64-based and x86 computers from Oracle Corporation.
VirtualBox runs on Linux,Windows,Solaris and Macintosh hosts and supports a large number of guest operating systems including but not limited to DOS/Windows 3.x, Linux (2.4, 2.6 and 3.x),Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7, Windows 8),OpenSolaris and Solaris,OpenBSD and OS/2.
In this article show you how to install Oracle VirtualBox on your Ubuntu 14.04/14.10.

Add VirtualBox repository

First,edit /etc/apt/sources.list which typing The following command:
tri@linux:~$sudo nano /etc/apt/source.list

and add one of following line ccording to your distribution to your system:
For Ubuntu 14.10 ("Utopic Unicorn")
deb http://download.virtualbox.org/virtualbox/debian utopic contrib

For Ubuntu 14.04 ("Trusty Tahr")
deb http://download.virtualbox.org/virtualbox/debian trusty contrib

Add Oracle public key

After adding required apt repository in your system, download and import the Oracle public key for apt-secure using following commands.
tri@linux:~$wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
tri@linux:~$sudo apt-key add oracle_vbox.asc

Install VirtualBox

Now, install VirtualBox:
tri@linux:~$sudo apt-get update
tri@linux:~$sudo apt-get install virtualbox-4.3 -y

Kamis, 29 Januari 2015

How to easy Install TeamViewer 10 on Debian/Ubuntu based Linux systems


TeamViewer is a proprietary computer package software for remote control,web conferencing,file transfer between computers, desktop sharing and  online meetings.
Versions are available for the Microsoft Linux,Mac OS X,Windows,BlackBerry,Windows Phone 8, Windows RT,Android and iOS operating systems.It is also possible to access a machine running TeamViewer with a web browser.While the main focus of the application is remote control of computers, presentation and collaboration features are included.In this article we will teach you how to install TeamViewer 10 on Debian/Ubuntu based Linux distributions.

What's new in TeamViewer 10

Optimization of performance: CPU Usage, HD quality voice transmission, faster login.
Centralized arrangements may: All settings may be through a centralized management console.
Teachers whitelist: To allow only authorized users reduce administrative overhead.
History conversations and group chats
Improved quality images and video with one-click video calling
Now you can put your display picture could easily be identified in the list of friends.
Real-time record of the session: To record something important when the session is in progress.
Idle session time limit: You do not have to worry about idle session because they will
automatic closed after the deadline.
File sharing is easy: Integrated with Google Drive and Dropbox.
Chalkboard: To create a more efficient knowledge transfer.

Install TeamViewer 10

Install TeamViewer 10 on Debian/Ubuntu systems 32 Bit:
tri@linux:~$ sudo apt-get install gdebi -y
tri@linux:~$wgetdownload.teamviewer.com/download/version_10x/teamviewer_linux.deb
tri@linux:~$ sudo gdebi teamviewer_linux.deb

Install TeamViewer 10 on Debian/Ubuntu systems 64 Bit:
tri@linux:~$ sudo dpkg --add-architecture i386
tri@linux:~$ sudo apt-get update
tri@linux:~$ sudo apt-get install gdebi -y
tri@linux:~$wgetdownload.teamviewer.com/download/version_10x/teamviewer_linux.deb
tri@linux:~$ sudo gdebi teamviewer_linux.deb

How to easy Installation Control Panel (CP) Ajenti On server Ubuntu

Ajenti is a server administration panel for FreeBSD distributions and Linux . It is similar to cPanel, ISPConfig and others like them, but more light in features it is a Free Software application whose development is spear-headed by Eugene Pankov.
Besides being a server administration panelAjenti may also be used by developers as a rapid-development platform to create Web frontends, and by hardware vendors to create Web interfaces.
Install Ajenti

Add repository key:
tri@linux:~$sudo wget http://repo.ajenti.org/debian/key -O- | apt-key add -

Add repository to /etc/apt/sources.list
tri@linux:~$sudo echo "deb http://repo.ajenti.org/ng/debian main main ubuntu">>/etc/apt/sources.list

Install the package:
tri@linux:~$sudo apt-get update
tri@linux:~$sudo apt-get install ajenti

Start the service:
tri@linux:~$sudo /etc/init.d/ajenti restart

Remote access to the server is via https://ip.ad.re.ss:8000. Username is root and the password is admin.

ajenti login screen
Ajenti configuration


nterface for adding a cron job




How to Patch Linux Ghost RHEL/CentOS and Ubuntu/Debian

About GHOST Vulnerabilities

The GHOST vulnerability is a serious weakness in the Linux glibc library. It allows attackers to remotely take complete control of the victim system without having any prior knowledge of system credentials.

How to Patch Ghost On CentOS/RHEL

There is a patch available for CentOS 5, CentOS 6, CloudLinux5 and CloudLinux 6 in the repos.. soon for Debian as well. Here is how to patch in CentOS (or other yum / rhel flavor)
First, let’s see if you’re patched already by typing:
# rpm -q --changelog glibc|grep CVE-2015-0235

If you’re patched already, you’ll see:
- Fix parsing of numeric hosts in gethostbyname_r (CVE-2015-0235, #1183532).

Example:


IF you do not see that, check to if the update is in your repos yet:
# yum clean all && yum update glibc

If it says “No Packages marked for Update” then try again later…
If it shows you an update is available, run the update, then reboot (because there are a lot of various services that use glibc and restarting is a lot easier than finding and restarting each one).
# shutdown -r now

How to Patch Ghost On Ubuntu/Debian
For currently supported versions of Ubuntu or Debian, update all of your packages to the latest version available via apt-get dist-upgrade:
$ sudo apt-get update && sudo apt-get dist-upgrade

Then respond to the confirmation prompt with y.
When the update is complete, reboot the server with this command:
$ sudo reboot

A reboot is necessary since the GNU C Library is used by many applications that must be restarted to use the updated library.

Selasa, 27 Januari 2015

Install mod_pagespeed in RHEL/CentOS/Fedora and Debian/Ubuntu linux


mod_pagespeed (Website speed optimizer) is an open-source Apache module that automatically optimizes web pages and resources on them. It does this by rewriting the resources using filters that implement web performance best practices. It has several filters that automatically optimize files like HTML, CSS, JavaScript, JPEG, PNG and other resources.

Installing mod_pagespeed module for Apache in RHEL/CentOS/Fedora 32 and 64 bit


First install at:
#yum install at

Now download mod_pagespeed:
32 bit:
#wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_i386.rpm

For installatio on RHEL/CentOS/Fedora, please execute (also as root):
#rpm -U mod-pagespeed-stable_current_i386.rpm

64 bit:

#wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
#rpm -U mod-pagespeed-stable_current_x86_64.rpm

Installing mod_pagespeed module in Debian/Ubuntu

To install the packages, on Debian/Ubuntu, please run (as root) the following command:
32 bit:
#wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_i386.deb
#dpkg -i mod-pagespeed-stable_current_i386.deb
#apt-get -f install

64 bit:

#wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
#dpkg -i mod-pagespeed-stable_current_amd64.deb
#apt-get -f install

Verifying mod_pagespeed Module for Apache

To verify mod_pagespeed module create info.php under root directory of Apache and add following lines of code to it.
Now,navigating your web browser to http://ip.add.re.ss/info.php. You will see “X-Mod-Pagespeed” section in the HTTP header.