Samstag, 16. August 2008

Change DNS and Name Server on EuroDNS

1. Click on the domain
2. Apply DNS profile
3. Load
4. Save Setteings
5. Backt to domain details
6. Apply Name Sever Profile
7. View Profile
8. Apply Change
9. Validate Modification

How can I change my Nameservers?

Please go to Manage my domains. Click on the domain name you want to delegate new Nameservers. On the left of the actual nameservers click on Apply Nameserver Profile. Choose the profile to use or Create a new one. Click on View profile and them on Apply profile. Them on the top of the page click on Validate modifications.
http://www.eurodns.com/faq/

Freitag, 15. August 2008

Web Hosting: phpBB3

1. Create Database as in joomla
2. http://www.example.com/www/phpBB3/install/index.php
------
1. Decompress the phpBB3 archive to a local directory on your system.
2. Upload all the files contained in this archive (retaining the directory structure) to a web accessible directory on your server or hosting account.
3. Change the permissions on config.php to be writable by all (666 or -rw-rw-rw- within your FTP Client)
4. Change the permissions on the following directories to be writable by all (777 or -rwxrwxrwx within your FTP Client): store/, cache/, files/ and images/avatars/upload/.
5. Using your web browser visit the location you placed phpBB3 with the addition of install/index.php or pointing directly to install/, e.g. http://www.mydomain.com/phpBB3/install/, http://www.mydomain.com/forum/install/ etc.
6. Click the INSTALL tab, follow the steps and fill out all the requested information.
7. Change the permissions on config.php to be writable only by yourself (644 or -rw-r--r-- within your FTP Client)
8. phpBB3 should now be available, please MAKE SURE you read at least Section 6 below for important, security related post-installation instructions.

If you experienced problems or do not know how to proceed with any of the steps above please read the rest of this document.

http://www.twilightlexiconforum.com/docs/INSTALL.html#quickinstall

Web Hosting: Joomla

1. Create New Database
name_database: myjoomla
user: user name
password: new password
server: ip address

2. Create Dir joomla15 in
/wwww/
3. FTP Joomla to /joomla15
4. Go to http://www.example.com/wwww/joomla15/
This Url is under Home: e.g.
Temp URL: site1.website.com/user/www
5. Start Install
6. Infromation for Database:
6.1. Database location
under Database
Server IP:
user name:
password

Montag, 11. August 2008

Webmin

download:
webmin-1.420-1.noarch.rpm
Install.
Login:
http://localhost:10000/
user: root
password

http://webmin.gds.tuwien.ac.at/index.html

Sonntag, 10. August 2008

find libula

find /usr/local/lib -type f -iname "*liblua*"
do an ls -l /usr/lib/*lua*
And find /usr/lib -type f -iname "*liblua*

rpm -ql liblua5_1

AppArmor

http://www.linuxjournal.com/article/9036
http://www.novell.com/documentation/apparmor/pdfdoc/apparmor2_admin/apparmor2_admin.pdf

phpBB3 Installation

1. Download phbBB
http://www.phpbb.com/downloads/?sid=d8daf7d9885ef06e9549b46a26a37455
2. untar phpBB-3.0.2.tar.bz2
3. Installation Quick Quide:
http://www.phpbb.com/support/documentation/
http://www.phpbb.com/support/documentation/3.0/
4. Create a database called:
phpbb
5. grant to give the username and remove the brackets
5.1. GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON phpbb.* TO @localhost IDENTIFIED BY 'user password here';
5.2.FLUSH PRIVILEGES;
6. /localhost/phpBB3/ or /local/phpBB3/install/index.php
7. Website Installation follow the procedure
8. Change the permissions on config.php to be writable by all (666 or -rw-rw-rw- within your FTP Client)
http://www.phpbb.com/support/documents.php?mode=install&version=3#quickinstall
10. To create a forum login in as admin
11. Click Adminstration Control Panel (center below the forum)

II. Adding Ads to phpBB3
http://www.phpbb.com/kb/article/advertisements-in-phpbb3/

III. Stop Spam
Update 2006-08-22: The fake users keep coming. So I came up with a cron job that runs this query once per day. It will remove inactive PHPBB users older than 48 hours. This gives time for the new users to properly activate.

DELETE FROM phpbb_users WHERE user_active=0 AND user_id>0 AND FROM_UNIXTIME(user_regdate)
The user_id>0 part is to avoid deleting the Anonymous user, which has a user ID of -1 on my installation.

http://boonedocks.net/mike/archives/124-PHPBB-Fake-Members.html

IV. Delete User:
open php my admin and you can run this query:

DELETE FROM phpbb_users WHERE user_id !=2

http://www.webmaster-talk.com/php-forum/64968-phpbb-forum-delete-all-users.html

Samstag, 9. August 2008

Wordpress Installation

Famous 5-Minute Install

Here's the quick version of the instructions, for those that are already comfortable with performing such installations. More detailed instructions follow.

1. Download and unzip the WordPress package, if you haven't already.
2. Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
3. Rename the wp-config-sample.php file to wp-config.php.
4. Open wp-config.php in your favorite text editor and fill in your database details.
5. Place the WordPress files in the desired location on your web server:
* If you want to integrate WordPress into the root of your domain localhost/wordpress/
6. Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser.
http://localhost/wordpress/wp-admin/install.php

should visit: http://example.com/blog/wp-admin/install.php

That's it! WordPress should now be installed.

http://codex.wordpress.org/Installing_WordPress

--------------------------
mysql grant hesham the right to use wordpress


GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON wordpress.* TO @localhost IDENTIFIED BY 'user password here';

remove <>

http://codex.wordpress.org/Installing_WordPress

Apache Errors and check

//restart of apache
/etc/init.d/rcapache2 restart

//apache config file
/etc/apache2/httpd.conf

//virtual host


ServerName marei.homelinux.com
ServerAlias marei.homelinux.com
DocumentRoot /srv/www/htdocs/



ServerName medicine.homelinux.com
DocumentRoot /srv/www/htdocs/phpBB3/


//Dump apache httpd.conf
httpd2 -S

//errors are in
/var/logs/apache2/

//discuss of medaiwiki problem:
http://ubuntuforums.org/showthread.php?t=236212

Where can you find Apache Documents
http://wiki.apache.org/httpd/DistrosDefaultLayout#head-43cd7f416175e1fb932e5bb26ac238f8a9324fed

Freitag, 8. August 2008

MySQL: Rest Password SuSE

- Run level and stop mysql
su:
password:
- /usr/bin/mysqld_safe --skip-grant-tables &

in another terminal:
mysql -u root -p
update user set Password=PASSWORD('new-password-here') WHERE User='root';

flush privileges;
exit;

return to first terminal:
fg
ctrl + c or z

/etc/init.d/mysql start
mysql -u root -p

MySQL: Rest Password

First things first. Log in as root and stop the mysql daemon. Now lets start up the mysql daemon and skip the grant tables which store the passwords.

mysqld_safe --skip-grant-tables

ou should see mysqld start up successfully. If not, well you have bigger issues. Now you should be able to connect to mysql without a password.

mysql --user=root mysql

update user set Password=PASSWORD('new-password');
flush privileges;
exit;

MediaWiki Installation Part 2

Install Summary:
1. Connect to the sever using FileZilla
1.1. ftp.xxxx.com
1.2. username
1.3. password
2. Create mysql database
2.1. databaseName: medicine
2.2. user:
2.3. password:
2.4. give user all privilage
3. http://wiki.xxxx.li/
3.1. Click Setup
3.2. Fill the page
4. Copy localSetting.php to
public_html/xxx/wiki/medicines/wikimedia/
5. Rename config to config.bak
6. End of installation
---------------------
--
MediaWiki installs itself using an interactive, web-based installation script. Before you can run this script, you need to do a couple of things. First, ensure that you have installed prerequisites (Apache/IIS, MySQL4 or later and PHP5). Then you must acquire the MediaWiki software package and upload the MediaWiki software to your server. You may also have to create a new database for your wiki. If necessary, create an account on your web server by following the instructions at Manual:Installation/Creating system accounts.

MediaWiki can be difficult to install for the average computer user who does not have experience with Apache, PHP and MySQL. Most users who wish to use wiki software may benefit from using a free wiki host (see a list of wiki hosts on Wikibooks).

Note Note: For troubleshooting information, see Manual:Errors and Symptoms#Installation Errors.

Download MediaWiki Software

Download MediaWiki from the official download page or from subversion.

Uncompress the files locally or on your server. This is usually done with software such as 7-Zip (free), WinZip, WinRAR or IZArc (free) on Windows. On Linux and Mac OS X, you can untar the file using this command:

tar xvzf mediawiki-*.tar.gz

If you have not already uploaded the files to your web server, do so now. Upload the files to your web server's web directory either by directly copying the unzipped folder or by using an FTP client such as FileZilla (Open Source Software, Windows) or Cyberduck (OSX). If you installed Apache, the correct directory is specified in your httpd.conf file (its typically /htdocs). If you are using a Linux or Unix you can instead copy the files to any directory on your server and then make a symbolic link to that folder from your web server's web directory.

Rename the uploaded folder to whatever you would like to have in the URL. If your web server is running as http://localhost for example, uploading MediaWiki to /testwiki/ directory would mean you would access your wiki at http://localhost/testwiki/index.php.

This (renamed) folder will now be referred as .

Prepare the Directories

MediaWiki needs to be able to write to the /config directory when it runs its installation script. If you haven't done so already, you need to change the permission settings for the config subdirectory so that it is writable by the webserver. If you are using FileZilla, right-click on the config directory, select "attributes...", and check "Write" under "Owner". If it prompts you for a number instead or if you are using a command-line interface, use 755 (Use 777 on Linux except for RedHat Linux). Alternately, you may be able to change permissions using a "control panel" provided by your web host.

Depending on the server configuration, in some cases you have to check all boxes (777) in FileZilla, to be able to run the install-script of MediaWiki.

On Unix or Linux, if you have admin rights, you can run the command chmod 755 config in your wiki directory.

Create a database

If you know the root password on your database, the MediaWiki installation script can create a new database for you. If this is the case, you can skip to the Run the installation script section below. If you don't know the root password, for example if you are on a hosted server, you will have to create a new database now. Currently, you must use either MySQL or Postgres to store the actual contents of your wiki.

MySQL

* You need to create a MySQL database and a user before installing MediaWiki. You can do this using various control panels such as PhpMyAdmin, which are often available from shared hosts, or you may be able to use ssh to login to your host and type the commands into a MySQL prompt. See the corresponding documentation. Alternatively, contact your host provider to have them create an account for you
1. Download and install MySQL 5.0. It should put itself in /usr/local/mysql
2. Check and see if the database server is running ("/usr/local/mysql/bin/mysqladmin status"), If not, sudo /usr/local/mysql/bin/safe_mysqld &.
(For Fedora Core 5, use /usr/bin/mysqld_safe)
1. Another way to start initially the MySQL server is to run the configure script available at the root of the installation. It creates the initial tables and automatically starts the mysql daemon
3. Set a password for the "root" account on your database server. /usr/local/mysql/bin/mysqladmin -u root password yourpassword
4. Set up a user in MySQL for your Wiki--do this in your terminal: /usr/local/mysql/bin/mysql -u root -p mysql
5. This starts up the MySQL command line client. Now, do this in the client:

create database wikidb;
grant create, select, insert, update, delete, alter, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by 'password';
flush privileges;
\q

If your database is not running on the same server as your web server, you need to give the appropriate web server hostname -- mediawiki.example.com in my example -- as follows:

grant create, select, insert, update, delete, alter, lock tables on wikidb.* to
'wikiuser'@'mediawiki.example.com' identified by 'password';


http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki


Opening the MediaWiki Installation form

In the following examples, it is assumed that your website is located at http://www.example.com/ which is physically located on your server at /home/example/web. You will need to adjust the examples to use the appropriate locations for your situation.

1. Use your web browser to browse to the main wiki page. This is the web-accessible folder that you installed MediaWiki into, and is typically /wiki (e.g. http://www.example.com/wiki/, assuming you installed MediaWiki to /home/example/web/wiki).
2. You will be presented with a message telling you that your wiki is installed, but has not yet been configured and that you need to "click here to setup the wiki". Click on the link to begin the configuration script. For reference (in case you want to go there directly), this is located in the wiki's config directory (so using the example above you would go to http://www.example.com/wiki/config/).
3. If the script spots any configuration errors then it will not allow you to continue. See below for details about the error messages you might encounter, and what to do if you do.
4. If all the tests pass, you will be presented with a form to fill in the information that MediaWiki now requires.

[edit] Filling up the Form fields

Follow the instructions on the form to fill in the required entries (refer to the following table if you're uncertain what to enter) and after that click on the "Install MediaWiki!" button. The script will now populate the database and write a configuration file.

After the setup script has finished running successfully, a file called LocalSettings.php is created in the "config" directory. This file contains all the information needed by MediaWiki to run. Since it stores the specified database user's password in plain text, it is strongly suggested that you create a wiki specific database account (i.e. not root). (see Database username in the table below)

1. Move this file to the main wiki directory (if you installed MediaWiki to /home/example/web/wiki, move it there).
2. Set stringent permissions on the LocalSettings.php file.
* Set chmod 600 and chown (Owner read and write, no other permissions).
3. Delete the "config" directory.

Once you have done the above, your wiki should be ready to use. Browse to the address you installed it to (in our example http://www.example.com/wiki/ and start editing!
http://www.mediawiki.org/wiki/Manual:Config_script


http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki

MediaWiki Installation

Quick installation guide

For experienced users only, here is the quick version of the installation instructions. Most users will want to read the more detailed version, below.

1. Check that your system meets the minimum requirements (web server, PHP5, and either MySQL4 or Postgres 8.0).
2. Download MediaWiki (direct link to latest version) and extract the archive to a web-accessible folder on your server.
3. Point your browser to the config directory.
4. Follow the on-screen instructions to complete the process.

These instructions are deliberately brief. There is a lot that could go wrong, so if in any doubt, you are advised to read the full instructions below!!

[edit] Main installation guide

* Before installation
o Read what MediaWiki is
o Check the MediaWiki feature list
o Installation requirements - Check these before going any further!
* Installing MediaWiki
o Downloading MediaWiki
o Installing MediaWiki
* Configuring MediaWiki:
o Initial configuration (using the configuration script)
o Further configuration
o Common customizations
o Installing extensions

[edit]
http://www.mediawiki.org/wiki/Manual:Installation_guide

Samstag, 2. August 2008

Joomla: Installation

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.

joomla should be installed under /srv/www/htdocs/joomla/

If you have a problem with php, copy and paste the script and insert it in
/srv/www/htdocs/joomla/configuration.php


http://www2.blogger.com/post-create.g?blogID=5032931407220438062
http://linuxindo.web.id/2008/05/06/jooma-tutorial-series-how-to-install-joomla-15/2/

Freitag, 1. August 2008

XHTML on NVU

Configuring NVu for XHTML and CSS

Click Tools>preferences then:

* On the General screen there is an option to use "CSS styles instead of HTML elements and attributes". This should be enabled.
* On the Advanced screen you will see 4 radio selection buttons for enabling:
o HTML 4
o XHTML 1
o DTD transitional
o DTD strict
http://www.build-your-website.co.uk/Configure-Web-Page-Editors-XHTML-CSS.htm