sudo apt-get install openssh-server openssh-client

sudo /etc/init.d/ssh start

ssh localhost

ssh user@server-ip-address

sudo apt-get update

sudo tasksel install lamp-server

mkdir drupal

/etc/apache2/sites-enabled$ sudo a2enmod rewrite

cd /etc/apache2/sites-available/
sudo cp default drupal

sudo nano drupal

DocumentRoot /home/drupal/
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/
drupal/>
#Options Indexes FollowSymLinks MultiViews
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

/etc/apache2/sites-enabled$ sudo rm 000-default

/etc/apache2/sites-enabled$ sudo ln -s /etc/apache2/sites-available/drupal 000-default

sudo /etc/init.d/apache2 restart

/var/www$ cp index.html /home/drupal

http://localhost

nano phpinfo.php

<?php
#coodtec.com
phpinfo();
?>

http://localhost/phpinfo.php

sudo /etc/init.d/mysql restart

download from
http://www.phpmyadmin.net/home_page/downloads.php
extract phpMyAdmin-3.0.1.1-all-languages.tar.gz and upload to /home/drupal/phpMyAdmin

mkdir config
chmod o+rw config

http://localhost/phpMyAdmin start install

Authentication type config
add root password

SAVE

mv config.inc.php ../

rm -r config
sudo chmod o-rw config.inc.php

http://localhost/phpMyAdmin (should work now!)
Database –> create new database –> drupal

download drupal

http://ftp.drupal.org/files/projects/drupal-6.8.tar.gz

tar -zxvf drupal-6.8.tar.gz

upload to drupal folder (must include ..htaccess  file)

cd  drupal/sites/default

mkdir files

cp default.settings.php settings.php

chmod 666 settings.php

http://drupal/

start install

finish then

sudo chmod 555 settings.php

———————————

———————————-

1.  command line: gconf-editor

2. apps –> nautilus –> desktop –> Trash

3. From desktop open trash

The top three CMS tools are plone, drupal and Joomla.

Which one is most fit into Coodtec?

first, plone looks too complicated for small business.

Second drupal is better structure, and joomla better function.

http://www.alledia.com/blog/general-cms-issues/joomla-and-drupal-%11-which-one-is-right-http://paranoid-engineering.blogspot.com/2008/07/cms-battle-drupal-vs-joomla-vs-custom.htmlfor-you?/

http://forums.digitalpoint.com/showpost.php?p=257154&postcount=19

Structure difficlut improve than function so maybe go forward with dyupal?

On other hand, drupal will take more time to config and setup.

1.

sudo apt-get install apache2 apache2-utils

2.

 sudo apt-get install subversion libapache2-svn

3.

sudo svnadmin create /home/svn-msvc  (For recover older skip this step)

4.

sudo nano /etc/apache2/mods-enabled/dav_svn.conf

  • <Location /svn-msvc>
  • DAV svn
  • SVNPath /home/svn-msvc
  • AuthType Basic
  • AuthName “Subversion Repository”
  • AuthUserFile /etc/apache2/dav_svn.passwd
  • Require valid-user
  • </Location>

5.

sudo htpasswd -c  /etc/apache2/dav_svn.passwd <username>
sudo htpasswd /etc/apache2/dav_svn.passwd <username>

6.

sudo chown -R www-data:www-data /home/svn

7.

sudo /etc/init.d/apache2 restart

8.

http://127.0.0.1/svn/

9.

When server IP changed,
Right click - TortoiseSVN- Relocate...,
input new URL

1. 使用 phpMyAdmin,备份 WordPress 使用的数据库。

2. FTP 工具下载服务器上位于 WordPress 安装目录内的所有文件的一份复本

3. 上传最新版本 WordPress到 WordPress 目录,覆盖所有存在的文件

4. 运行升级程序 http://xxxxxx.com/wordpress/wp-admin/upgrade.php

1. start phpMyAdmin

http://xxxx.com/phpMyAdmin

2.select wordpress table

3.select export

4.select all table

5.format: sql

6.select: Add DROP TABLE / DROP VIEW

7.select: Complete inserts

8.select: Save as file

9. GO

__________________

after backup file will download to you local computer

CPIT  大多地区唯一为技术移民提供政府资助的免费职业规划服务,但并不为中国移民所熟知。

——————————————————————————

没有来的急回顾、规划一下,就匆匆忙忙卷入找工洪流之中,是否理当如此?

是否过去从事的职业,就是最适合的职业?

是否最热门的职业,就应当追寻职业?

是否最易找到的工作,就是最好的工作?

是否了解找工作的方法?

是否需要先学习深造再去找工作?

是否?

是否?

CPIT 未必就能给这些答案,但应该是最接近发现这些答案的免费服务之一。

——————————————————–

为 使这个有意义的服务为更多人所知,特别是中国技术移民所了解,

故此,义务搭建这个 CPIT 网站。

————————————————————

千山鸟飞绝,万径人踪灭。

孤舟蓑笠翁,独钓寒江雪

江雪 柳宗元

apache2的默认设置是允许目录浏览,即如果没有index.html之类的文件,则列出所有文件列表。这interner在上非常不安全。

更改添加一个 -

Options -Indexes FollowSymLinks MultiViews

« Articoli Precedenti    
坐看云起时 based on WordPress, RSS and comments design by Gx3.