Pasang Wordpress pada PC: Inilah caranya
Untuk menggunakan WordPress tanpa Internet, anda juga boleh memasang WordPress pada PC anda di rumah. Untuk menjalankan pemasangan, bagaimanapun, anda perlu memenuhi beberapa keperluan terlebih dahulu. Kami akan membimbing anda melalui semua langkah.
Pasang WordPress pada keperluan PC - server
WordPress memerlukan pelayan web dengan fungsi PHP, MySQL dan Perl berfungsi. Keperluan ini tidak wujud dengan sistem Windows standard. Cara paling mudah untuk mewujudkan persekitaran kerja yang diperlukan adalah menggunakan XAMPP. Ini adalah pengedaran Apache (pelayan web), MySQL (pelayan pangkalan data), PHP dan Perl (skrip / aplikasi), yang agak mudah dipasang walaupun untuk pengguna yang tidak berpengalaman. XAMPP tersedia untuk Windows, Linux, Mac OS X dan Solaris. Anda boleh mendapatkan versi semasa di sini.
- Muat turun versi terkini XAMPP (versi pemasang disyorkan untuk pemula) dan mulakan pemasangan.
- Wizard Persediaan XAMPP membimbing anda melalui pemasangan. Anda boleh menyesuaikan pemasangan dalam tetingkap "Pilih Komponen". Jika anda tidak pasti tentang pengertian komponen, biarkan mereka diaktifkan untuk kesederhanaan. Anda boleh memilih direktori target dengan bebas, paling selamat menggunakan yang disyorkan.
- Selepas melengkapkan pemasangan, Panel Kawalan XAMPP bermula. Sekiranya anda tidak mempunyai pengalaman sebelumnya dengan pentadbiran pelayan web, sudah cukup untuk menggunakan konfigurasi asas XAMPP. Klik butang permulaan untuk "Apache" dan "MySQL".
- Bergantung kepada konfigurasi sistem anda, ada kemungkinan firewall aktif meminta kelulusan pelayan web dan perkhidmatan pangkalan data. Jika komputer anda berada di rangkaian tempatan dan anda juga ingin mengakses pelayan web dari komputer lain, anda mesti membenarkan akses. Jika anda hanya menggunakan pelayan web dari komputer yang anda pasangkan, anda tidak perlu memberikan akses.
- Klik kanan pada ikon XAMPP dalam medan pemberitahuan (di sebelah kanan dalam bar tugas pada jam) untuk membuka menu kawalan kecil supaya anda boleh menyahaktifkan atau mengaktifkan pelayan pada bila-bila masa.
Pasang WordPress pada PC - buat pangkalan data
- Buka penyemak imbas web dan masukkan "localhost" dalam bar alamat.
- Pilih bahasa pilihan anda dan kemudian di bawah "Alat" pilihan "phpMyAdmin".
- Klik pada "Pangkalan Data".
- Masukkan nama pangkalan data pilihan anda di bawah "Buat pangkalan data baru". Pilih "utf8_general_ci" dalam kotak dropdown "Collation". Klik butang "Buat".
- Di lajur kiri, klik pada pangkalan data yang baru anda buat.
- Sekarang klik pada butang "Hak" dan kemudian pada "Tambah pengguna".
- Masukkan nama pengguna anda.
- Di bawah "Host" pilih pilihan "Tempatan" jika anda hanya mahu mengakses pangkalan data dari komputer anda. Pilih "Mana-mana tuan rumah" jika anda ingin mengakses pangkalan data dari komputer lain pada rangkaian anda.
- Masukkan kata laluan dan periksa sama ada pilihan "Ganti semua hak kepada pangkalan data [nama pangkalan data] dipilih dalam baris" Pangkalan Data untuk pengguna ".
- Akhirnya klik pada "OK".
Pasang WordPress pada PC - Pemasangan WordPress
- Muat turun versi terkini WordPress.
- Unzip fail zip dan salin semua fail ke dalam akar dokumen pelayan web anda. Jika anda menggunakan laluan yang dicadangkan semasa memasang XAMPP, direktori dokumen adalah: "c: \ xampp \ htdocs \".
- Perhatikan bahawa sudah ada fail dari pemasangan XAMPP dalam direktori ini, sebahagian daripadanya akan ditimpa. Anda boleh menyalin atau memadamnya (kecuali direktori "dilarang", "img", "restrictedt" dan "xampp") dalam mana-mana direktori yang hendak dibuat.
- Sebagai alternatif, anda boleh memasang WordPress dalam subdirektori baru - maka anda perlu menukar laluan yang sewajarnya dalam panggilan yang diterangkan di bawah.
- Sekarang buka alamat "localhost / wp-admin / install.php" dalam pelayar web.
- Mesej muncul bahawa fail "wp-config.php" tidak wujud. Cara paling mudah untuk membuat fail ini ialah dengan mengklik butang "Buat fail konfigurasi" dalam penyemak imbas.
- Konfigurasi biasanya mudah, tetapi berada di sisi yang selamat, membuat nota mengenai maklumat berani yang dipaparkan dan klik pada butang "Let's go".
- Gantikan entri yang sudah ada dalam masukan masukan dengan nama dan kata laluan yang telah anda tetapkan. Walau bagaimanapun, anda perlu meninggalkan entri "localhost" untuk pangkalan data pangkalan tidak terjejas, jika tidak WordPress tidak akan dapat mencari pelayan MySQL. Klik Hantar jika anda mahu meneruskan pemasangan.
- Sekarang klik butang "Jalankan pemasangan".
- Masukkan tajuk yang sesuai untuk blog anda dan kata laluan untuk pengguna "admin". Anda boleh menambah lagi pengguna dan pengarang ke blog kemudian.
- Masukkan alamat e-mel yang sah.
- Sekiranya pemasangan WordPress tempatan memberikan persekitaran pratonton sebelum blog tersebut dipindahkan ke pelayan web yang kemudian, anda boleh mengklik pada pilihan "Privasi" sekarang supaya blog anda dapat ditemui oleh enjin carian.
- Akhirnya klik pada "Install WordPress". Pemasangan kini dijalankan dan anda boleh log masuk ke WordPress.
- Untuk mengakses blog baru anda secara langsung dan tanpa log masuk, masukkan "localhost" dalam baris alamat penyemak imbas.
Nota: Konfigurasi XAMPP yang dibentangkan di sini tidak selamat untuk digunakan dalam rangkaian, terutamanya Internet. Untuk melindungi XAMPP dengan sewajarnya, sila baca maklumat ini.
Anda boleh mendapatkan gambaran keseluruhan sepuluh plugin WordPress paling popular di sini.