Category: BSD

  • Cron Job

    Crontab – Configure CronJob # crontab -e   A crontab file has five fields for specifying day , date and time followed by the command to be run at that interval. * * * * * command to be executed – – – – – | | | | | | | | | +—–…

  • ClearOS LDAP Failed To Start

    There are a few steps you can take to recover from a corrupt LDAP database. These have been scattered around the forums a bit – but can be summarised below Backup your existing LDAP database:- (do this routinely!, it is done as part of the ClearCenter Remote Server Backup configuration, so recommend using this service…

  • RSYNC Via SSH

    dari sumber nya lebih lengkap, silahkan cek sendiri Begini bro caranya :   rsync -avz -e ssh /home/kinan/ [email protected]:/backup/kinan/   asumsi : ssh sudah bisa dilakukan dari client ke server.

  • Nginx or Apache

    Dari beberapa kejadian penggunaan web server untuk server blog Sangat direkomendasikan menggunakan Nginx Apache lebih berat jika dibandingkan Nginx, dan hampir Nginx sangat stable.   mari belajar konfig Nginx : http://bin63.com/how-to-install-nginx-and-php-fpm-on-freebsd     Terima Kasih

  • Apache logs too big. Filesystem full

    Error this occured when filesystem full, and some services can’t run very well. all can we do, is to remove some big files. example in directory /var/log/*or. just run “echo > /var/log/httpd_error.log”; finish, no need to shutdown your apache services.  

  • Compress a Whole Linux or UNIX Directory

    i found this in the internet. This Tutorial compress a whole linux or UNIX Directory. You need to use tar command as follows (syntax of tar command): tar -zcvf archive-name.tar.gz directory-name Where, -z: Compress archive using gzip program -c: Create archive -v: Verbose i.e display progress while creating archive -f: Archive File name sumber :…

  • Transfer File using SCP

    when error occured in your system linux, and then you need to recovery from safe mode or from live cd. sometimes you need to transfer from safe mode or live cd to other computer. this command show you, how to transfer to other Unix system. SCP [file location need you backup] [usernameTargetServer]@[IPAddressTarget]:[locationOnTheTargetServer] example : scp…

  • Setting NAT Client

    route delete default gw 10.xx.xx.xx   -> delete default gw route add default gw 10.xx.xx.xxx    -> add default gw ke NAT route add -net 10.0.0.0/8 gw 10.xx.xx.xx  -> add net dari default gw.

  • Configure SNMP

    root@molly:~#snmpconf -g basic_setup The following installed configuration files were found: 1: ./snmpd.conf Would you like me to read them in? Their content will be merged with the output files created by this session. Valid answer examples: “all”, “none”,”3″,”1,2,5″ Read in which (default = all): none ************************************************ *** Beginning basic system information setup *** ************************************************ Do…

  • BSD PHP-Mysqli

    /usr/ports/databases/php5-mysqli/make deinstall /usr/ports/databases/php5-mysqli/make install clean php -m > grep mysqli /usr/local/etc/php/extensions.ini extension=mysqli.so ittelkom.ac.id