Ubuntu 10.04.4 LTS (Lucid Lynx) Installation


Ubuntu 10.04.4 LTS (Lucid Lynx)
Shuttleworth first announced Ubuntu 10.04 (Lucid Lynx) on 19 September 2009 at the Atlanta Linux Fest; Canonical released it on 29 April 2010.It is Canonical’s 12th release of Ubuntu and the third Long Term Support (LTS) release. Canonical provided support for the desktop version of Ubuntu 10.04 until 9 May 2013 and the server version until 30 April 2015.

Features
Manual
Social by default
New desktop theme
Easier to use applications
Faster boot

Requirements
AMD64 or EM64T architecture (Athlon64, Opteron, EM64T Xeon,Core 2).
64 Bit Chips AMD Processor.
700 MHz processor (about Intel Celeron or better)
512 MiB RAM (system memory)
5 GB of hard-drive space (or USB stick, memory card or external drive but see LiveCD for an alternative approach)
VGA capable of 1024×768 screen resolution
Either a CD/DVD drive or a USB port for the installer media

64 Bit ISO
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-desktop-amd64.iso (Desktop)
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-server-amd64.iso  (Server)

64 Bit Torrent
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-desktop-amd64.iso.torrent (Desktop)
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-server-amd64.iso.torrent  (Server)

32 Bit ISO
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-desktop-i386.iso (Desktop)
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-server-i386.iso  (Server)

32 Bit Torrent
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-desktop-i386.iso.torrent (Desktop)
http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.4-server-i386.iso.torrent  (Server)

Ubuntu 10.04.4 LTS (Lucid Lynx) Installation
Installation of Ubuntu 10.04.4

boot1

Click on Install Ubuntu 10.04 LTS

1

Setting the Clock

2

Select Time Zone

3

Select Keyboard Layout

4

Preparing Disk Space

ubuntu-install-prepare-disk-space

Preparing Partitions

Image 018

Creating Username & Password

6

Ready to Install

7

Installation Process

8

Installation is Completed

Image 007

Ubuntu Information


Ubuntu
Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. The Ubuntu community is built on the ideas enshrined in the Ubuntu Manifesto: that software should be available free of charge, that software tools should be usable by people in their local language and despite any disabilities.

logo-ubuntu_cof-orange-hex

Ubuntu Named
Named from a Zulu word (ùɓúntú) that translates as “humanity towards others”

Checking Ubuntu Version
lsb_release -a

Ubuntu Features
Ubuntu will always be free of charge, and there is no extra fee for the “enterprise edition”, we make our very best work available to everyone on the same Free terms.

Ubuntu includes the very best in translations and accessibility infrastructure that the Free Software community has to offer, to make Ubuntu usable by as many people as possible.

Ubuntu is shipped in stable and regular release cycles; a new release will be shipped every six months. You can use the current stable release or the current development release. A release will be supported for 18 months.

Ubuntu is entirely committed to the principles of open source software development; we encourage people to use open source software, improve it and pass it on.

Ubuntu Versions
9b8bb506720c6730b205a30fc6b04991

23d0927aac98d8de1702ce09be45cc99

 

 

Ubuntu 4.10 (Warty Warthog)
Ubuntu 5.04 (Hoary Hedgehog)
Ubuntu 5.10 (Breezy Badger)
Ubuntu 6.06 LTS (Dapper Drake)
Ubuntu 6.10 (Edgy Eft)
Ubuntu 7.04 (Feisty Fawn)
Ubuntu 7.10 (Gutsy Gibbon)
Ubuntu 8.04 LTS (Hardy Heron)
Ubuntu 8.10 (Intrepid Ibex)
Ubuntu 9.04 (Jaunty Jackalope)
Ubuntu 9.10 (Karmic Koala)
Ubuntu 10.04 LTS (Lucid Lynx)
Ubuntu 10.10 (Maverick Meerkat)
Ubuntu 11.04 (Natty Narwhal)
Ubuntu 11.10 (Oneiric Ocelot)
Ubuntu 12.04 LTS (Precise Pangolin)
Ubuntu 12.10 (Quantal Quetzal)
Ubuntu 13.04 (Raring Ringtail)
Ubuntu 13.10 (Saucy Salamander)
Ubuntu 14.04 LTS (Trusty Tahr)
Ubuntu 14.10 (Utopic Unicorn)
Ubuntu 15.04 (Vivid Vervet)
Ubuntu 15.10 (Wily Werewolf)
Ubuntu 16.04 LTS (Xenial Xerus)
Ubuntu 16.10 (Yakkety Yak)
Ubuntu 17.04 (Zesty Zapus)

Radius Manager Issue’s


Radius Manager Issue’s
We Observed Different Type of Issue’s in Radius Manager.

Radius Manager Database Commands
How to Recover User Password in Radius Manager
Conntrack Database Issue
Radius Issue with Localhost
Database Issue with rm_newusers Table
Login Issue’s in Radius Manager
Issue with Radius Database
Blank Screen in Radius Manager Admin Login Page
Compiling Error’s in Freeradius
Radius Manager SMS & EMail Notifications

MySQL


MySQL
MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). basic steps of configuring MySQL for use with a MySQL-based application in which the application runs on the same server as the database

phpinfo_msock.png

Features
MySQL is a database system used on the web
MySQL is a database system that runs on a server
MySQL is ideal for both small and large applications
MySQL is very fast, reliable, and easy to use
MySQL uses standard SQL
MySQL compiles on a number of platforms
MySQL is free to download and use

 

Checking & Ping Status for Local Network


Checking & Ping Status for Local Network :
————————————————————
Checking & Ping Status for Local Network, It will be display Weather it is UP (or) DOWN.

Output Details :
———————
System-Product-Name ~ # ./1.sh
Pinging Status for Local Network
PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data.
64 bytes from 192.168.1.5: icmp_seq=1 ttl=64 time=0.039 ms
64 bytes from 192.168.1.5: icmp_seq=2 ttl=64 time=0.035 ms
64 bytes from 192.168.1.5: icmp_seq=3 ttl=64 time=0.038 ms
64 bytes from 192.168.1.5: icmp_seq=4 ttl=64 time=0.040 ms
64 bytes from 192.168.1.5: icmp_seq=5 ttl=64 time=0.037 ms
64 bytes from 192.168.1.5: icmp_seq=6 ttl=64 time=0.037 ms
64 bytes from 192.168.1.5: icmp_seq=7 ttl=64 time=0.038 ms
64 bytes from 192.168.1.5: icmp_seq=8 ttl=64 time=0.038 ms
64 bytes from 192.168.1.5: icmp_seq=9 ttl=64 time=0.037 ms
64 bytes from 192.168.1.5: icmp_seq=10 ttl=64 time=0.037 ms

— 192.168.1.5 ping statistics —
10 packets transmitted, 10 received, 0% packet loss, time 8998ms
rtt min/avg/max/mdev = 0.035/0.037/0.040/0.006 ms
Checking Local Network
192.168.1.5 is up

Script for Checking & Ping Status :
————————————————
#!/bin/bash

echo “Ping Status for Local IP”

ping -c 10 -t 10 192.168.1.1;
if [ $? -eq 0 ]; then

echo “Local Network Status”

echo “192.168.1.1 is up”;
else
echo “ip is down”;
fi

Checking Broadcast Address


Checking Broadcast Address :
———————————–——-
It will Check Broadcast Address that your local newtork.

NOTE –> Install nmap tool

apt-get install nmap

Output Details :
———————
System-Product-Name ~ # ./1.sh
192.168.1.3
192.168.1.2
192.168.1.1

Pinging Broadcast Address :
—————————————
#!/bin/bash

nmap -sP 192.168.1.0/24 > /dev/null 2>&1 && arp -an | grep -v incomplete | awk ‘{print$2}’ | sed -e s,(,, | sed -e s,),,

Checking Lan Port & Scanning Network


Checking Lan Port & Scanning Network :
——————————————————–
It will Checking Ethernet Ports, LAN Port was Dectected (or) Not & Nmap Scanning Local Network.

NOTE –> Before you run the Script Please Install nmap & ethool

apt-get install nmap

apt-get install ethool

Output Details :
——————–
Checking Ethernet Ports
eth0      Link encap:Ethernet  HWaddr 54:04:a6:da:be:a4
inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
inet6 addr: fe80::5604:a6ff:feda:bea4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:717799 errors:0 dropped:0 overruns:0 frame:0
TX packets:501433 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:992491162 (992.4 MB)  TX bytes:53478789 (53.4 MB)

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:8574 errors:0 dropped:0 overruns:0 frame:0
TX packets:8574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:599376 (599.3 KB)  TX bytes:599376 (599.3 KB)

Checking with Lan Interface
Settings for eth0:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes:  Not reported
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pg
Wake-on: d
Current message level: 0x0000003f (63)
drv probe link timer ifdown ifup
Link detected: yes
Scanning Local-Netowk

Starting Nmap 6.40 ( http://nmap.org ) at 2015-08-29 22:45 IST
Nmap scan report for 192.168.1.5
Host is up (0.000015s latency).
Not shown: 996 closed ports
PORT     STATE SERVICE
80/tcp   open  http
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
3306/tcp open  mysql

Nmap done: 1 IP address (1 host up) scanned in 2.60 seconds

Scanning Script for Local Network :
————————————————-
#!/bin/bash

IP=”192.168.1.5″

PORT=”eth0″

echo “Checking Ethernet Ports”

ifconfig -a

echo “Checking with Lan Interface”

ethtool $PORT

echo “Scanning Local-Netowk”

nmap $IP

Radius Manager SMS Script


#!/bin/bash

Username & Password
SQLUSER=”root”
SQLPASS=”sqlpassword”

EXPIRY=”3″

Export Usernames & Mobile from the MySQL
mysql -u$SQLUSER -p$SQLPASS -e “use radius; SELECT username,mobile FROM radius.rm_users  WHERE expiration = DATE_ADD(CURDATE(), INTERVAL $EXPIRY DAY);” > /tmp/list
num=0
cat /tmp/list |sed ‘1d’ |awk ‘NF > 1’ | while read users
do
num=$[$num+1]
username=echo $users |awk ‘{print $1}’
mobile=echo $users | awk ‘{print $2}’

Radius SendSMS Example
curl “http://IP-Address:Port/cgi-bin/sendsms?username=Radius&password=RADIUSPASS&to=$mobile&text=Radius+Your+account+will+expire+after+3+days

done

Cron Job
@daily /temp/sms.sh

Radius Manager Logs Script


#!/bin/bash

CentOS Change /var/www to /var/www/html/
TARGET=”/var/www/radiusmanager /sql_backup /etc /usr/local /var/lib/mysql”
SAVEDIR_FULL=”/backup”
sql_dir=”/sql_backup”
radpwd=”radius”
set $(date)
time=date |awk ‘{print $4}’
clear

Backup Process
start_time=date +%s
{
if [ ! -d “$SAVEDIR_FULL” ]; then
mkdir $SAVEDIR_FULL
else
fi
}

Checking if $sql_dir Folder
{
if [ ! -d “$sql_dir” ]; then
mkdir $sql_dir
else
fi
}

Creating MYSQL Dump Of Databases
echo “Main Backup started at $6-$2-$3 Time $time” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log
echo “Mysql SQL export started at $6-$2-$3 Time $time” >> /var/log/fullbackup.log
mysqldump -u radius -p$radpwd radius > $sql_dir/mysql_db_full_$6-$2-$3.sql
echo “Mysql SQL export ended at $6-$2-$3 Time $time” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log

Gzip MySQL Database
echo “GZIP command started at $6-$2-$3 Time $time” >> /var/log/fullbackup.log
gzip -fv $sql_dir/mysql_db_full_$6-$2-$3.sql  >> /var/log/fullbackup.log
echo “GZIP command ended at $6-$2-$3 Time $time” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log

Tar Gzip (Mysql)
echo “TAR command strted at $6-$2-$3 Time $time” >> /var/log/fullbackup.log
tar cfzv $SAVEDIR_FULL/data_full_$6-$2-$3.tgz $TARGET  >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log
echo “TAR command ended at $6-$2-$3 Time $time” >> /var/log/fullbackup.log

Deleting sql Database from $sql_dir
rm -fr $sql_dir/*
echo

MAIN Backup ended at $6-$2-$3 Time $time
echo MAIN Backup ended at $6-$2-$3 Time $time >> /var/log/fullbackup.log
end_time=date +%s
echo ” ” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log
echo ” ” >> /var/log/fullbackup.log

Print Complete Timings
echo MAIN Backup Completion Time was expr $end_time – $start_time s.
echo MAIN Backup Completion Time was expr $end_time – $start_time s. >> /var/log/fullbackup.log
echo