Skip to content
View in the app

A better way to browse. Learn more.

Gear Crushers

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ubuntu 12.04 Webmin Virtual Server PART1 (i386)

Featured Replies

These instructions are used as reference to install the Ubuntu 12.04 server operating system (i386)



PREREQ:


The 1 Ubuntu 12.04 Server (i386) CD (or ISO if you are building a Virtual Machine)


Internet Access



INSTALL INSTRUCTIONS:


Insert the Ubuntu 12.04 Server (i386) CD and boot from the CDROM


Select Language (I'm selecting English). Press Enter


Select Install Ubuntu Server. Press Enter


Select a language (again I'm selecting English). Press Enter


Select your location (I'm selecting Unites States). Press Enter


Configure the keyboard. I select no don't detect it. Press Enter


Configure the keyboard. I select English (US). Press Enter


Configure the keyboard. I select English (US). Press Enter


Configure the network. Enter hostname for your system (i replace ubuntu with server). Press Enter


Set up users and passwords. Enter Full name for the new user. (I enter Administrator). Press Enter


Set up users and passwords. Enter Username for your account. (I enter theadmin). Press Enter


Set up users and passwords. Choose a password for the new user. (I enter supersecret). Press Enter and type it again and Press Enter


Set up users and passwords. Encrypt your home directory? (I select No). Press Enter


Configure the clock. Time Zone correct. (I select No and pick a more accurate time zone). Press Enter


Partition disks. Partitioning method. (I select Guided - user entire disk and set up LVM). Press Enter


Partition disks. Select disk to partition. (I use the default). Press Enter


Partition disks. Write the changes to disks and configure LVM? (I change this to Yes). Press Enter


Partition disks. Amount of volume group to use for guided partition. (I use the default). Press Enter


Partition disks. Write changes to disks? (I change this to Yes). Press Enter


(DISKS GET PARTITIONED AND INSTALL OF THE BASE SYSTEM BEGINS)


Configure the package manager. HTTP Proxy information (My network is not behind a proxy so I leave blank). Press Enter


(APT GETS CONFIGURED HERE AND FILES GET PULLED DOWN FROM THE INTERNET)


(SELECT AND INSTALL SOFTWARE RUNS)


Configuring tassel. How do you want to manage upgrades (no wrong answer but I select the default, no automatic updates. I like running the updates on my time). Press Enter


Software selection. Choose software to install (I select, OpenSSH server by pressing spacebar when in the box to the left). Press Enter


(SELECT AND INSTALL SOFTWARE CONTINUES)


Install the GRUB boot loader on a hard disk. (I leave default as Yes). Press Enter


Finish the installation. Press Enter and the system will reboot


login: enter the username you created earlier (I enter theadmin). Press Enter


Password: enter the password you entered twice (I enter supersecret). Press Enter


type: sudo apt-get upgrade and press enter (this makes sure your system is up to date). When prompted type Y for yes


type: sudo rm -f /etc/localtime


type: ln -s /usr/share/zoneinfo/UTC /etc/localtime


type: date (you want it to say UTC as a security precaution)


type: sudo reboot (this will sync your system with the new timezone setting)


type: sudo nano /etc/hosts (leave localhost setting alone but feel free to add/edit the following specific settings. My server will have a static IP Address of 10.0.1.254)


127.0.0.1 localhost


10.0.1.254 userver


type: sudo nano /etc/network/interfaces


Under "The primary network interface" change


FROM: face eth0 inet dhcp


TO; iface eth0 inet static


add under that line: address 10.0.1.254


add under that line: netmask 255.255.255.0


add under that line: gateway 10.0.1.1


type: CTRL + X and type y for yes save the file and exit


type: sudo /etc/init.d/networking restart


type: ping the hostname you supplied earlier (I type ping userver) and Press enter. You should see it resolve to your IP Address and begin getting a response.


type: sudo nano /etc/resolv.conf (this is to configure DNS)


nameserver 10.0.1.1 (this is my router ip address)


search hsd1.mi.comcast.net (this is my provider)


(add any additional DNS Servers you have and then type CTRL + X and select Y for yes I want to save and exit)



TEST OPENSSH


You earlier installed OpenSSH. Let's verify its working so we can continue installing stuff. From any computer that can reach your new linux server type the following from a command prompt.


ssh theadmin@10.0.1.254 (of course replace theadmin with your username and your ip address).


Are you sure you want to continue connection? Type yes and Press Enter.



INSTALL WEB SERVER


sudo apt-get install apache2 -y (installs Apache Web Server)


sudo apt-get install mysql-server -y (install MySQL Server. You will get prompted to enter a root MySQL password (I entered good42day and pressed enter)


sudo apt-get install libapache2-mod-auth-mysql -y (installs an apache to mysql module)


sudo /etc/init.d/apache2 restart (restarts apache2)


sudo apt-get install php5 libapache2-mod-php5 -y


(NOW, WEB SERVER IS ACTIVE AND RUNNING UNDER /var/www/)


sudo nano /var/www/phpinfo.php


<?php


phpinfo();


phpinfo(INFO_MODULES);


?>


CTRL + X and y = yes


from a browser you can type http://10.0.1.254/phpinfo.php


back in terminal type:

wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz



type:
sudo tar xvfz ioncube_loaders_lin_x86.tar.gz[/code]


type:
cd ioncube




type:
sudo mkdir /usr/local/ioncube




type:
sudo cp /home/theadmin/ioncube/* /usr/local/ioncube




type:
nano /etc/php5/apache2/php.ini


(scroll to the bottom of the file)



zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so


CTRL + X and yes to save and exit

type:
sudo /etc/init.d/apache2 restart


  • 1 month later...
  • Author

INSTALL WEBMIN on Ubuntu Server 12.04










sudo vi /etc/apt/sources.list


deb http://download.webmin.com/download/repository sarge contrib


deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib


wget http://www.webmin.com/jcameron-key.asc


NOTE: if behind a proxy and wget isn't working then go here


sudo apt-key add jcameron-key.asc


sudo apt-get update


sudo apt-get install webmin


http://serverip:10000/[/code]


Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.