How to install Mysql on Ubuntu Server

On 22 April 2015, in Mysql, Ubuntu, by Himselff
  • sudo apt-get install mysql-server
  • mysql -uroot -p
    • Enter the password
  • grant all on *.* to “root”@”%” identified by “ThePasswordHere” with grant option;
  • exit
  • sudo nano /etc/mysql/my.cnf
  • Modify the line where it says listen to 127.0.0.1 , with your IP
Tagged with:  
  • Extract the installer
dpkg-deb -x myPackage.deb TempFolder
  • Extract Dependency list
dpkg-deb --control monPaquet.deb dossierTemporaire/DEBIAN
  • Edit dependency file
nano dossierTemporaire/DEBIAN/control
  • Re-bundle the installer
dpkg -b dossierTemporaire hacked.deb

Ref : http://ubuntuforums.org/showthread.php?t=110458

Tagged with:  

Sorry, this entry is only available in Français.

Tagged with:  
  • Type the following command to launch the install : “sudo apt-get install openssh-server”
  • The config file is right here if we need to tweek it : “/etc/ssh/sshd_config”
Tagged with:  

Change hostname on Ubuntu server

On 30 August 2011, in IT Procedure, Linux, Ubuntu, by Himselff

1. In your favorite text editor, edit the following file

/etc/hostname

2. Reboot and here we go

Tagged with: