INSTALASI MANDRAKE SERVER

00.04 Edit This 0 Comments »
-8">

Instalasi Mandrake


One thing you have to do before you can begin following this tutorial is to turn on your computer :-). Satu hal yang harus Anda lakukan sebelum Anda dapat mulai mengikuti tutorial ini adalah untuk menghidupkan komputer Anda :-). Check your BIOS settings to see if the CD-Drive is the primary boot device. Periksa pengaturan BIOS anda untuk melihat apakah CD-Drive adalah perangkat boot utama. If not, change it or else you won't be able to install linux. Jika tidak, mengubah atau lain Anda tidak akan dapat menginstal linux.

So, turn on your computer and insert the Mandrake 10.1 CD1 into your CD-drive. Jadi, nyalakan komputer Anda dan masukkan 10,1 Mandrake CD1 ke CD-drive.

Choose English(American) as the language, and then click Next. Pilih Inggris (Amerika) sebagai bahasa, dan kemudian klik Next.

Choose Accept if you agree (which you should) and click Next. Pilih Terima jika anda setuju (yang harus) dan klik Next.

Choose Next, without changing any settings. Pilih Selanjutnya, tanpa mengubah pengaturan.

Partition the disk the way you want it. Partisi disk seperti yang Anda inginkan.

Format the partitions. Memformat partisi.

You should now see 4 checkboxes. Sekarang Anda akan melihat 4 kotak centang. Deselect Installation CD3 and 4. Hapus Instalasi CD3 dan 4.

When you get to Package Selection, deselect everything except KDE workstation, Configuration, Console Tools, Development and Documentation. Saat Anda masuk ke Paket Selection, batalkan pilihan semuanya kecuali KDE workstation, Konfigurasi, Konsol Tools, Pengembangan dan Dokumentasi.

Wait while Mandrake is being installed, this can take over 30 minutes and you will have to insert CD2 somewhere in the installation process. Tunggu sementara Mandrake sedang diinstal, ini dapat mengambil lebih dari 30 menit dan Anda akan harus memasukkan CD2 di suatu tempat dalam proses instalasi.

When done, enter your root password twice. Setelah selesai, masukkan password root dua kali. This password is very important and whenever I say root password in this guide, I am talking about this password. Password ini sangat penting dan setiap kali aku berkata password root dalam panduan ini, saya berbicara tentang password ini. Don't forget it! Jangan lupa itu! Click Next. Klik Next.

Create a user, I created a user sebsz with a password :-). Buat pengguna, saya membuat sebuah sebsz pengguna dengan password :-). You can choose an icon if you like, but you don't have to. Anda dapat memilih ikon jika Anda suka, tetapi Anda tidak perlu.

When it says "I can set up your computer to automatically log on one user", click Next. Ketika ia berkata "Aku dapat mengkonfigurasi komputer Anda untuk secara otomatis logon satu user", klik Next.

You might be asked where you want to install the bootloader, choose the MBR. Anda mungkin bertanya di mana Anda ingin menginstal bootloader, pilih MBR.

You are now at the Summary page. Anda sekarang pada halaman Ringkasan. You can configure many things here. Anda dapat mengkonfigurasi banyak hal di sini. I always first change my Country/Region to my own country (Malta). Aku selalu pertama mengubah Negara / Daerah untuk negara saya sendiri (Malta). If you don't live in the United States, then change this. Jika Anda tidak tinggal di Amerika Serikat, maka perubahan ini. If you don't see your country, click "More Countries". Jika Anda tidak melihat negara Anda, klik "More Negara". You might have to insert CD1 again to install the appropriate packages. Anda mungkin harus memasukkan CD1 lagi untuk menginstal paket-paket yang sesuai.

I have decided not to configure my Network connection yet, we will that later on in KDE. Aku telah memutuskan untuk tidak mengkonfigurasi koneksi jaringan belum, kami akan bahwa nanti pada KDE. You will find out later what KDE is. Anda akan mengetahui kemudian apa KDE.

Click Next when you are done configuring. Klik Next ketika anda selesai mengkonfigurasi. Now you can select if you want to install and download updated packages. Sekarang Anda dapat memilih apakah Anda ingin menginstal dan men-download update paket. I chose NO because my network isn't configured yet. Aku memilih NO karena jaringan tidak belum dikonfigurasi. I recommended you follow what I do to avoid problems later on. Saya merekomendasikan Anda mengikuti apa yang saya lakukan untuk menghindari masalah di kemudian hari.

Now the installation is complete, take out your CD and click Reboot. Sekarang instalasi selesai, keluarkan CD anda dan klik Reboot.

Mandrake Configuration Mandrake Konfigurasi





When Mandrake finishes booting, you should get a screen "Welcome to Firstboot". Ketika Mandrake selesai boot, anda harus mendapatkan layar "Selamat datang di Firstboot". Choose "Do not answer survey" and click Next. Pilih "Jangan menjawab survei" dan klik Next. Click Next again. Klik Next lagi. And click Next again. Dan klik Next lagi.

Now KDE 3.2 loads. Sekarang beban 3,2 KDE. KDE is your graphical interface which you will use to configure some settings in Mandrake. KDE adalah antarmuka grafis anda yang akan Anda gunakan untuk mengkonfigurasi beberapa pengaturan di Mandrake. When you get "Welcome to Mandrakelinux!", at the bottom deselect "Open this window on startup" and click close. Ketika Anda mendapatkan "Selamat datang di Mandrakelinux!", Di bagian bawah hapus pilihan "Buka jendela ini pada startup" dan klik dekat.

Click the Star in the bottom left corner, go to System | Configuration | Configure Your Computer. Klik Bintang di sudut kiri bawah, pergi ke System | Configuration | Configure Your Computer. Enter your root password and click OK. Masukkan password root anda dan klik OK. The Mandrakelinux Control Center will now load. Mandrakelinux Control Center yang sekarang akan beban.

Click Network and Internet and then Internet access. Klik Network dan Internet dan kemudian akses Internet. Enter your Host Name. Masukkan Nama Host. Your Host Name is your FQDN (Fully Qualified Domain Name). Nama Host Anda adalah agar FQDN (Fully Qualified Domain Name). Most probably you are following this guide because you want to host multiple domains on the same server. Kebanyakan mungkin Anda mengikuti panduan ini karena Anda ingin meng-host banyak domain pada server yang sama. Just enter your main domain name here. Cukup masukkan nama domain utama Anda di sini. I am entering maltastart.com, even though I will also be hosting sebsz.com, da40.info, flyingsociety.info and sebszhost.com. Aku memasuki maltastart.com, meskipun aku juga akan hosting sebsz.com, da40.info, flyingsociety.info dan sebszhost.com. Don't worry about it, just enter your main domain name. Jangan khawatir tentang itu, cukup masukkan nama domain utama Anda. :-S :-S

Now enter your First and Second DNS Servers. Sekarang masukkan Pertama dan Kedua DNS Server. These are used so your server can connect to the Internet. Ini digunakan sehingga server Anda dapat terhubung ke Internet. Later on you can configure Mandrake to be a DNS server itself, but for now enter your ISP's DNS servers. Kemudian Anda dapat mengkonfigurasi Mandrake untuk menjadi server DNS itu sendiri, tetapi untuk sekarang masukkan server DNS ISP. Click OK to apply the settings. Klik OK untuk menerapkan pengaturan.

Now click Manage Connections. Sekarang klik Manage Connections. You should have 2 ethernet cards in your computer. Anda harus memiliki 2 kartu jaringan di komputer Anda. One will be used to connect to the Internet (eth0) and the other one will be used to connect to your LAN (eth1). Salah satu akan digunakan untuk menyambung ke Internet (eth0) dan yang lain akan digunakan untuk menghubungkan ke LAN (eth1). At the top "Device selected" choose eth0 and then configure it for Internet access. Di puncak "Device dipilih" pilih eth0 dan kemudian konfigurasikan untuk akses Internet. This differs for every ISP. Ini berbeda untuk setiap ISP. I have a cable Internet connection and a static IP address, so for Protocol I am choosing 'static'. Aku punya kabel koneksi internet dan sebuah alamat IP statis, jadi untuk Protokol I am memilih 'statis'. Then I enter my IP address, Netmask and Gateway. Lalu aku memasukkan alamat IP, Netmask dan Gateway. Now choose eth1 from the "Device Selected" list and configure this one for internal LAN access. Sekarang pilih eth1 dari "Device Selected" daftar dan mengkonfigurasi ini akses LAN internal. My network uses 192.168.0.x. Jaringan saya menggunakan 192.168.0.x. Your network might be different. Jaringan Anda mungkin berbeda. Enter a subnet mask that is the same as all other computers in your network. Masukkan subnet mask yang sama dengan semua komputer lain di jaringan anda. We will soon configure our server to share the Internet connection with the LAN. Kami akan segera mengkonfigurasi server kami untuk berbagi koneksi internet dengan LAN. This way your entire LAN is 'behind' the Mandrake server and all Internet traffic will go through the Mandrake. Dengan cara ini seluruh LAN adalah 'di belakang' di Mandrake server dan semua lalu lintas Internet akan masuk melalui Mandrake. This is good because you can then install a firewall. Ini baik karena Anda dapat menginstal firewall.

If everything went well, you should now have Internet access. Jika semuanya berjalan lancar, anda seharusnya sudah memiliki akses internet. We will now switch to command-line mode. Sekarang kita akan beralih ke modus baris perintah. Press CONTROL+ALT+1. Tekan CONTROL + ALT +1. Your screen should now show "Login:". Layar Anda seharusnya sekarang menampilkan "Login:". Enter 'root' and press enter. Masukkan 'root' dan tekan enter. Then enter your root password. Kemudian masukkan password root anda. You should be logged in now and see something like "[root@yourhostname root]#" Anda harus login sekarang dan melihat sesuatu seperti "[root @ yourhostname root] #"

Before we continue, go to another computer in your network and try pinging the server's internal IP. Sebelum kita melanjutkan, pergi ke komputer lain di jaringan anda dan coba ping server IP internal. I gave my server an IP of 192.168.0.1. Aku memberikan server saya IP dari 192.168.0.1. If you are getting replies, then that is great :-). Jika mendapatkan balasan, maka itu hebat :-).

Every time you need to install a package, it is easiest to use 'urpmi'. Setiap kali anda perlu menginstal sebuah paket, paling mudah untuk menggunakan 'urpmi'. 'urpmi' is a tool that allows you to install packages easily and it also takes care of dependencies. 'urpmi' adalah alat yang memungkinkan Anda untuk menginstal paket mudah dan juga menangani dependensi. By default, urpmi uses files that are on your Installation CDs. Secara default, urpmi menggunakan file yang ada di CD Instalasi anda. However, we want the newest versions, so we are going to configure urpmi to automatically download files from the Internet. Namun, kami ingin versi terbaru, jadi kita akan mengkonfigurasi urpmi untuk secara otomatis men-download file dari Internet. Go to http://easyurpmi.zarb.org and check the 3 boxes under "1)Core distribution". Pergi ke http://easyurpmi.zarb.org dan memeriksa 3 kotak di bawah "1) Core distribusi". In each of the drop down lists, choose a mirror that is closest to your physical location. Pada masing-masing daftar drop-down, pilih mirror yang terdekat dengan lokasi fisik Anda. For example, if you live in Europe, don't choose an Australian mirror. Sebagai contoh, jika Anda tinggal di Eropa, tidak memilih cermin Australia. Scroll down when you've done that and click 'Proceed to step 3'. Gulir ke bawah ketika Anda telah melakukan itu dan klik 'Lanjutkan ke langkah 3'. Now 3 commands should show up, each of them starting with urpmi.addmedia. Sekarang 3 perintah harus muncul, masing-masing dimulai dengan urpmi.addmedia. On the server, first run the command 'urpmi.removemedia -a'. Pada server, pertama menjalankan perintah 'urpmi.removemedia-a'. This removes all urpmi media, which currently are your CDs. Ini akan menghapus semua media urpmi, yang saat ini adalah CD Anda. When you do this you won't have to insert any CD into your system anymore. Ketika Anda melakukan ini anda tidak perlu memasukkan CD ke dalam setiap sistem anda lagi. Now enter the 3 commands and press enter. Sekarang masukkan perintah 3 dan tekan enter. Each command might take a while to run because it will download package lists from the net, these can be up to 30MB. Setiap perintah mungkin memerlukan waktu untuk lari karena akan mendownload daftar paket dari internet, ini dapat mencapai 30MB. When you are done, be happy. Ketika anda selesai, akan bahagia. :-> : ->

Now we are going to install SSHd. Sekarang kita akan menginstal sshd. This allows us to connect to our server from anywhere in the world with an ssh client and run commands just as if we had physical access. Hal ini memungkinkan kita untuk melakukan koneksi ke server kami dari mana saja di dunia dengan ssh klien dan menjalankan perintah sama seperti jika kita memiliki akses fisik. Type 'urpmi openssh-server' and press enter. Ketik 'urpmi openssh-server' dan tekan enter. Wait for the packages to be downloaded and installed. Tunggu paket-paket yang akan didownload dan diinstal. After that run 'service sshd start' to start it up. Setelah itu jalankan 'layanan sshd start "untuk memulai itu. That's all there is to it ;-). Itu saja yang ada untuk itu ;-). Note: if you want to enable user 'root' to be able to log in through ssh, type 'vim /etc/ssh/sshd_config' and find "PermitRootLogin no". Catatan: jika anda ingin mengaktifkan user 'root' untuk dapat log in melalui ssh, ketik 'vim / etc / ssh / sshd_config' dan cari "PermitRootLogin no". Change the no to yes by pressing 'i' to enable insert mode, and then remove no and write yes. Mengubah tidak untuk ya dengan menekan 'i' untuk mengaktifkan modus insert, dan kemudian menghapus tidak dan menulis ya. Save by pressing Escape (to exit insert mode) then type ':wq' and press enter. Simpan dengan menekan Escape (untuk keluar dari modus insert) kemudian ketik ': wq' dan tekan enter. This saves and quits the editor. Hal ini menghemat dan berhenti editor. To enable the changes you just made to sshd, type 'service sshd restart'. Untuk mengaktifkan perubahan yang Anda buat ke sshd, ketik 'pelayanan sshd restart'. This restarts sshd and applies the new configuration. Ini me-restart sshd dan menerapkan konfigurasi baru.

Now we will install iptables to enable Internet sharing. Sekarang kita akan menginstal iptables untuk mengaktifkan Internet sharing. Just type 'urpmi iptables', press enter and wait. Cukup ketik 'urpmi iptables ", tekan enter dan tunggu.

Now type "vim /etc/rc.d/rc.firewall-2.4". Sekarang ketik "vim / etc/rc.d/rc.firewall-2.4". To start adding data, press 'i' . Untuk mulai menambahkan data, tekan 'i'. This enables 'insert mode' so you can type text. Hal ini memungkinkan 'modus insert', sehingga Anda dapat mengetik teks. Now put all the data from ( http://www.sebszhost.com/rc.firewall-2.4 ) file in there. Sekarang meletakkan semua data dari (http://www.sebszhost.com/rc.firewall-2.4) file di sana. Then press ':wq' and press enter. Lalu tekan ': wq' dan tekan enter. This saves the file and quits. Ini akan menyimpan file dan berhenti. Now type "chmod +x /etc/rc.d/rc.firewall-2.4" that makes the file executable. Sekarang ketik "chmod + x / etc/rc.d/rc.firewall-2.4" yang membuat file executable. Now write "vim /etc/rc.d/init.d/firewall-2.4" and put the data from this file ( http://www.sebszhost.com/firewall-2.4 ) in there. Sekarang menulis "vim / etc/rc.d/init.d/firewall-2.4" dan memasukkan data dari file ini (http://www.sebszhost.com/firewall-2.4) di sana. Save the file (:wq) and make it executable (chmod +x /etc/rc.d/init.d/firewall-2.4). Simpan file (: wq) dan membuatnya dieksekusi (chmod + x / etc/rc.d/init.d/firewall-2.4). This file will enable Internet sharing! File ini akan memungkinkan pembagian akses Internet! Type /etc/rc.d/rc.firewall-2.4 and press enter. Type / etc/rc.d/rc.firewall-2.4 dan tekan enter. You should get a couple of messages, and when it is done you should be able to access the Internet on PCs in your LAN. Anda akan mendapat beberapa pesan, dan jika dilakukan anda akan dapat mengakses Internet pada PC di LAN Anda. Make sure you configure the LAN PCs to have the same subnet mask as the server, an IP in the same range (if server is 192.168.0.1, make the clients 192.168.0.2, 192.168.0.3, etc.), and their gateway should be set to the server's IP (for me, 192.168.0.1). Pastikan anda mengkonfigurasi PC LAN memiliki subnet mask yang sama sebagai server, sebuah IP dalam rentang yang sama (jika server 192.168.0.1, membuat klien 192.168.0.2, 192.168.0.3, dll), dan mereka harus gateway ditetapkan ke server IP (untuk saya, 192.168.0.1). If that works, well done! Jika yang bekerja, well done!

Install FTP Server: "urpmi proftpd", "vim /etc/proftpd.conf", change servername, uncomment "#DefaultRoot ~" by removing the #. Install FTP Server: "urpmi proftpd", "vim / etc / proftpd.conf", perubahan namaserver, tanda komentar "# DefaultRoot ~" dengan menghilangkan #. Save, and run "service proftpd start"/ Menyimpan, dan menjalankan "layanan proftpd start" /

Install Apache Server: "urpmi apache2", choose "Y" when it asks "Is this OK?" Install Apache Server: "urpmi apache2", pilih "Y" ketika itu bertanya "Apakah ini OK?"
1. 1. "vim /etc/httpd/conf/httpd2.conf" and add this at the bottom for every virtual host you want: "vim / etc/httpd/conf/httpd2.conf" dan tambahkan ini di bagian bawah setiap virtual host yang anda inginkan:

NameVirtualHost yourip NameVirtualHost yourip

ServerName yourdomain.com ServerName yourdomain.com
ServerAlias www.yourdomain.com Server www.yourdomain.com
ServerPath /home/ ServerPath / home /
DocumentRoot /home/user/public_html DocumentRoot / home / user / public_html


Substitute yourip with your external ip address, such as 213.165.180.111. Gantikan yourip dengan alamat ip eksternal, seperti 213.165.180.111. Substitute yourdomain.com with the domain you want to host on the server. Gantikan yourdomain.com dengan domain yang Anda ingin meng-host pada server. Let's say your domain is called freefood.com. Misalkan domain anda disebut freefood.com. Then there would be a user called freefood on your system in /home/freefood/. Kemudian akan ada user baru bernama freefood di sistem anda di / home / freefood /. In there is a directory called public_html, all Internet files go in that directory. Di sana adalah sebuah direktori bernama public_html, semua file internet masuk ke dalam direktori tersebut. The world can then access the files by going to www.freefood.com . Dunia dapat mengakses file dengan pergi ke www.freefood.com. Make sure you have configured your domain name to point at your IP address. Pastikan Anda telah mengkonfigurasi nama domain anda ke titik di alamat IP anda. If you have questions, email me. Jika Anda memiliki pertanyaan, email saya.

To create a user, we run "adduser username". Untuk membuat user, kita menjalankan "adduser namauser". Then you type "passwd username" and you will then have to enter his password twice. Kemudian kamu mengetikkan "passwd username" dan Anda akan perlu memasukkan password-nya dua kali. Now a directory has been created, /home/username. Sekarang direktori telah dibuat, / home / username. I am sure you have some questions, just email me. Saya yakin Anda memiliki beberapa pertanyaan, hanya email me.

Install MySQL: "urpmi mysql", then choose "1", then choose "1", and then choose "y". Instal MySQL: "urpmi mysql", lalu pilih "1", kemudian pilih "1", dan kemudian pilih "y". This will install a lot of things, be patient. Ini akan menginstal banyak hal, bersabarlah.

Install PHP: "urpmi apache2-mod_php", then choose "Y" when it asks "Is this OK?" Instal PHP: "urpmi apache2-mod_php", kemudian pilih "Y" ketika itu bertanya "Apakah ini OK?"
1. 1. "urpmi php-cli" for command line php "urpmi php-cli" untuk baris perintah php
2. 2. "urpmi php-mysql" to use mysql in php "urpmi php-mysql" untuk menggunakan mysql di php

Install Perl: "urpmi perl", then choose "Y" when it asks "Is this OK?" Instal Perl: "urpmi perl", kemudian pilih "Y" ketika itu bertanya "Apakah ini OK?"

Now run "service httpd start" to start apache. Sekarang jalankan "service httpd start" untuk memulai apache. You can now test your websites. Anda sekarang dapat menguji situs web Anda. If you haven't uploaded any data yet, connect with an ftp client to your server on port 21. Jika anda belum meng-upload data apapun lagi, terhubung dengan sebuah klien FTP ke server pada port 21. Enter a username and password (make sure to create the user with adduser username, like I described above). Masukkan username dan password (pastikan untuk membuat pengguna dengan adduser namauser, seperti dijelaskan di atas). When you are logged in, create a folder called 'public_html' and upload your files in there. Ketika Anda log in, ciptakan sebuah folder bernama 'public_html' dan meng-upload file Anda di sana. Your website should now work. Website Anda sekarang harus bekerja. You can also test websites using http://yourip/~username/ . Anda juga dapat menguji situs web menggunakan http://yourip/ ~ username /.

Install Webmin: Install Webmin:
Webmin allows you to configure your server through web-based configuration website. Webmin memungkinkan Anda untuk mengkonfigurasi server Anda melalui konfigurasi berbasis web situs web. Run "urpmi webmin" and choose "Y". Jalankan "urpmi webmin" dan pilih "Y". Then run "service webmin start" to start webmin. Kemudian jalankan "layanan webmin start" untuk memulai webmin. You can now go to "https://www.hostnameorip.com:10000". Anda dapat pergi ke "https: / / www.hostnameorip.com:10000". Log in with root and your root password, and you can configure things and add users, etc. Log in dengan root dan password root anda, dan Anda dapat mengkonfigurasi hal-hal dan menambahkan pengguna, dll

If you want to be able to download files at command line, "urpmi wget" ;-) Jika Anda ingin dapat men-download file pada baris perintah, "urpmi wget" ;-)

Configure some MySQL: Mengkonfigurasi beberapa MySQL:
first start the mysql server, "service mysql start" pertama kali mysql server, "layanan mysql start"
then connect to the mysql server, "mysql -u root mysql" kemudian menyambung ke server mysql, "mysql-u root mysql"
type: SET PASSWORD FOR root@localhost=PASSWORD('yourrootpass'); and press enter. ketik: SET SANDI UNTUK root @ localhost = PASSWORD ( 'yourrootpass'); dan tekan enter. Then type quit and press enter. Kemudian ketik quit dan tekan enter.

Install PhpMyAdmin: Install PhpMyAdmin:
PhpMyAdmin is used to configure and maintain mysql databases and tables. PhpMyAdmin digunakan untuk mengkonfigurasi dan memelihara database dan tabel mysql. Download the source from phpMyAdmin choose the one that is .tar.gz, and put it in a directory on your server, such as /downloads. Download sumber dari phpMyAdmin memilih salah satu yang. Tar.gz, dan memasukkannya ke dalam sebuah direktori pada server Anda, seperti / download. Now run "tar -zxvf phpMyAdmin-2.xxtar.gz". Sekarang jalankan "tar-zxvf phpMyAdmin-2.xxtar.gz". Now create a directory where you want phpMyAdmin to go, such as "mkdir /home/user/public_html/phpmyadmin/" then run "mv phpMyAdmin-2.xx/* /home/user/public_html/phpmyadmin/ -f". Sekarang ciptakan direktori di mana Anda ingin phpMyAdmin untuk pergi, seperti "mkdir / home / user / public_html / phpmyadmin /" kemudian jalankan "mv phpMyAdmin-2.xx / * / home / user / public_html / phpmyadmin /-f". Now we will edit the configuration file. Sekarang kita akan mengedit file konfigurasi. Go into the directory where phpmyadmin is now, and write "vim config.inc.php". Masuklah ke direktori di mana sekarang phpmyadmin, dan menulis "vim config.inc.php". In the file where it says "$cfg['PmaAbsoluteUri'] = '';", between the ' ' write the path to the directory where you can access phpMyAdmin, for example http://www.yourdomain.com/phpMyAdmin/ . Dalam file di mana dikatakan "$ cfg [ 'PmaAbsoluteUri'] ='';", antara '' menuliskan path ke direktori di mana Anda dapat mengakses phpMyAdmin, misalnya http://www.yourdomain.com/phpMyAdmin/ . Now find "auth_type" and change it from 'config' to 'http'. Sekarang cari "auth_type" dan mengubahnya dari 'config' ke 'http'. A bit lower, where it says 'controluser' and 'controlpass' and enter here for user, root and for password the one you specified above (mysqlrootpass). Sedikit lebih rendah, di mana dikatakan 'controluser' dan 'controlpass' dan masukkan di sini untuk user, root dan password yang Anda tentukan di atas (mysqlrootpass).
Now you can access phpmyadmin by going to http://www.yourdomain.com/phpmyadmin/ . Sekarang Anda dapat mengakses phpmyadmin dengan pergi ke http://www.yourdomain.com/phpmyadmin/. You will be asked for a username and password, enter the ones you entered above and you can create a new user. Anda akan diminta untuk username dan password, masukkan yang anda masukkan di atas dan Anda dapat membuat user baru. Don't log in with root, it is better if you log in with a new user and giving that user administrator permissions. Jangan login dengan root, akan lebih baik jika anda log in dengan user baru dan memberikan user hak akses administrator.

Install AwStats: Install AWStats:
AwStats provides a lot of statistics about your http server, but can also be used to analyze ftp and mail logs. AWStats menyediakan statistik banyak tentang server http anda, tetapi juga dapat digunakan untuk menganalisis log ftp dan mail. AwStats will show you bandwidth usage, what webpages are accessed most often and much more. AWStats akan menunjukkan penggunaan bandwidth, apa halaman web yang diakses paling sering dan banyak lagi. Type "urpmi awstats". Ketik "urpmi awstats". Now enter "vim /etc/awstats/awstats.conf". Sekarang masukkan "vim / etc / awstats / awstats.conf". Scroll down checking if everything looks alright. Gulir ke bawah memeriksa apakah semuanya tampak baik-baik saja. When you find DNSLookup=2, change it to DNSLookup=1. Bila Anda menemukan DNSLookup = 2, ubah ke DNSLookup = 1. Now near the bottom in the Plugins section, you should find "#LoadPlugin="geoipfree"". Sekarang di dekat bagian bawah di bagian Plugins, Anda harus mencari "# LoadPlugin =" geoipfree "". Uncomment this to use the GeoIPFree plugin. Tanda komentar ini menggunakan plugin GeoIPFree. This plugin will show you what country the user is coming from. Plugin ini akan menampilkan negara mana pengguna berasal. Now we need to install the plugin. Sekarang kita perlu menginstal plugin. Run "perl -eshell -MCPAN" . Jalankan "perl-eshell-MCPAN". Because it is the first time we are running CPAN, it will ask us a load of questions. Karena ini adalah pertama kali kita menjalankan CPAN, ia akan meminta kami beban pertanyaan. Press enter for all of them, until you see a list of Continents. Tekan enter untuk mereka semua, sampai Anda melihat daftar Benua. You need to choose the continent you are in by typing the number in front of it, then choose a nearby country. Anda harus memilih benua anda berada di dengan mengetikkan nomor tersebut di depannya, kemudian pilih negara terdekat. Then you get a list of mirrors, just choose one by typing its number and pressing enter. Maka anda mendapatkan daftar mirror, hanya pilihlah salah satu dengan mengetik jumlah dan menekan enter. Then type ENTER again. Kemudian, ketik ENTER lagi. Now you should see "cpan>" type "install Geo::IPfree" and press enter. Sekarang Anda akan melihat "CPAN>" ketik "install Geo:: IPfree" dan tekan enter. This will install the plugin. Ini akan menginstal plugin. Type quit to exit CPAN. Ketik quit untuk keluar CPAN. Now we need to update our awstats database, because it needs to analyze the apache log file. Sekarang kita perlu memperbarui database awstats kami, karena itu perlu menganalisis file log apache. This is done once a day automatically, but we want to do it manually now. Hal ini dilakukan sekali dalam sehari secara otomatis, tapi kami ingin melakukannya secara manual sekarang. Go to /var/www/cgi-bin. Pergi ke / var / www / cgi-bin. Then type "perl awstats.pl -config=hostname -update". Kemudian ketik "awstats.pl perl-config = hostname-update". This will generate the database. Hal ini akan menghasilkan database. If you now go to your main hostname like this: http://www.hostname.com/cgi-bin/awstats.pl , you will see your stats. Jika Anda sekarang pergi ke hostname utama Anda seperti ini: http://www.hostname.com/cgi-bin/awstats.pl, Anda akan melihat statistik Anda. ;-) ;-)

Install PhpSysInfo: Install PhpSysInfo:
PhpSysInfo can list a lot of information about your system, from things like your processor to memory usage and disk usage. Daftar PhpSysInfo dapat banyak informasi tentang sistem anda, dari hal-hal seperti prosesor Anda untuk penggunaan memori dan penggunaan disk. It is also possible to show your hardware's temperature and it also shows the operating system. Hal ini juga dapat menunjukkan suhu hardware anda dan ia juga menampilkan sistem operasi. Download it from here and get the .tar.gz file. Download dari sini dan mendapatkan. Tar.gz file. Put it on your server in the /downloads folder. Letakkan di server Anda di / downloads folder. Now run "tar zxvf phpsysinfo-2.xxtar.gz" and then create a directory somewhere that is accessible from the Internet where you want the information to be accessible. Sekarang jalankan "tar zxvf phpsysinfo-2.xxtar.gz" dan kemudian membuat direktori di suatu tempat yang dapat diakses dari Internet di mana Anda ingin informasi agar dapat diakses. Then move all data inside the phpsysinfo-dev/ folder to that folder: "mv phpsysinfo-dev/* /home/user/public_html/phpsysinfo/ -f". Kemudian memindahkan semua data di dalam phpsysinfo-dev / folder untuk folder itu: "mv phpsysinfo-dev / * / home / user / public_html / phpsysinfo /-f". Now go to that directory and run "mv config.php.new config.php" to rename the config file. Sekarang, masuklah ke direktori tersebut dan jalankan "config.php.new mv config.php" untuk mengubah nama file konfigurasi. Now run vim config.php and change any settings you would like to change. Sekarang jalankan vim config.php dan mengubah pengaturan yang ingin Anda ubah. The default settings will also work. Pengaturan standar juga akan bekerja. Before phpsysinfo works, you need to restart apache. Sebelum phpsysinfo bekerja, anda perlu me-restart apache. Go ahead, "service httpd restart". Go ahead, "service httpd restart". Now you can go to http://www.yourhost.com/phpsysinfo/ . Sekarang Anda bisa pergi ke http://www.yourhost.com/phpsysinfo/. Most likely you will get an error saying phpsysinfo needs an xml module. Kemungkinan besar anda akan mendapatkan error mengatakan membutuhkan xml phpsysinfo modul. Run "urpmi php-xml" and it will be installed. Jalankan "urpmi php-xml" dan itu akan diinstal. Restart apache again and phpsysinfo will work. Restart apache lagi dan phpsysinfo akan bekerja.

Installing qmail with secure SMTP and multiple domains and users Instalasi qmail dengan aman SMTP dan beberapa domain dan pengguna

qmail is a good mail server that you can use on your mandrake server. qmail adalah mail server yang baik yang dapat Anda gunakan pada server mandrake. Follow every step and it should work: Ikuti setiap langkah dan harus bekerja:

There is no point in me repeating what someone else has done very well. Tidak ada gunanya saya mengulangi apa yang orang lain telah dilakukan dengan baik. Please all visit Bill's Linux qmail Toaster ( http://www.shupp.org/toaster/ ) and follow his instructions. Silakan semua kunjungi Bill's Linux qmail Toaster (http://www.shupp.org/toaster/) dan mengikuti instruksi. I will do the same right now, and any problems I encounter I will list right here: Aku akan melakukan hal yang sama sekarang ini, dan setiap masalah yang saya hadapi saya akan daftar di sini:

Problem #1: Make sure you run these commands before starting the tutorial: Soal # 1: Pastikan Anda menjalankan perintah ini sebelum memulai tutorial:
1. 1. urpmi gdbm urpmi gdbm
2. 2. urpmi gdbm-devel urpmi gdbm-devel
3. 3. urpmi openssl-0.9 urpmi openssl-0.9
4. 4. urpmi openssl-devel urpmi openssl-devel
5. 5. urpmi stunnel urpmi stunnel
6. 6. urpmi krb5-devel krb5-devel urpmi

If you get a message saying it is already installed, that is alright. Jika Anda mendapatkan pesan yang mengatakan sudah terpasang, yang baik-baik saja. Just make sure you install the rest. Pastikan anda menginstal sisanya.

That concludes this how-to. Menyimpulkan bahwa ini how-to. I just followed the entire tutorial on my test server, and everything worked fine and it took me exactly 2 hours, 4 minutes and 43 seconds! Aku hanya mengikuti seluruh tutorial di tes server, dan semuanya bekerja dengan baik dan itu membawa saya tepat 2 jam, 4 menit dan 43 detik! To give you an idea, the Mandrake 10.1 installation, formatting harddisks, etc. took only a total of 11 minutes! Untuk memberikan ide, yang 10,1 Mandrake instalasi, format Harddisks, dll hanya mengambil total dari 11 menit! Configuring linux is a lengthy process, and you probably did not finish it in 2 hours. Konfigurasi linux merupakan proses yang panjang, dan Anda mungkin tidak selesai dalam 2 jam. Hopefully you managed to get it to work, if not, please email me@sebsz.com and I will answer every question you have. Mudah-mudahan Anda berhasil mendapatkannya bekerja, jika tidak, silahkan email me@sebsz.com dan Aku akan menjawab setiap pertanyaan yang Anda miliki.


0 komentar: