prosoxi.com | Archive | Linux

Archive | Linux

Plesk Power Toys Cannot write to file (./tmp/send_password_html_admin.html)

Cannot write to file (./tmp/send_password_html_admin.html)

Please chmod 777 folder /usr/local/psa/admin/htdocs/powertoys/tmp/ and will work, we fixed in 4.5.0

Posted in Linux, Plesk0 Comments

[How To] Configuring AwStats to show which countries the visitors are coming from?

Resolution

By default AwStats does not show countries visitors are coming from. To enable this feature,  GeoIP plugin should be configured. Here is the information about this plugin from /etc/awstats/awstats.conf: Continue Reading

Posted in Linux, Plesk0 Comments

plesk 7-9 linux update stats

#update stats
/usr/local/psa/admin/sbin/statistics –-calculate-one –-domain-name=www.www.ww

Posted in Linux, Plesk0 Comments

Geoip filter awstat + plesk

STEP 1 – Download and install AWStats

  • login your server as root by Putty
  • change directory and download the archive by copy and paste in Putty Continue Reading
  • Posted in Linux, Plesk0 Comments

    How can I change permissions on my files? Linux

     

    How can I change permissions on my files?
    If you are using FTP software, there is usually a menu option or button that says “Change Permissions,” click this option. You have choices of R(read), W(write), and X(execute)*.If you are using a command line utility such as PuTTy, you need to use the “chmod” command.

    If you want to give read permissions, use the command: Continue Reading

    Posted in Linux0 Comments

    Linux / Unix and variant users delete files and folders

    Linux / Unix and variant users

    Files

    Linux / Unix users can delete files through the console by using the rm command. See this page for additional information about this command.

    Folders

    Linux / Unix users can delete folders through the console by using the rmdir command. See this page for additional information about this command.

    Like Microsoft Windows, Linux / Unix users can also delete files through the GUI by locating the file and pressing the delete key on the keyboard.

    Posted in Linux0 Comments

    nano basic commands

    1. Nano Basics

    Purpose

    This guide was written to cover basic operations in nano, and is meant to be very concise. For more information about nano check out: Continue Reading

    Posted in Linux0 Comments

    Linux move files – MV

    Name

    mv – move (rename) files Continue Reading

    Posted in Linux0 Comments

    Linux command Reboot – Restart linux

    Command Library
    NAME
    halt, reboot, poweroff – stop the system.
    SYNOPSIS
    /sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]
    /sbin/reboot [-n] [-w] [-d] [-f] [-i]
    /sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h]
    DESCRIPTION
    Halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot or poweroff the system.

    If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it’s running normally, shutdown will be invoked instead (with the -h or -r flag). For more info see the shutdown(8) manpage.

    The rest of this manpage describes the behaviour in runlevels 0 and 6, that is when the systems shutdown scripts are being run.
    OPTIONS

    -n
    Don’t sync before reboot or halt.
    -w
    Don’t actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).
    -d
    Don’t write the wtmp record. The -n flag implies -d.
    -f
    Force halt or reboot, don’t call shutdown(8).
    -i
    Shut down all network interfaces just before halt or reboot.
    -h
    Put all harddrives on the system in standby mode just before halt or poweroff.
    -p
    When halting the system, do a poweroff. This is the default when halt is called as poweroff.

    Posted in Linux0 Comments

    Install PHP PECL_HTTP Support

    pecl list-all

    pecl install pecl_http

    configuration option “php_ini” is not set to php.ini location
    You should add “extension=http.so” to php.ini

    Posted in Linux, Plesk0 Comments

    Install Curl on linux

    After the Mashed Museum day yesterday, I finally got in gear to see what the OpenCalais service could do to enrich the tags upon our blog post archives and forthcoming posts. To do this I used two separate plugins that have already been written and tested out by others (i’ll write about this in a separate post). However, to get this to work, I had to get the Curl library working on our main server (backup already functions) and to do this required a clean install of curl. So first off, I’ll be techie and explain how to get curl working on your linux box post installation of apache and PHP. Most of the articles I found talked about doing this prior to installing PHP. Continue Reading

    Posted in Linux0 Comments

    Install php-pear on linux

    APC,
    Alternate PHP Cache, is now the most maintained free/open source op-code cache, and is being used more and more as it emerges to be the
    most stable. Continue Reading

    Posted in Linux0 Comments

    Linux task manager like windows

    ‘ps’ actually only shows you the tasks started in that shell. To see all running tasks, use:

    Code:
    ps aux

    You can then use ‘kill PID’ or ‘killall <process-name>’. Note that the latter will, of course, end all instances of that application.

    Posted in Linux0 Comments

    Update Centos From SSh

    yum update

    Posted in Linux0 Comments

    Remove – Uninstall ASL Atomic Secure Linux

    1) vim /etc/yum.repos.d/asl.repo

    2) Delete all lines from file

    3)Save & quit  the doc :wq

    more command for VIM

    http://www.prosoxi.gr/2008/08/25/basic-vi-features-vim/

    Posted in Linux0 Comments

    Basic “vi” features VIM

    Basic “vi” features

    One edits a file in vi by issuing the command: vi file-to-edit.txt

    The vi editor has three modes, command mode, insert mode and command line mode.

    1. Command mode: letters or sequence of letters interactively command vi. Commands are case sensitive. The ESC key can end a command.
    2. Insert mode: Text is inserted. The ESC key ends insert mode and returns you to command mode. One can enter insert mode with the “i” (insert), “a” (insert after), “A” (insert at end of line), “o” (open new line after current line) or “O” (Open line above current line) commands.
    3. Command line mode: One enters this mode by typing “:” which puts the command line entry at the foot of the screen. Continue Reading

    Posted in Linux1 Comment

    Domain Name Finder, Lookup, Whois

    Domain Finder Tool by Truste.gr

    read more for domains

    Advertise

    Sponsors

    Wedstar all about wedding - gamos - γαμος
    Κατασκευή ιστοσελίδων
    Domain Names | Hosting