Load the fedora operating system with the username and password.
For example
Username: fedora
Password: fedora
Open system menu, click on Administration a submenu will open click on
the service entry. It will open service configuration window.
Enable and start httpd service and mysqld service entries.
To open the terminal, select Application menu click on system tools it
will open a submenu. Click on Terminal entry it will open terminal
window.
In the terminal window, you will get terminal prompt. Enter into the
super user with the following username and password. You will get root
prompt.
Username: su
Password:root1234
Change the file permission mode using chmod 777 command before
execution of program for the following folders,
>chmod 777 /var/www/cgi-bin
>chmod 777 /var/www/html
Change into mysql with the following command
>mysql
mysql> show databases;
(use any of the databases available or create a new database )
mysql>create database databasename
mysql>use databasename
mysql>show tables
If tables are not available create a new table by the following
query statement
Create table tablename ( attribute datatypes…..)
Store your html file under var/www/html and perl or PHP file in cgibin
folder.
For example
Username: fedora
Password: fedora
Open system menu, click on Administration a submenu will open click on
the service entry. It will open service configuration window.
Enable and start httpd service and mysqld service entries.
To open the terminal, select Application menu click on system tools it
will open a submenu. Click on Terminal entry it will open terminal
window.
In the terminal window, you will get terminal prompt. Enter into the
super user with the following username and password. You will get root
prompt.
Username: su
Password:root1234
Change the file permission mode using chmod 777 command before
execution of program for the following folders,
>chmod 777 /var/www/cgi-bin
>chmod 777 /var/www/html
Change into mysql with the following command
>mysql
mysql> show databases;
(use any of the databases available or create a new database )
mysql>create database databasename
mysql>use databasename
mysql>show tables
If tables are not available create a new table by the following
query statement
Create table tablename ( attribute datatypes…..)
Store your html file under var/www/html and perl or PHP file in cgibin
folder.
No comments:
Post a Comment