freebsd

  • Le fichier choisi /tmp/filezByLW3 n'a pas pu être transféré, car le répertoire de destination sites/default/files/languages/fr_2370b7c49f7ae8e1d8273bb3c2759eab.js n'est pas correctement configuré.
  • Le fichier choisi /tmp/filejuHu4t n'a pas pu être transféré, car le répertoire de destination sites/default/files/languages/fr_2370b7c49f7ae8e1d8273bb3c2759eab.js n'est pas correctement configuré.
  • Le fichier choisi /tmp/filevAg2iU n'a pas pu être transféré, car le répertoire de destination sites/default/files/languages/fr_2370b7c49f7ae8e1d8273bb3c2759eab.js n'est pas correctement configuré.

Installing a LAMP(Apache 2.2, MySQL 5.0.27, PHP 5.2)server On FreeBSD

Installing and configurating Apache 2.2

Installing Apache 2.2


First make sure your port tree is up to date with portsnap and update them with portmanager if they:
[root@www ~]# portsnap update
Ports tree is already up to date.
[root@www ~]# portmanager -u
Now install Apache with portmanager:
[root@www ~]# portmanager www/apache22

Configurating Apache 2.2

Starting ang stopping Apache 2.2

[root@www ~]# /usr/local/sbin/apachectl -k start
[root@www ~]# /usr/local/sbin/apachectl -k stop

Changing the default editor in FreeBSD

To change your default editor, create and edit the file called .bash_profile in the /root directory:
Edit the EDITOR variable.
  1. # .bash_profile
  2. # Get the aliases and functions
  3.  
  4. if [ -f ~/.bashrc ]; then
  5. . ~/.bashrc
  6. fi
  7.  
  8. # User specific environment and startup programs
  9.  
  10. PATH=$PATH:$HOME/bin
  11.  
  12. export PATH
  13. unset USERNAME
  14. export EDITOR=nano

Changing the default shell in FreeBSD

To change the default shell you can just type this:
  1. [root@www ~]# chsh -s /usr/local/bin/bash
Or just type chsh and edit it:
  1. #Changing user information for root.
  2. Login: root
  3. Password: $1$guOOMnQb$/hC8LRJUNUPAA7buETDc4.
  4. Uid [#]: 0
  5. Gid [# or name]: 0
  6. Change [month day year]:
  7. Expire [month day year]:
  8. Class:
  9. Home directory: /root
  10. Shell: /usr/local/bin/bash
  11. Full Name: Charlie &
  12. Office Location:
  13. Office Phone:
  14. Home Phone:
  15. Other information:
Syndiquer le contenu