Archive forWired-News

Hindustan Institute of Technology & Management

It’s been almost a year now. I was busy with a lot of things all this while but Hindustan Institute of Technology & Management(HITM) has been the most important one. This year, we (my family) started a new project - Hindustan Institute of Technology & Management (HITM), an engineering college in the District Ambala, Haryana (India). Though it was always under the plans but then it materialized only this year.

Presently, the college is offering B.Tech. course in 4 streams namely - Information Technology, Computer Science, Electronics and Mechanical with 60 seats per course with a total of 240 seats. Further, we are planning to start a management course as well by next year.

We started the project around January’08 with the construction of the college and completed Phase I of the construction after 7 months by August’08. Soon after the college construction was completed, we started the first batch of the college. The first day of the college was quite an event with lot of students, parents, university officials and the press people. All the people who were present that day appreciated the college for its strong and stable infrastructure. The college is fully air-conditioned with 100% power backup, Wifi enabled campus with unlimited Internet, an extensive library with more than 6000 books and subscription to journals and magazines and Transportation facilities from/to neighbouring cities.

For more information, have a look at the college website here: http://www.hitmedu.com

On the whole, it will take us another 3 years to complete the construction of the college. It’s a long time but I guess that’s the pace of such projects.

Comments

Configuration of Gmail on Gnus/Emacs (Ubuntu Gutsy)

I tried configuring Gnus/Emacs to send/receive mails through Gmail using IMAP/SMTP protocol on my Ubuntu-Gutsy Linux Box.

Emacs Version: 22.1.1
Gnus Version: 5.11

I performed the following steps:

  • I had to install sendmail and starttls programs using apt-get first and start sendmail service.
  • Enable IMAP support for your Gmail account online as described here:

    http://mail.google.com/support/bin/answer.py?answer=77695

  • Create a file named .gnus.el in your home directory and copy the configuration as given below:

    ;; Configuration of ~/.gnus.el

    ;; Customize the next three lines with your ISP information.
    (load “starttls”)
    (load-library “smtpmail”)

    (setq user-mail-address “username@gmail.com”)
    (setq user-full-name “User Name”)

    ;; Configure incoming mail (IMAP)
    (setq gnus-select-method ‘(nnimap “gmail”
    (nnimap-address “imap.gmail.com”)
    (nnimap-server-port 993)
    (nnimap-authinfo-file “~/.imap-authinfo”)
    (nnimap-stream ssl)))

    ;; Configure outbound mail (SMTP)
    (setq smtpmail-starttls-credentials ‘((”smtp.gmail.com” 587 nil nil))
    smtpmail-smtp-server “smtp.gmail.com”
    smtpmail-default-smtp-server “smtp.gmail.com”
    send-mail-function ’smtpmail-send-it
    message-send-mail-function ’smtpmail-send-it
    smtpmail-smtp-service 587
    smtpmail-auth-credentials ‘((”smtp.gmail.com” 587 “username@gmail.com” nil))
    smtpmail-debug-info t
    smtpmail-debug-verb t
    )
    (setq smtpmail-local-domain nil)
    (setq gnus-permanently-visible-groups “gmail”)
    (executable-find starttls-program)

  • Create another file named .imap-authinfo in your home directory with the following line:

    machine imap.gmail.com login username@gmail.com password my_password port 993

  • Now, start Emacs, and type M-x gnus to launch Gnus

    Gnus should automatically check for email on Gmail.com

    After a while, when gnus process completes it displays a list of subscribed mailboxes. By default, you are subscribed to nndoc+gnus-help:gnus-help mailbox only.

  • To add your Gmail INBOX and other Gmail Labels you need to add them as mailboxes. Type ‘U’ in the Gnus Group Buffer and type the name of the Gmail Label or type INBOX to subscribe that Label to Gnus. You can also use auto-completion feature here to list all labels.
  • Now, you should see the subscribed Mailboxes in the Groups buffer. You can press ‘Enter’ on any mailbox to read mails under that label.
  • To send an email, type ‘m’. You should get a buffer to send email. Remember here that it will prompt you to enter your password to send emails every time. If you wish to skip this step, change the value of smtpmail-auth-credentials variable in .gnus.el file you just created :

    smtpmail-auth-credentials '(("smtp.gmail.com" 587 "username@gmail.com" "password"))

  • You can change the permissions on the file .gnus.el and .imap-authinfo to restrict the access to your username only.
  • chmod 700 ~/.gnus.el ~/.imap-authinfo

All the above steps must configure Emacs to send and receive email using Gmail successfully. Hope this helps!

Comments

Ubuntu Gutsy - Microphone Issues on Dell Inspiron 1520

Please go through the previous post, in case sound is not working correctly for you on Feisty/Gutsy. First you need to setup the sound card correctly.

I was facing problems with Internal Microphone on Ubuntu Feisty, so when Gutsy was released, I upgraded to it. Status did not change even after upgrading to Gutsy. Anyway, I tried reinstalling ALSA, but it did not help either. For Gutsy, there are not much different solutions available. So, I tried various settings in the Sound Mixer again. Finally, I got the Internal Microphone working. I used Audacity/Skype to test the microphone. Those facing the same issue with similar hardware (Sigmatel STAC9205), may try the same settings. It might help. Attached is the screenshot of the gnome-mixer settings that worked for me.

ALSA Gnome Mixer Playback Tab ALSA Gnome Mixer Recording Tab ALSA Gnome Mixer Switches Tab ALSA Gnome Mixer Options Tab

Comments (3)

Ubuntu Feisty Installation - Dell Inspiron 1520

It’s been quite sometime that I installed Ubuntu 7.04 Feisty Fawn on Dell Inspiron 1520. My experience with this Ubuntu installation has been good and I have got Compiz Fusion working this time (something I could not do before).

Installation was slightly problematic with Feisty, since the Live CD did not boot at all. It failed after I pressed “Enter to Install” and I had to search for available solutions for this problem. I solved the problem by following the steps provided here. The workaround provided helped me out and I could boot using Live CD and installed Ubuntu Feisty subsequently. No problems after the boot process. Installation was simple and straightforward and completed in 18-20 minutes.

Now, since many essential features were missing, so first thing I had to do was to install those missing packages. So, I needed to update the packages list or apt-get should I say. But I did not choose apt-get, instead I selected Smart Package Manager this time. I have had a very good experience with smartpm previously, so decided to try it out this time on Ubuntu as well. I haven’t faced any problems till now, in fact I’m impressed with Smart Package Manager. I find it better since as per my experience, it resolves package dependencies better and I never faced any version conflicts which I faced otherwise with apt-get at times.

Here’s how you can configure smart package manager to add apt-get channels available in default sources.list file:

Issue all these smart commands as root.

smart channel –edit

Now add the following repositories:

[aptsync-a30ca3197e720a6180d50388c93162f8]
type = apt-deb
name = feisty - free non-free
baseurl = http://packages.medibuntu.org/
distribution = feisty
components = free non-free

[deb-sys]
type = deb-sys
name = DEB System

[feisty-backports]
type = apt-deb
name = feisty - backports
baseurl = http://in.archive.ubuntu.com/ubuntu/
distribution = feisty-backports
components = main restricted universe multiverse

[feisty-main]
type = apt-deb
name = feisty - main
baseurl = http://in.archive.ubuntu.com/ubuntu/
distribution = feisty
components = main restricted universe multiverse

[feisty-security]
type = apt-deb
name = feisty - security
baseurl = http://security.ubuntu.com/ubuntu
distribution = feisty-security
components = main restricted universe multiverse

[feisty-updates]
type = apt-deb
name = feisty-updates
baseurl = http://in.archive.ubuntu.com/ubuntu/
distribution = feisty-updates
components = main restricted universe multiverse

[medibuntu]
type = apt-deb
name = medibuntu-updates
baseurl = http://medibuntu.sos-sts.com/repo/
distribution = feisty
components = free non-free

After adding all the sources, I updated smartpm using the following command:

smart update

First, I installed envy to fetch the Nvidia Graphics Driver. Envy worked extremely smoothly and setup everything automatically without requiring any manual edit of xorg.conf file. So, I got the wide screen 1440×900 resolution setup correctly. Later, I used the Amaranth repository to setup Compiz Fusion on the system. But I had to remove the other 3D desktop packages like Desktop effects, beryl before that. Then I followed this link to install the Compiz Fusion package and it worked without further issues. Here are some screen shots: Screenshot 1, Screenshot 2, Screenshot 3

Smart worked well for the installation of other essential packages as well; you can refer this page for the list of essential packages like DVD support, Multimedia audio codecs, mplayer, banshee, flash plugin, java plugin, vlc, rar archives: http://ubuntuguide.org

One problem that I noticed on Ubuntu Feisty is that I get less battery life for my laptop using the same settings (screen brightness, hdd activity) that I have on Windows Vista Premium. Other issues are related to Sound, Sleep mode, Bluetooth and the Internal Microphone.

Note: Don’t use “Sound Recorder” application (Applications->Sound & Video->Sound Recorder) to check if the microphone is working. Instead try using the Audacity program.

In case of speakers when I plug in the headphones, speakers are not muted. So I had to upgrade ALSA manually as instructed at this link.

After I installed ALSA, I had to edit the /etc/modprobe.d/alsa-base file by adding the following line at the end of the file:

options snd-hda-intel model=3stack

Rebooted the system and the speakers worked perfectly. But the bluetooth and internal microphone are still not working. Moreover, there is a problem with the power management functions. If the system goes into sleep mode, it does not resume, you get blank screen. I could not find any solution for this problem.

Otherwise, it’s a nice distribution over all.

Update:
I got Bluetooth working. Follow the steps given below :

Start the Bluetooth Adapter using the Button on the left side of the laptop. The Blue lights of Wifi and Bluetooth Adapter should light up.

As root, issue the following command : /etc/init.d/bluetooth start

Now, run this command : hciconfig hciX reset

Start Bluetooth File Sharing application from the Applications Menu.

Now, try to discover your Laptop using other Bluetooth enabled devices.

Comments (1)

Dell Inspiron 1520

Yes! I bought a laptop for myself, the Dell Inspiron 1520 (Black). Must say, it’s quite a beauty with the matte finish.

Dell Inspiron 1520

Though delivery time was a bit long (13 days), I got it finally with all the accessories as mentioned in the order, so no surprises. I bought the following configuration :

    Intel(R) Core(TM)2Duo Processor T5250 1.5Ghz 2MB Cache, 667Mhz FSB
    1 GB (2×512MB) DDR2 SDRAM
    15.4 Widescreen WXGA+ Display
    160 GB SATA HDD (5400 RPM)
    Nvidia(R) Geforce(TM) 8400M GS - 128MB GDDR2
    Integrated Sound Blaster Audigy Advanced HD Audio Software
    Dell Wireless 355 Bluetooth Module
    Intel Pro Wireless 3945 Dual Band 802.11a/g Wirless Mini Card
    Camera
    Dell (TM) Remote Control
    Internal 8X DVD+/-RW combination drive with dual layer write capabilities
    6-cell 53 WHr Lithium Ion Primary Battery

Windows Vista (with Aero) runs fine, although I don’t see much difference between Vista and XP. There are some unrequired features that you may want to turn off. See this link for some help.

All the hardware components, like Bluetooth, Camera, Touchpad, DVD Writer were configured properly. So, there were no glitches with the default installation. Speakers in the front performs well and battery performance is quite good as well.

But there are some other nuisances, I must say when you decide to change the partitioning, either reducing the size of C drive or installing another operating system.

  • I must say that partitioning scheme is crazy. I had 140-145 GB as one partition, C: for Windows Vista. Then there was one recovery partition taking around 10GB of space. And there is also a 2-3GB space allocated for Dell Media Direct.

    Now, since I wanted to install Linux along with it, but I couldn’t due to this partitioning scheme. All these partitions were primary. So, I needed to delete a partition (basically C:) and repartition the whole system. Anyway, I had to do that. Installed Dell Media Direct also, but lost the recovery partition.

  • Hard Disk is another disappointment. It makes a irritating crackling sound already (typical Seagate HDD!). Though otherwise, it works fine. I kept the laptop running for 10-12 hrs, doesnt get too heated. Works fine absolutely except the irritating HDD noise. I think I need to get it replaced to a non-Seagate drive.

The next step is to install Linux (Ubuntu most probably).

Comments (11)

DB2 decimal to varchar conversion issue : leading zeroes

Recently, I came across this problem, someone faced while casting a decimal datatype to varchar data type in DB2.

Here’s the link to the whole thread :

db2– Decimal to Varchar without leading zeros

So, the idea is to replace the 0’s with spaces and convert them back to 0 with second replace. I’ve already explained the reason for this double-do for both replace and rtrim/ltrim functions instead of a single trim, strip functions.

Comments (1)

Ubuntu 6.10 Edgy Installation

I installed ubuntu 6.10 using net-install method, and it was a no-problem installation.

After the initial installation, I’d to install several small packages for essential features like MP3 support, jre & flash-plugin for firefox, mplayer. I followed the instructions at the link : http://ubuntuguide.org/wiki/Ubuntu_Edgy

The link provides all the information required to do all such configuration/setup tasks. But I had 2 problem relating to keyboard and sound card.

The keyboard was not working properly, as in some of the keys like ” and ‘ did not work properly. I’d to use the following command :

sudo dpkg-reconfigure xserver-xorg

and change the keyboard configuration. I removed all the customizations displayed by the configuration script.

The other problem was that of sound card. I could access the sound card as root; but not as a non-root user. I resolved the problem by changing the permissions of the non-root user as explained below :

Go to : System->Administration->Users and Groups

Here select the non-root User and Click Properties. In the User Privileges Section:

Check the following :
Use audio devices
Use CD-ROM drives

After that when I restarted Gnome; both keyboard, sound problems were resolved.

For performance enhancement I used prelink and added it to daily cron. Steps are mentioned at the following link:

http://ubuntuforums.org/showthread.php?t=1971

Ubuntu 6.10 is no doubt a great product. But I’m yet to install/test Mandriva One ;)

Comments

Oracle Indexes

Indexes are optional data structures associated with Database tables. Indexes are logically & physically independent of the data in the associated table. They are independent database objects created to reduce disk I/O & speed up execution of SQL statements on a table. We can create many indexes on a table given that each index points to different column (in case of a single column) or unique combination of columns from a table.

All Indexes offer complementary performance functionalities based on their structure:

B-Tree indexes : B-Tree Indexes are stored as a conventional binary data structure in the database. Each branch node contains a key prefix to make a direction between two keys. Each Leaf Node is at same depth from the branch node and contain complete key value for each row & ROWID.

Features :

  • All leaf blocks of the tree are at same depth, resulting same performance for retrieval of any record from the indexed table.
  • B-Trees are stay balanced automatically.
  • Excellent performance is achieved for wide range of queries and are generally suitable for both small & large sized tables without performance degradation.

Syntax :

CREATE INDEX last_name_idx ON students (last_name);

Bitmap indexes : Bitmap Indexes are space efficient indexes that represent trade-off between Disk I/O and CPU usage. A bitmap value is stored for each key value instead of a list of ROWIDs. Each bitmap corresponds to a possible ROWID. A mapping function returns actual ROWID at runtime in the form of a Row-ID list, and these ROWID values are directly used to access the data row. So, there is a trade-off between space (using compressed indexes) and CPU usage (for processing decompression).

Features :

  • Bitmap indexes are generally used in data warehouses for executing bulk data operations.
  • They are space efficient, but need higher CPU usage in comparison to B-Tree Indexes.
  • Bitmap indexes are not suitable for OLTP applications with large number of concurrent operations modifying individual rows of data. They are efficient in querying large data.
  • Bitmap indexes are not useful when performing comparison operations, instead use them for logical operations on data (viz. AND, OR, NOT) or equality queries.

Syntax :

CREATE BITMAP INDEX last_name_idx ON students (last_name);

Bitmap Join indexes : As the name suggests, Bitmap join indexes are bitmap indexes defined using an equi-join condition between two or more tables. In bitmap-join index, indexed values comes from one table (Fact table) but bitmaps point to another table (Dimension table). Usually implemented in a data warehousing environment, they have similar features to bitmap indexes. Additionally, following considerations must be taken into account :

  • Bitmap-join indexes take much more time to build than a conventional bitmap index for a join is performed and bitmap value is generated.
  • Bitmap-join indexes should be applied on tables frequently used in tandem (using joins) with each other.

Syntax :

CREATE BITMAP INDEX last_name_idx ON students (math.marks) WHERE students.pk = math.fk;


Index-Organized Tables :
An index organized table has a storage organization that is different from a conventional (heap-organized) table whose data is stored as an unordered collection. Data for an index organized table is stored in a B-Tree index structure in a primary key sorted manner. Along with the primary key column data, it stores the values for the non-key columns as well.

Features :

  • Access to rows is defined using logical ROWID.
  • Full-Index returns all rows.
  • Avoid additional block fetch for accessing non-key columns’ data.

Syntax :

CREATE TABLE students (
rollno number,
first_name varchar2(20),
last_name varchar2(20),
CONSTRAINT pk_stud_iot_index PRIMARY KEY (rollno) )
ORGANIZATION index
TABLESPACE spc_example_ts_01
PCTHRESHOLD 20 INCLUDING last_name;


Function based indexes :
Function based indexes are based on functions, expressions that involve one or more columns in the table being indexed. A value of the function/expression is calculated and stored as the value for the index. They can be stored either as a B-Tree index or a bitmap index.

Features :

  • Function based indexes are beneficial for evaluating queries that involve functions in WHERE clauses. Example :
  • SELECT * FROM students WHERE substr(stud_name, 1, 5) = "PETER";

  • It’s easy & provides immediate values for expressions.
  • It provides additional functionality with little cost, if expensive functions/expressions need to be evaluated regularly from the indexed table.

Syntax :

CREATE INDEX fb_last_name_idx on students (UPPER(last_name));

Comments

Oracle Collections

PL/SQL Collections

Index-by tables (Associative Arrays): They are arrays with the only difference that we can use numbers, string literals for subscript values. Associative Arrays are sets of key-value pairs, where key can be an integer or a string. There is no limitation on the size of Associative Arrays.

Syntax: TYPE type_name IS TABLE OF element_type [NOT NULL] INDEX BY [BINARY_INTEGER | PLS_INTEGER | VARCHAR2 (size_limit)] ;

Nested Tables: They are single dimensional, array-like tables, that can hold any number of elements inside another database table and can be manipulated by SQL as other database objects.

Syntax: TYPE type_name IS TABLE OF element_type [NOT NULL];

Varying Arrays: As the name suggests, varrays (Varying Arrays) are fixed length arrays that use sequential numbers as subscripts. varrays need to be dense and we cannot remove/delete individual elements from the array. Length is defined at design time and can be manipulated at runtime subject to maximum length defined. They are suitable in cases where all elements in the array are accessed in sequence.

Syntax: TYPE type_name IS [VARRAY | VARYING ARRAY] (size_limit) OF element_type [NOT NULL];

Using PL/SQL Collections in SQL statements

NESTED TABLE

CREATE TYPE Courseslist AS TABLE OF VARCHAR2(50);

CREATE TABLE student as OBJECT (
roll_no NUMBER(2),
name VARCHAR2(20),
courses Courseslist)
NESTED TABLE courses STORE AS courses_tab;

VARRAY

CREATE TYPE Courseslist AS VARRAY(50) OF VARCHAR2(20);

CREATE TABLE student (
roll_no NUMBER(2),
name VARCHAR2(20),
courses Courseslist);

USING COLLECTIONS IN SQL

DECLARE
TYPE Courseslist is TABLE OF VARCHAR2(20);
TYPE Courseslist2 is VARRAY(40) OF VARCHAR2(20);
my_courses Courseslist;
my_courses2 Courseslist2;
BEGIN
my_courses := Courseslist(’English’, ‘Mathematics’, ‘Science’);
my_courses2 := Courseslist2(’English’, ‘Mathematics’, ‘Science’);
INSERT INTO student values(12, ‘Ankur’, Courseslist(’English’, ‘Mathematics’, ‘Science’));
END;

Manipulating Individual Elements in Collections

Using subqueries within TABLE operator we can extract varrays and Nested tables from containing table and execute INSERT, UPDATE and DELETE operations.

Syntax:

BEGIN
INSERT INTO TABLE (SELECT courses FROM student where roll_no=2) VALUES (’German’);
DELETE TABLE (SELECT courses FROM student where roll_no = 1) WHERE course_strength < 5;
END;

USING COLLECTION METHODS

EXISTS - Check if an element exists in the collection.
Syntax : IF courses.EXISTS(i) THEN courses(i) = new_course; END IF;

COUNT - Count the elements in collection
Syntax : IF courses.COUNT > 20 THEN...

LIMIT - Check the Maximum Size of a collection
Syntax: IF new_courses.COUNT < courses.LIMIT THEN ...

FIRST and LAST - Retrieve the FIRST and LAST element from collection
Syntax: IF courses.FIRST = courses.LAST THEN ...

PRIOR and NEXT - Retrieve Previous and Next element of an index in collection.
Syntax: courses(i) = courses.NEXT(courses.PRIOR(i));

EXTEND - Append a null element at the end of collection.
EXTEND (n) - Append n null elements to the collection.
EXTEND (n,m) - Append n copies of element m to the collection.
Syntax: courses.EXTEND(2,1) : Appends 2 copies of 1st element of courses collection.

TRIM - Remove the last element from a collection.
TRIM(n) - Remove n elements from the end of a collection.
Syntax: courses.TRIM(5) : Remove last 5 elements from courses collection.

DELETE - Delete all elements from a collection
DELETE(n) - Delete nth element from an associative array with numeric key or a nested table. If key is string in Associative Array, element corresponding to the key value is deleted. If n is null, DELETE(n) does nothing.
DELETE(m, n) - DELETE elements in the range m-n from an associative array or nested table.

Varrays are dense, therefore, individual elements cannot be deleted from Varrays.

BULK BINDING

Assigning of values to PL/SQL variables in SQL statements is called binding. Use FORALL statement for bulk-bind input operations before sending them to SQL engine. It improves performance by minimizing context switching between SQL Engine and PL/SQL Engine and passing whole collections to SQL ENGINE at a time during execution.

Syntax:

DECLARE
TYPE NumList is VARRAY(20) OF NUMBER;
courses NumList := NumList(10, 20, 30);
BEGIN
FORALL i in courses.FIRST..courses.LAST
DELETE FROM student where course_id = courses(i);
END;

We can redefine the length of loop to execute the FORALL statement selectively. We may count number of rows affected, exceptions occurred in FORALL statement using SQL%BULK_ROWCOUNT, SQL%BULK_EXCEPTIONS attributes after the end of the loop.

BULK COLLECT

We use BULK COLLECT to bulk-bind output collections before returning to PL/SQL Engine as so to improve the performance, in a similar way, we used FORALL statement.

Syntax: SELECT courses BULK COLLECT INTO my_courses FROM student;

We can also use BULK COLLECT with cursors.

Syntax:

BEGIN
OPEN c1;
FETCH c1 BULK COLLECT INTO my_courses;
END;

LIMIT clause to limit the rows fetched for a BULK FETCH Operation

Syntax:

BEGIN
OPEN c1;
FETCH c1 BULK COLLECT INTO my_courses LIMIT 10;
END;

RETURNING INTO Clause

We can use RETURNING INTO clause to retrieve DML results into a collection.

Syntax:

BEGIN
DELETE FROM student WHERE marks < 50;
RETURNING courses BULK COLLECT INTO my_courses;
END;

We can use Host Arrays with Bulk Binds for output and input, as they are the most effective way to pass collections between database server and clients.

Syntax:

BEGIN
FORALL i in :lower .. :upper
DELETE FROM student WHERE roll_no := roll(i);
END;

Comments (1)

Lyceum Installation

Lyceum is an extension of the popular Wordpress blogging software. While Wordpress is a single user blogging software, Lyceum is a multiple users blogging software. Under early development, read about it here

I tried installing it on my Windows XP system, running Apache 2.0.59, PHP 4.4.3 & MySQL 3.23.42 and faced quite some problems, so thought to blog about it.

Installation Steps

Download, Install and configure Apache, MySQL and PHP on your Windows Machine. Download and Installation should not be a problem. For configuration, you may follow these links:

http://www.thesitewizard.com/archive/php4install.shtml

http://www.dmxzone.com/ShowDetail.asp?NewsId=6452

After you’ve configured all the above 3 components, download Lyceum source from here

Extract the source and place it under your DocumentRoot (<DOC_ROOT>). You should have the following directory structure.

	<DOC_ROOT>/lyceum
		+  /dev
		|  /doc
		|  /src
		|    + /bin
		|    | /config
		|    | /installation
		|    | /lib
		|    + /lyceum
		+   /tests

Before starting the installation verify the Apache configuration first. You must have mod_rewrite module enabled in your Web Server Configuration. Also in the <Directory> configuration part of your Apache configuration file, you must set the AllowOverride directive to “All”; that is, “AllowOverride All

Now, create a database in your MySQL server for lyceum as lyceum does not create the database itself.
SQL : mysql>CREATE DATABASE lyceum;

In case you are using MySQL < 4.0.X, verify if you’ve got InnoDB & MyISAM database engines enabled in your MySQL server. If not modify schema.php (<DOC_ROOT>/lyceum/src/installation/) accordingly to remove the ENGINE directives from SQL statements.

Modify wp-config-sample.php (<DOC_ROOT>/lyceum/src/config/) to create wp-config.php with modifications to following fields:

DB_NAME : Name of the Database you’ve created in MySQL.
DB_USER : Database User Name
DB_PASSWORD : Password for the specified Database User Name.
DB_HOST : Server Name / Addresss (’localhost’ in case of local installation)
WEBROOT : Location of /lyceum/src/lyceum on the server (Directory where portal.php is placed. Note: ‘no trailing slash after the path)
MAINDOMAIN : 127.0.0.1 ( For local installation. Note: ‘localhost’ will not work)

Start the installation from your web browser using the URL : <server_address>/<webroot>/wp-admin/install.php

It should work fine. Comment if you face any issues.

Comments

« Previous entries