Showing posts with label Web. Show all posts
Showing posts with label Web. Show all posts

Install Webmin 1.510-2 in Ubuntu Lucid Lynx (10.04)

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. in Ubuntu karmic you can install it by download this packages. 


Now install additional packages, download this here if you have downloaded, just double click on this packages, or you can install in by termnal.

$ sudo su
$ dpkg -i libmd5-perl_2.03-1_all.deb

Install webmin by double click or using terminal again

$ dpkg -i webmin_1.510-2_all.deb

Go to web browser, type local IP Address on address bar on port :10000 ex :

127.0.1:10000

Now webmin is ready use...

NOTE :

If any trouble installing proccess on webmin, try to fix it by type :

$ apt-get install -f

Happy Testing....!!!
Read More...!!

Install Wordpress In Ubuntu Karmic Koala (9.10)

To Installing wordpress, first you must install the application xampp, xampp is a local server application or localhost. to install xampp, you can see it here...!!  if installed xampp next step is to install Wordpres, Wordpress is an open source blog publishing application powered by PHP and MySQL which can also be used for basic content management. It has many features including a user-friendly workflow, a rich plugin architecture, and an advanced templating system  to install it in your system follow these steps:

Login as root by type :


$ sudo su

Install Wordpress :

$ apt-get install wordpress

To acces wordpress, you must configure wordpress, you can see it on this blog post earlier, or you can see how to wordpress configuration on ubuntu guide

Happy Testing ...!!
Read More...!!

Upgrade Xampp 1.7.3a In Ubuntu Karmic Koala (9.10)


To Install Xampp 1.7.3afor ubuntu, you can directly download here. To install it, follow these steps :



Go to terminal, Login as root by type :

$ sudo su

Extract packeges have you downloaded by type :

$ tar xvfz xampp-linux-upgrade-x.x.x-y.y.y.tar.gz
$ xampp-upgrade/start

Testing xampp application, to running this application you can use by type :

$ /opt/lamp/lamp start


Then open your browser and type http://localhost on your address bar.

For More Information, here

Happy Testing...!!
Read More...!!

Create Apache2 Directory For Each User in Ubuntu.

When we install apache2, directory configuration files *. html, *. php must be in place in the directory /var/www




Well, for one, and another thing, we want to create a file *. html and *. php we freely without having to move from our local directory to directory /var/www earlier. For this purpose we need to enable UserDir in Apache2 features. To enable this feature can do the following steps:

Go to Terminal, Login as root by type :

$ sudo su
$ a2enmod userdir

then restart apche service by type :


$ /etc/init.d/apache restart

Rename existing public directory at home directory to public_html and create file *.html or *.php and put it in public_html directory. Go to your browser ex : firefox navigate to address bar : http://localhost/~user

Happy Testing...!!
Read More...!!

Install Joomla 1.5.3 On Ubuntu 9.04


Install the LAMP stack

Use any method to install the Apache2, Mysql and Php stack. You will need the following packages:

apache2 php5-mysql libapache2-mod-php5 mysql-server

Set a mysql-root password (not the same as a root password, but a password for mysql)
mysql -u root

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword'); mysql> SET PASSWORD FOR 'root'@'yourhostname' = PASSWORD('yourpassword');

Where you should change 'yourhostname' in last line. Each successful mysql command will show:

Query OK, 0 rows affected (0.00 sec)

Quit the mysql prompt:

$ mysql> \q

You should now have a functional LAMP stack and a password for the mysql root user.

Visit Apache PHP MySQL for more information on LAMP. Get the most recent version of Joomla! Download it here. Unpack it and then copy it to your webserver directory.

# Change for new version SOURCEPKG=Joomla_1.5.3-Stable-Full_Package.tar.bz2 SOURCEWWW=http://joomlacode.org/gf/download/frsrelease/111/264/Joomla_1.5.3-Stable-Full_Package.tar.bz2 # Get it mkdir joomla cd joomla wget $http://www.joomla.org/content/blogcategory/32/66/ # Unpack it tar xvjf $Joomla_1.5.3-Stable-Full_Package.tar.bz2 # Cleanup rm -f $Joomla_1.5.3-Stable-Full_Package.tar.bz2 # Move $ cd .. $ sudo mv joomla /var/www/

Handle ownership (choose one option):

# 1. Allow writting in whole joomla subtree

$ sudo chown -R www-data:www-data /var/www/joomla

# 2. Allow writting only in places Joomla! needs to write to (more secure)

$ sudo chown -R root:root /var/www/joomla $ cd /var/www/joomla

PLACES=' administrator/backups administrator/components administrator/modules administrator/templates cache components images images/banners images/stories language mambots mambots/content mambots/editors mambots/editors-xtd mambots/search media modules templates ' for i in $PLACES; do $ sudo chown -R www-data:www-data $i
done

Handle file and directory permissions:

$ cd /var/www/joomla $ sudo find . -type f -exec chmod 644 {} \; $ sudo find . -type d -exec chmod 755 {} \;

Joomla needs a database, user and password

You need to create a database. You can do this with PhpMyAdmin or via the command line:

$ mysqladmin -u root -p create joomla

Where joomla is the name you picked for the mysql database that joomla will use. You can call it anything you want.

$ mysql -u root -p

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON joomla.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';

You do not want to have Joomla use the mysql root user to access the database. The above command creates a mysql user (other than the mysql root user) with some priviledges to use the joomla database. You will need to chose the yourusername and yourpassword. If the command was successful, activate the new permissions:

mysql> FLUSH PRIVILEGES;

Quit the mysql prompt:


$ mysql> \q

Open history file for MySQL commands and delete the above SQL, since the password is in readable format!


$ gedit ~/.mysql_history

Reload Apache2

You may need to force-reload apache2 so that it knows to use the php module if you haven't done so since you installed the LAMP stack.


$ sudo /etc/init.d/apache2 restart

Finish installation

Point your browser to localhost/joomla, and follow the onscreen instructions.

Happy Testing..!!
Read More...!!

Install GUI and Webmin in Ubuntu Server 9.04 (Jaunty)


We have already discussed how to install ubuntu 9.04 LAMP server .If you are a new user and not familiar with command prompt you can install GUI for your ubuntu LAMP server using the 2 options

1) Install desktop Environment
2) Install Webmin
1) Install desktop Environment

First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI

$ sudo apt-get install ubuntu-desktop

The above command will install GNOME desktop


If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command


$ sudo aptitude install --no-install-recommends ubuntu-desktop


If you want to install light weight desktop install xfce using the following command


$ sudo apt-get install xubuntu-desktop


If you want to install KDE desktop use the following command


$ sudo apt-get install kubuntu-desktop


2) Install Webmin in Ubuntu


Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.Currently There is no Webmin package in the Ubuntu repositories.This tutorial will explain how to Install Webmin in Ubuntu Jaunty


You can install webmin for your server web interface to configure apache2,mysql,FTp servers and many more.Now we will see how to install webmin in Ubuntu 9.04


Preparing your system


First you need to install the following packages


sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl


Now download the latest webmin using the following command or from here


$ wget http://prdownloads.sourceforge.net/webadmin/webmin_1.470_all.deb


Now we have webmin_1.470_all.deb package install this package using the following command


$ sudo dpkg -i webmin_1.470_all.deb


This will complete the installation.
Using the Webmin APT repository
If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system

$ sudo vi /etc/apt/sources.list

add the line

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

Save and exit the file
You should also fetch and install my GPG key with which the repository is signed, with the commands : 

$ cd /root
$ wget http://www.webmin.com/jcameron-key.asc
$ sudo apt-key add jcameron-key.asc

You will now be able to install with the commands


$ sudo apt-get update
$ sudo apt-get install webmin

All dependencies should be resolved automatically.

Ubuntu in particular don’t allow logins by the root user by default. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges.


Now you need to open your web browser and enter the following


https://your-server-ip:10000/


Now you should see similar to the following Screen
After login if you want to configure Apache,Mysql server you need to click on Servers on your lefthand side you should many servers are ready to configure
This is very Easy to configure most of the servers and Enjoy your new Ubuntu Jaunty LAMP Server.


Happy Testing...!!!


Sources :


http://www.ubuntugeek.com/
Read More...!!

Install And Configuration Web Content Filtering On Ubuntu Jaunty (9.04)



DansGuardian provides web filtering capability, similar to NetNanny. It is useful for limitng objectionable content in publicly accessible workstations, or for filtering objectionable content for younger users. It integrates with ClamAV, and uses several criteria for filtering websites (which is difficult to modify). It is used with Tinyproxy (best for individual users) or the Squid proxy (best for a network server). Install:

$ sudo apt-get install dansguardian tinyproxy

or

$ sudo apt-get install dansguardian squid

See these installation instructions for setup details. In brief,
  • Edit the dansguardian configuration file:
sudo nano /etc/dansguardian/dansguardian.conf

comment out the UNCONFIGURED line:
#UNCONFIGURED
If using tinyproxy instead of Squid, change the proxyport to 8888:
proxyport 8888

  • Reinstall dansguardian:
$ sudo apt-get install --reinstall dansguardian
  • Set your browser to use the localhost:8080 proxy. For example, in Firefox:
  • Firefox -> Edit -> Preferences -> Advanced -> Network -> Settings
  • Manual proxy configuration -> HTTP proxy: localhost -> Port: 8080
  • A Webmin module is available to administer settings. Also, a GUI to change Dansguardian settings called Webstrict is in development.

Happy Testing...!!

Sources :

http://ubuntuguide.org/wiki/Ubuntu:Jaunty
Read More...!!

Install and Configuration Groupware Servers Using Kolab On Ubuntu Jaunty (9.04)


Groupware Servers

Groupware servers are meant to operate on a server platform. You must install the server version of Ubuntu/Ubuntu first. Read Servers.
Kolab

Kolab is the most comprehensive open-source groupware solution available and is distributed as a multi-platform solution. (It integrates easily with both Ubuntu (including Evolution) and KDE/Kubuntu (including Kontact).) It is free and open source with a GPL license (unlike other groupware solutions), yet enterprise support is also available. It is scalable to large organizations and is Outlook (MS-Exchange) and Mozilla compatible. This is a German package, however, and documentation in English is limited, which can make installation challenging. The Kolab website provides its own instructions for installation from source (currently v. 2.2). In brief:

Install the compiler and other necessary stuff:
 

$ sudo apt-get install build-essential

Make a directory for the Kolab installation and make it universally accessible:
 

$ sudo cd / $ sudo mkdir /kolab $ sudo chmod 777 /kolab

Optional: If you wish to mount kolab in its own partition, then create a new partition (using Gparted, for example). Figure out the device name of your extra partition: 


$ fdisk -l It should be something like /dev/sda3

Mount /dev/sda3 (or whatever your partition is) as /kolab by editing /etc/fstab:


$ sudo nano /etc/fstab

and adding the line:
/dev/sda3 /kolab ext3 defaults,rw 0 0
then reboot and make sure there are no errors.

Make a directory into which to download kolab:
 

$ mkdir /kolabtmp

Download all the current Kolab files:


$ cd /kolabtmp $ wget -r -l1 -nd --no-parent http://ftp.gwdg.de/pub/linux/kolab/server/beta/kolab-server-2.2.1-beta-1/ix86-debian4.0

Install Kolab (as root using sudo -s):


$ sudo -s $ sh install-kolab.sh 2>&1 | tee kolab-install.log

Reboot your system.

Stop Kolab services and run the configuration utility:
 

$ sudo /kolab/bin/openpkg rc all stop $ sudo /kolab/sbin/kolab_bootstrap -b

Obviously, you should know all your details, such as your fully qualified host name, domain details, etc., before doing this step. If you are not familiar with OpenLDAPand LDAP basics, you should learn about it, as Kolab uses the slapd OpenLDAP server daemon.

Restart all Kolab services:
 

$ sudo /kolab/bin/openpkg rc all start

Login to the web administrator interface using "manager" and the password you set at bootstrap configuration:
https://yourhost.yourdomain.name/admin

Kolab Debian package
 

There is an Ubuntu/Kubuntu/Debian package for Kolab (v. 2.1), but no support for it exists. In fact, it is due to be removed from the Debian packages because of this lack of support. The installation instructions are included below for reference, and if you have success installing from the package, please add the steps you took to make it work.


$ sudo apt-get install kolabd kolab-webadmin

To reconfigure setup after the original installation, stop all web services:


$ sudo /etc/init.d/apache2 stop $ sudo /etc/init.d/kolabd stop  
$ sudo /etc/init.d/kolab-cyrus stop $ sudo /etc/init.d/postfix stop $ sudo /etc/init.d/saslauthd stop  
$ sudo /etc/init.d/slapd stop

and then start the Kolab bootstrap setup:
 

$ sudo kolab_bootstrap -b

and proceed with configuration for your server/domain. Then restart all the services (e.g. sudo /etc/init.d apache2 start).

Notes:
Kolab uses its own server components, and it is best to run Kolab on a dedicated server. However, it is possible to run other servers on the same machine, as long as you choose alternate ports if the server modules conflict.

Happy Testing...!!!

Sources :
http://ubuntuguide.org/wiki/Ubuntu:Jaunty
Read More...!!

Install RSSOwl in Ubuntu Jaunty (9.04)


RSSOwl is a Java-based RSS | RDF | Atom Newsfeed Reader. These installation instructions only work with RSSOwl version 1_2_3.
In order to use the internal browser, install first the packages xulrunner and firefox , either via Synaptic Manager or by typing this command into Terminal:

$ sudo apt-get install firefox xulrunner

Change to your "opt" directory:

$ cd /opt

Download the tar.gz-archive into your opt directory:

$ sudo wget http://belnet.dl.sourceforge.net/sourceforge/rssowl/rssowl_1_2_3_linux_bin.tar.gz

Extract the archive and remove the extracted file:
 

$ sudo tar zxvf ./rssowl_1_2_3_linux_bin.tar.gz && sudo rm ./rssowl_1_2_3_linux_bin.tar.gz

Make a startscript:


$sudo nano /usr/bin/runRSSOwl.sh

and add the following lines to your starter-script file /usr/bin/runRSSOwl.sh
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
export
US X-NONE X-NONE LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}


$ cd /opt/rssowl_1_2_3_linux_bin
$ ./run.sh

Make the startscript executable:

$ sudo chmod u+x /usr/bin/runRSSOwl.sh


Now you always can start RSSOwl:
runRSSOwl.sh
After having started the application "RSSOwl":
Go to > View and enable "View Newstext in Browser".
Then go to > Tools > Preferences... > General and enable in misc-section "Open any news automatically in browser".
Go to > Tools > Preferences... >Browser and enter the path to the executable (my path was /usr/lib/firefox/firefox). Finally enable “use external browser” at the bottom.


Happy Testing


Sources :

http://ubuntuguide.org/wiki/Ubuntu:Jaunty
Read More...!!

Install Wordpress In Ubuntu Jaunty (9.04) Using Xampp 1.7

First we download files from the wordpress http://wordpress.org later after downloaded, we extract the wordpress files in the extensions .Zip. The next step is to open a terminal and copy or move (I prefer to move) the folder to your wordpress directory /opt/lampp/htdocs. type command sudo mv wordpress /opt/lampp/htdocs. Before proceeding to the installation process we open the browser and typing the url http://localhost/phpmyadmin/ and create a database, eg the name we give wordpress.



After the database has finished running, we continue with the installation process with the previous permission wordpress folder with a 775 command


$ sudo chmod-R 775 /opt/lampp/htdocs/wordpress

Then we open the browser and mengetikan address http://localhost/wordpress if you get a text like this:

"There does not seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this does not work for all server setups. The safest way is to manually create the file ".

click the option create a configuration file to the bottom of the text, if in fact appear a message like this:

"Sorry, I can not write to the directory. You'll have to either change the permissions on your WordPress directory or create your wp-config.php manually "

We are typing the command:


$ sudo chmod-R 777 / opt/lampp/htdocs/wordpress

At this stage you can install WordPress with the normal. but if the regular things you still can not install trying to do tricks to this one:

entrance to the wordpress directory, open and save the file wp-config-sample.php into wp-config.php with the previous edit a few lines, fill in the name of the database and put us as the root user and password empty the room.

Before edit:


define ( 'db_name', 'putyourdbnamehere'); //The name of the database

define ( 'DB_USER', 'usernamehere'); //Your MySQL username

define ( 'DB_Password,' 'yourpasswordhere'); // ... and password

define ( 'DB_Host', 'localhost'); //99% chance you will not need to change this value

define ( 'DB_CHARSET', 'UTF8');

define ( 'DB_COLLATE', ");


After editing:



define ( 'db_name', 'wordpress'); //The name of the database

(the name that we created DB)

define ( 'DB_USER', 'root'); //Your MySQL username

(root user is the default)

define ( 'DB_Password', "); // ... and password

(blank)

define ( 'DB_Host', 'localhost'); //99% chance you will not need to change this value

define ( 'DB_CHARSET', 'UTF8');

define ( 'DB_COLLATE', ");

We continue with the next step into the directory /wordpress/wp-admin and open the file setup-config.php. In the few lines below, we change the target file wp-config-sample.php with the wp-config.php.

Before edit:


if (! file_exists ('../ wp-config-sample.php '))

wp_die ( 'Sorry, I need a wp-config-file sample.php to work from. Please re-upload this file from your WordPress installation.');

$ configFile = file ('../ wp-config-sample.php ');

after editing:

 

if (! file_exists ('../ wp-config.php '))

wp_die ( 'Sorry, I need a wp-config-file sample.php to work from. Please re-upload this file from your WordPress installation.');


$ configFile = file ('../ wp-config.php ');


we continue with the next step into the directory / wordpress / wp-admin and open the file setup-config.php. In the few lines below, we change the target file wp-config-sample.php with the wp-config.php.

Before edit:


if (! file_exists ('../ wp-config-sample.php '))

wp_die ( 'Sorry, I need a wp-config-file sample.php to work from. Please re-upload this file from your WordPress installation.');


$ configFile = file ('../ wp-config-sample.php ');

after editing:


if (! file_exists ('../ wp-config.php '))

wp_die ( 'Sorry, I need a wp-config-file sample.php to work from. Please re-upload this file from your WordPress installation.');


$ configFile = file ('../ wp-config.php ');

Congratulations, at this stage have wordpress installed on your OS UbuntuME. now you can log in and learning to use wordpress to learn its function and function-the ability to train your blogging

do not forget to change the password given at the time of registration with a password of your liking, and change the permission folder wp-content to be accessible to all users, or you will not be able to upload media (images, music, flash etc) I open a terminal and go to wordpress folder your typing the command sudo chmod ugo + rwx wp-content.

Happy Testing...!!
Read More...!!

Install Xampp 1.7 in Ubuntu Jaunty (9.04)


This time I will share experiences in the application to install XAMPP (Web Application Server with Apache, MySQL, PHP, Perl, ProFTPD, phpMyAdmin, openssl, Freetype, libjpeg, libpng, gdbm, zlib, expat, ming, Sablotron, libxml, Webalizer, pdf class, ncurses, mod_perl, FreeTDS, gettext, IMAP C-Client, OpenLDAP (client lib), eAccelerator, mcrypt, mhash, SQLite, Curl, ZZIPlib, libxslt, phpSQLiteAdmin, FPDF) on my computer using the Ubuntu OS 9:04

The first we have to do is download XAMPP from the application site authorized, http://www.apachefriends.org/download.php?xampp-linux-1.7.tar.gz. After we successfully downloaded , then our next step is to open the terminal and type command file to extract XAMPP to the directory /opt on our computer.


$ sudo tar xvfz xampp-linux-xxxtar.gz-C /opt

After extracted, we change the directory permission XAMPP into 775  with type command :

$ sudo chmod-R 775 /opt/lampp

To run lampp application, type command :


$ /opt/lampp/lampp start

You will see a line in the terminal as a notification under this


Starting XAMPP 1.7
LAMPP: Starting Apache
LAMPP: Starting MySQL
LAMPP started.

Which showed that XAMPP was installed on the computer and we have been active. To review, then we open the browser and the URL http://localhost.
Wellcome's Screen XAMMP that XAMPP has indicated that the computer is connected with us.

XAMPP is intended for developers/Web designers, if you will use for online XAMPP webserver then need to be some security improvements, mengetikan do with the /opt/lampp/lampp security at the terminal and then setting up the necessary security.

Below are some basic command for XAMPP.

start: Enabling Applications XAMPP.

stop: Stop the application XAMPP.

restart: re-Enabling Applications XAMPP.

startapache: Enabling Applications Apache only.

startssl: Enabling Apache SSL support.

startmysql: Enabling MySQL database only.

startftp: Enabling ProFTPD server.

stopapache: Stopping Apache.

stopssl: Stop the Apache SSL support.

stopmysql: Stop the MySQL database.

stopftp: Stopping ProFTPD server.

If you want to remove XAMPP, please type this command sudo rm-rf /opt/lampp to delete it from your computer.

Now you can start to create web based applications PHP, Perl and others or you can use XAMPP to install alikasi CMS such as Joomla, Mamboo, WordPress, or B2evolution kind phpBB FORUM Alikasi, mercury board, etc. on your computer


Happy Testing...!!
Read More...!!