Skip to main content
Home
Paul's Linux Box

Main navigation

  • Home
  • Contact
  • Privacy Policy
User account menu
  • Log in
By Paulus, 31 August, 2010

Showing Hidden Files in ProFTPD

Files that begin with a . (dot) are technically hidden and don't show up in FTP clients such as FileZilla. To get get .htaccess files to show up alone with other hidden files add the following to the <Global> sections:

ListOptions "-la"
  • Read more about Showing Hidden Files in ProFTPD
By Paulus, 10 August, 2010

Retrieving Web Users and Passwords from Plesk

To get a list of uid's and passwords for web users run the following query:

SELECT su.login AS "Web User", a.password AS "Password"
FROM web_users AS wu
JOIN sys_users AS su ON wu.sys_user_id = su.id
JOIN accounts AS a ON su.account_id = a.id
JOIN domains AS d ON wu.dom_id = d.id
WHERE d.name="domain.tld"
  • Read more about Retrieving Web Users and Passwords from Plesk
By Paulus, 9 August, 2010

Plesk Disk Limit not Affected by User Interaction

Problem

Plesk states that the domain's alloted disk space is unlimited by when attempting to upload files, an error is thrown stating the quota has been reached.

  • Read more about Plesk Disk Limit not Affected by User Interaction
By Paulus, 6 August, 2010

Java Observer Pattern

The best way to think about the Observer Design pattern is to think of it as "You are observing something. When what you are watching does something, you react to it."  This is also sometimes called a publish-subscribe relationship. The comments in the story help put what's going on in perspective. The interfaces aren't necessary.

  • Read more about Java Observer Pattern
By Paulus, 21 July, 2010

Installing and Updating Plesk SSL Certificate

When Plesk is installed, a self-signed SSL certificate is generated which will expire in a year is generated and used for when you access the Plesk control panel. This is all fine and dandy. However, when people go to example.com:8443 they will receive a warning message about the certificate. 

Using www.example.com we want to access Plesk and have a certificate that has been signed by a trusted authority. 

  • Read more about Installing and Updating Plesk SSL Certificate
By Paulus, 15 July, 2010

Resetting Locked Modx Account

If you can't remember what password you used to login into your modx site and got locked out, you don't need to wait until the system unblocks you from any further attempts.

  • Read more about Resetting Locked Modx Account
By Paulus, 12 July, 2010

Migrating Plesk Accounts from One Server to Another

Procedure

  1. Create a backup of the account that you want to migrate for testing purposes:
    1.  Login to the server via ssh
    2. Get the user account that you want to backup, for example paulusworldadmin. 
    3. To backup a user account with all data:

      # /usr/local/psa/bin/pleskbackup clients paulusworldadmin /path/to/backup

  • Read more about Migrating Plesk Accounts from One Server to Another
By Paulus, 11 June, 2010

Removing Fields from Webform Confirmation Email

Scenario

Client wants to have Webform send out a confirmation email to the user who fills out a form.

  • Read more about Removing Fields from Webform Confirmation Email
By Paulus, 5 June, 2010

Debugging PHP Sites with Netbeans and XDebug

Prequesists and Assumptions

This HowTo/Tutorial assumes the following you have:

  • Basic Knowledge of Gentoo or Fedora (ie, installing and editing files)
  • Working local Apache Server with basic knowledge of said server
  • General knowledge of Netbeans
  • Netbeans installed

The following is requred:

  • Read more about Debugging PHP Sites with Netbeans and XDebug
By Paulus, 27 May, 2010

Logging out Other Users

There's been times that I forget to log off my computer at work. I do have the ability to VPN into the office and ssh into my box. From there I can log myself out:

Find out which terminal I forgot to log myself out of:

# who

Kill the terminal I'm logged in at, if I am logged in at pts/0, then I would issue the following command:

  • Read more about Logging out Other Users

Pagination

  • First page
  • Previous page
  • …
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Current page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • …
  • Next page
  • Last page

Recent content

  • ZFS - Part 1
    1 year ago
  • Upgrading Debian
    1 year ago
  • SMART Alerts with msmtp and curl
    1 year ago
  • Debugging Laravel Apps with Laradock and XDebug
    1 year 11 months ago
  • Sending HTTP Requests Through a Proxy in Laravel
    1 year 11 months ago
  • Setting up a Kubernetes Cluster
    2 years 3 months ago
  • Mounting Raw Disk Images
    2 years 7 months ago
  • Updating Gentoo
    2 years 7 months ago
  • Consuming Web Services
    3 years ago
  • Borg Backup
    3 years 10 months ago
RSS feed
Powered by Drupal