• LINE ID: @CARRENT
  • [email protected]
VoucherCar
  • หน้าแรก
  • สินค้า
    • แยกจังหวัดรถเช่า
    • แยกตามระดับเครื่องยนต์
    • แยกตามราคารถเช่า
    • แยกตามยี่ห้อรถเช่า

    • ตะกร้าสินค้า
    • จองด่วนน้อยกว่า 7 วัน
    • รถเช่า รายสัปดาห์
  • บทความเนื้อหา
    • คำถามพบบ่อย
    • บทความรถเช่า
    • สาขารถเช่า
    • WEBBOARD
  • วิธีการสั่งซื้อ
    • วิธีการสั่งซื้อ
    • รายละเอียดการชำระเงิน
  • จองด่วน
  • ติดต่อเรา
เข้าสู่ระบบ
รถเช่าราคาประหยัดadver
รถเช่า ประเภทต่างๆ

แยกตามจังหวัด แยกตามเครื่องยนต์ แยกตามราคา แยกตามยี่ห้อ รถเช่า รายสัปดาห์

คำถามพบบ่อยเกียวกับรถเช่า ข่าวสารบทความรถเช่า สาขาบริษัทรถเช่า เว็บบอร์ด (Webboard)

วิธีสั่งซื้อ รายละเอียดการชำระเงิน
ติดต่อเรา
รถเช่า จังหวัด

---
กลับไปหน้าเว็บบอร์ด

ติดตั้ง Directadmin ง่าย ๆ เพียง 5 ขั้นตอน (5 คำสั่ง)

ผู้ตั้งกระทู้: a
วันที่: 06/08/2009 เวลา: 16:56:53

ติดตั้ง Directadmin ง่าย ๆ เพียง 5 ขั้นตอน (5 คำสั่ง)

yum install gcc-c++

yum install ntp

ntpdate pool.ntp.org

wget http://www.directadmin.com/setup.sh

chmod 755 setup.sh

./setup.sh

หลังจากนั้นก็ ใส่ข้อมูล license ที่ได้ซื้อมาครับ  อ่านต่อ…

Directadmin controlpanel

หลังจากติดตั้ง directadmin เสร็จ ระบบจะแจ้ง password ของ admin สำหรับ เข้าใช้งานระบบ directadmin

หลังจากนั้น ควร ติดตั้งระบบความปลอดภัยเพิ่มเติม ตามลิงค์ นี้ http://help.directadmin.com/item.php?id=247

ติดตั้ง Securing /tmp  หากไม่ได้แบ่ง partition ไว้ตั้งแต่แรก

Step 1.1: Backup your fstab file

cp /etc/fstab /etc/fstab.bak

Step 1.2: Creating tmpmnt partition file (Around 1Gb in size)

cd /var
dd if=/dev/zero of=tmpMnt bs=1024 count=1048576

Step 1.3: Format the new partition

mkfs.ext3 -j /var/tmpMnt

Press Y when asked
Step 1.4: Making backup of old /tmp

cp -Rp /tmp /tmp_backup

Step 1.5: Mount the tmp filesystem

mount -o loop,noexec,nosuid,rw /var/tmpMnt /tmp

Step 1.6: Set the right permissions

chmod 0777 /tmp

Step 1.7: Copy the files back to new tmp folder

cp -Rp /tmp_backup/* /tmp/

Step 1.8: Adding new /tmp filesystem to fstab

echo “/var/tmpMnt /tmp ext3 loop,rw,noexec,nosuid,nodev 0 0′ >> /etc/fstab

Step 2: No need for 2 tmp filesystems, so we symlink /var/tmp to /tmp

rm -rf /var/tmp/
ln -s /tmp/ /var/tmp

DirectAdmin Installation Guide

Setup Checklist for CentOS 5.2

หลังจากลง Directadmin เสร็จแล้ว ก็ควร เช็คตาม list ด้านล่างนี้อีกทีครับ

=============================

-Config SSHD
-Config Firewall Rules
-Install Screen
-Setup DirectAdmin 1.331
-Install Spamassassin (./spam.sh)
-Install Freetype
-Install GD
-Config Spamassassin (exim.conf)
-Convert to Dovecot (build) 1.0.13
-Upgrade to Apache 2.2.6
-Upgrade to PHP 5.2.5
-ClamAV
-Config Exim to ClamAV (exim_clam)
-PHP.INI Disable_functions
-Mod_Security
-Mod_Evasive
-Mod Perl
-Install MRTG
-Install ZendOptimizer
-Install eAccelerator
-Chkrootkit / Rkhunter
-BFD Monitoring Tool with Firewall Integrated
-Config Webmail support Thai
-Webmail.Domainname.com
-enable realtime blocklists (RBLs)
-enable Spamassin for new accounts
-Log 90 Day http ftp access
-Tune Apache
-Tune MySql

Installation Guide Directadmin

Step 1:  Do you meet the system requirements?

- Clean OS install: check install.html to ensure you’ve got a supported OS

- At least one external IP address (NAT/LAN-based systems will NOT work)

- SSH installed, gcc and g++ installed

Step 2:  Make sure your license information is correct.

Sign into your client account at https://www.directadmin.com/clients and click the “view” link next to your license.

Verify that the server IP address and operating system is correct. Also make sure that the license is Active and Verified (if it isn’t, then our billing system hasn’t processed your order yet).

Step 3: Begin the installation!

**** SPECIAL NOTICE FOR FreeBSD INSTALLATIONS ****

If logging in as a user other than admin or root (using su to gain root access):

You *have* to add “AllowUsers username” to /etc/ssh/sshd_config before you log out from root or you’ll lose root on the server forever, and you’ll have to format.

Login as root and download the setup.sh file

# wget http://www.directadmin.com/setup.sh

Hint: Use “fetch” instead of “wget” on FreeBSD systems.

Change permissions on the setup.sh file

# chmod 755 setup.sh

Run the setup script!

# ./setup.sh

You will be prompted for a client ID number, license ID number, and hostname.

Important: The hostname should not be the same as the primary domain name.  e.g. gary.com is not a good hostname, where server.gary.com is.  Having the same host/main domain name will cause e-mail and FTP problems.  Also, please make sure the hostname resolves once you setup DNS.

That’s it!  Please see below if you are installing on a VPS, or wanting to setup DirectAdmin for secure (https://) control panel access.

Special notice for VPS/VDS installs:

After the install, add:

ethernet_dev=devicename

for example, on many vps systems it will be:
ethernet_dev=venet0:0

other systems where the IP is not the base IP on the device, you’d need to simply set the correct number:
ethernet_dev=eth0:1

or other systems with the IP on a different device, it might be:
ethernet_dev=eth1

type: /sbin/ifconfig
to see which device your IP is in.
to /usr/local/directadmin/conf/directadmin.conf.

Replace devicename with the FULL devicename reported by ifconfig. If your VDS/VPS system emulates eth0, then you may skip this step.

Setup SSL Certificates:

This step is only required if you wish to use DirectAdmin through SSL. You will also have to change set SSL=1 in the directadmin.conf file:
http://help.directadmin.com/item.php?id=15

Named Reload Bug (RedHat 7.2 Only)

Make sure that the /etc/rndc.conf file has the following data for the “server localhost” directive:

# cat /etc/rndc.conf
…
server localhost {
key “rndckey”;
};
…

If you don’t see that anywhere, use an editor such as pico or vi to make the file contain the above text.

Accessing the Control Panel

DirectAdmin can be accessed at http://server.ip.address:2222 — use the Admin username/password specified in the setup.txt file in your scripts directory.

Dealing with RPM errors

When installing RPMs, errors can sometimes occur. Don’t panic, solving them is usually easy. If you didn’t know what to install during your RedHat installation, you might have installed a few services, such as apache and sendmail. These services must be removed before the rpm will be able to be installed.

For example, lets say you are trying to install exim and you get the following:

# rpm -ivh exim-3.36-2.i386.rpm
Preparing…                 ########################################### [100%]
file /somefile from install of exim-3.36-2 conflicts with file from package sendmail-8.1
…

This would mean that sendmail is already installed on your server and you must remove it. This can easily be accomplished by running the following:

# rpm -e –nodeps sendmail

Then you will be able to install your rpm. This follows for other services such as apache, apache-devel, wu-ftp, php, MySQL and so forth. If you need to figure out if you already have a service installed, you can run

# rpm -q servicename

or

# rpm -qa | grep substring

Where substring is just a word. For example, using “apache” might return:

# rpm -qa | grep apache
apache-fp-1.3.27-2
apache-fp-devel-1.3.27-2
apache-fp-manual-1.3.27-2




วิธีลง Ioncube บน Centos

#wgethttp://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

แตกไฟล์ซะ
#tar -zxvf ioncube_loaders_lin_x86.tar.gz

แล้วเข้าไปใน โฟลเดอร์ ioncube
#cd ioncube

ทำการ copy file ioncube-loader-helper.php ไปวางยัง PATH ของเว็บไซต์ที่ต้องการใช้ ioncube ในโฟลเดอร์ scripts นั้นๆเลย
#cp ioncube-loader-helper.php /home/test/domains/yourdomain.com/public_html/โฟลเดอร์สคริป/

ออกมาข้างนอก โฟลเดอร์ ioncube
# cd ..

แล้วทำการย้ายโฟลเดอร์ ioncube ไปไว้ที่ /usr/local/
#mv ioncube /usr/local/

จัดการแก้ไขไฟล์ php.ini
#nano /usr/local/lib/php.ini

หรือ ถ้าใช้ DirectAdmin ก็เข้าไปแก้ไขที่ File Editor

เพิ่มบันทัดข้างล่างนี้เข้าไป แล้ว Save
ที่ผมใส่ ioncube_loader_lin_4.4.so ลงไป เนื่องจากผมใช้ php4.4 ดังนั้นก่อน config ต้องเลือกใช้ให้ถูกตัว ถูกต้องด้วย

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

เสร็จก็ restart webserver
#service httpd restart

แล้วลองไปเปิด http://www.yourdomain.com/โฟลเดอร์สคริป/ioncube-loader-helper.php ดู รัน test ถ้าไม่มี Error อะไรก็ผ่านครั

ความคิดเห็นทั้งหมด
ยังไม่มีความคิดเห็น มาร่วมแสดงความคิดเห็นเป็นคนแรกสิ!
ร่วมแสดงความคิดเห็น

Copyright © 2026 vouchercar.com

*** ไม่อนุญาตให้ลงโฆษณาขายสินค้าใดๆ ก่อนได้รับอนุญาตจากทางเว็บนะคะ ***